nagios check_hpjd problem with centos 5.3 x64

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
zorbuz
Posts: 1
Joined: 2009/05/15 09:01:05

nagios check_hpjd problem with centos 5.3 x64

Post by zorbuz » 2009/05/15 09:24:31

Problem is this:

openSuse:
[code]
nagios:~ # /usr/lib/nagios/plugins/check_hpjd -H 192.168.101.252 -C public
Printer ok - ("")
[/code]

Centos 5.3:
[code]
[root@Nag ~]# /usr/lib64/nagios/plugins/check_hpjd -H 192.168.101.252 -C public
: Timeout from host 192.168.101.252
[/code]

- works on opensuse box, fails on centos box.
- Both of them are (xenserver) virtual machines attached to same network.
- Both running nagios 3.0.6
- centos 5.3 (64bit). openSuse 11.1 (32bit)
- firewalls disabled (its not a network problem because printer is reachable from centos box)
- selinux disabled
- only check_hpjd gives me troubles, all other nagios plugins work just fine on centos box.

If theres any nagios users around, could you check if that plugin works ok on your (centos) system (was wondering if its a bug in nagios on centos x64)

EDIT: timeout on centos box is instant (looks like it doesnt even try to poll the printer).
EDIT2: Verified this with tcpdump. on opensuse box, packet is captured by tcpdump after check command is issued. On CentOS box, theres no network traffic after check_hpjd.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

nagios check_hpjd problem with centos 5.3 x64

Post by pschaff » 2009/05/15 12:45:23

If this is indeed a bug, please [url=http://bugs.centos.org/main_page.php]report[/url] it. Might have a look for it [url=https://bugzilla.redhat.com/]upstream[/url] as well. They even have CentOS on their selection list for external bugs, and helping RH find EL bugs helps show how CentOS contributes to their FOSS business model.

Welcome to the CentOS fora.

wolfteeth
Posts: 2
Joined: 2009/09/10 06:58:34

Re: nagios check_hpjd problem with centos 5.3 x64

Post by wolfteeth » 2009/12/11 06:45:10

I have the same issue on the CentoS5.3 + Nagios 3.2 + Check_hpjd would get Timeout from Host xxx.xxx.xxx.xxx...
not sure if anyone who have resolved this before or have any experience on this?

thanks in advance.

samsameer
Posts: 1
Joined: 2010/10/05 11:02:23

Re: nagios check_hpjd problem with centos 5.3 x64

Post by samsameer » 2010/10/05 11:04:58

I have the same issue on the CentoS5.3 + Nagios 3.2 + Check_hpjd would get Timeout from Host xxx.xxx.xxx.xxx...
not sure if anyone who have resolved this before or have any experience on this?

User avatar
TrevorH
Forum Moderator
Posts: 23213
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: nagios check_hpjd problem with centos 5.3 x64

Post by TrevorH » 2010/10/05 13:09:48

It appears that check_hpjd uses /usr/bin/snmpget internally. Do you have net-snmp-utils-5.3.2.2-9.el5_5.1 installed?

Post Reply