[Nagiosplug-help] problems with check_hpjd plugin
Donald A. McCallum
mccallum at nemsys.com
Mon Sep 23 08:11:03 CEST 2002
Another quick idea,
Do you have any other SNMP devices you can try? Perhaps 127.0.0.1?
I have not followed this thread from the beginning, so I hope I am not
suggesting something that has already been tried.
It would be helpful to know if the problem is with this particular
device, or with all SNMP checks.
-Don
-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
Sent: Monday, September 23, 2002 11:05 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] problems with check_hpjd plugin
On Mon, 23 Sep 2002, Anders Bruun Olsen wrote:
> On Mon, Sep 23, 2002 at 09:25:07AM -0400, Subhendu Ghosh wrote:
> > > > > I have an HP LaserJet 4100N that I would like to have Nagios
do status
> > > > > checks on, and it seems that the check_hpjd plugin is just the
right one
> > > > > to do this.
> > > > > However, this is the result I get when running the plugin:
> > > > > abo at gabriel /usr/local/nagios/libexec$ ./check_hpjd -H
admprinter -C communityname
> > > > > Timeout: No response from admprinter
> > > > > "admprinter" is a resolvable DNS entry and I have tried with
the IP with
> > > > > a similar result.
> > > > > I have upgraded it to the latest firmware and have enabled
SNMP via the
> > > > > webinterface on the printer.
> > > > > Any ideas on how to get this to work?
> > > > If you can ping the pointer - good
> > > Yes, I can ping it and print on it and access the embedded
webserver...
> > > > Is nagios on the ACL for SNMP access and is the community name
correct?
> > > the ACL for the printer.. how do I do that?
> > If you have telnet access to the Jetdirect card - there is a TCP/IP
access
> > control menu option.
>
> Okay, found it and have now added the IP of the machine I have nagios
> on.
>
> > Also you might want to check if snmp is enabled.
> > try running "snmpwalk -v1 -c community printername system " on the
> > commandline.
>
> root at gabriel /usr/local/nagios/libexec# snmpwalk -v1 -c itdrift
> admprinter system
> SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM
> L.20.07,JETDIRECT,JD84,EEPROM L.22.09,CIDATE 01/17/2002
> SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.11.2.3.9.1
> SNMPv2-MIB::sysUpTime.0 = Timeticks: (34764480) 4 days, 0:34:04.80
> SNMPv2-MIB::sysContact.0 = STRING:
> SNMPv2-MIB::sysName.0 = STRING: NPI340174
> SNMPv2-MIB::sysLocation.0 = STRING:
> SNMPv2-MIB::sysServices.0 = INTEGER: 64
>
>
> But "check_hpjd -H admprinter -C itdrift" still returns:
> Timeout: No response from admprinter
>
> What else could be wrong?
>
>
could you run check_hpjd under truss/strace to see if it is actually
running the snmpget command?
Also if you could run "tcpdump port 161" to see if any snmp packets are
being generated.
--
-sg
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
More information about the Help
mailing list