Check_hpjd

Paul Williamson PWilliamson at twgi.net
Sun Jan 9 18:57:58 CET 2011


>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
> I noted that i didn't have net-snmp-utils installed, and then I was able 
> to run
> 
> [root at host plugins]# snmpwalk -Os -c public -v 1 printer1.mydomain.com 
> system
> 
> sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT
> sysObjectID.0 = OID: enterprises.11.2.3.9.1
> sysUpTimeInstance = Timeticks: (325408663) 37 days, 15:54:46.63
> sysContact.0 = STRING:
> sysName.0 = STRING: printer1
> sysLocation.0 = STRING:
> sysServices.0 = INTEGER: 72
> 
> 
> So I know that the printer is working as expected, (as far as SNMP is 
> concerned). But when I run
> 
> 
> [root at host plugins]# ./check_hpjd -H printer1.mydomain.com -C public
> Error in packet ()
> 
> I get this error - From what I've tried so far, I know my host can 
> communicate via SNMP, I know the printer responds via SNMP, so I guess 
> I'm left to look at the plug-in, which I will be checking up on.  I'm 
> new to SNMP, I am investigating this with my good friend Google search, 
> but I am on a learning curve here, so please forgive my questions if 
> they sound stupid,
> 
> TIA
> 

Do you have the snmp development libraries installed?  I'm guessing that is the situation.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list