[Nagiosplug-help] problems with check_hpjd plugin

Donald A. McCallum mccallum at nemsys.com
Mon Sep 23 08:09:01 CEST 2002


Although you can ping it by name, perhaps Nagios is not resolving it
properly.
Have you tried replacing the name with the IP?

/usr/local/nagios/libexec$ ./check_hpjd -H admprinter -C itdrift
ie, if admprinter is 10.0.2.3 then
/usr/local/nagios/libexec$ ./check_hpjd -H 10.0.2.3 -C itdrift

Just a thought.
-Don


 -----Original Message-----
From: 	Anders Bruun Olsen [mailto:anders at bruun-olsen.net] 
Sent:	Monday, September 23, 2002 10:58 AM
To:	Subhendu Ghosh
Cc:	nagiosplug-help at lists.sourceforge.net
Subject:	Re: [Nagiosplug-help] problems with check_hpjd plugin

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?

-- 
Anders
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GO d--@ s:+ a-- C++ $UL++ P++ L+++ E- W+ N(+) o K? w !O M-- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b+ DI+++ D+ G e- h !r y?
------END GEEK CODE BLOCK------
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41


-------------------------------------------------------
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