From: James Moseley [mailto:jmose...@corp.xanadoo.com]
Sent: Monday, January 10, 2011 11:28 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Check_hpjd

On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru 
<misteritg...@gmx.com<mailto:misteritg...@gmx.com>> wrote:

I'm pretty sure that the SNMP on my printers is working. Is it included with 
this printer, because I specifically configured it, and looked out for SNMP 
support before ordering these printers, to use with Nagios. I know that my 
device returns data, because it does for snmp queries from the CLI. I would 
like to know, how I can get check_hpjd to be more verbose, or to log if that is 
possible?

Thank You

Let me explain in a different way.  If you are querying your printer manually 
with snmpwalk/snmpget and you are not getting the response you expect, then the 
Nagios plugin you are trying to use will not work.  In other words, this isn't 
a Nagios problem.

You stated earlier in this thread that your printer supports SNMP as evidence 
that you were able to walk the standard MIB tree.  That's great, but that 
doesn't mean that your hardware and current software supports the SNMP MIB that 
the plugin is trying to use.

That's why I suggested making sure you have the latest firmware/SNMP support 
from HP installed on the printer.

The plugin states that it works with HP printers that have JetDirect cards 
installed.  Does yours?

Another step in your troubleshooting would be to look at the source code of the 
check_hpjd plugin to see what MIB OID's it is using.  I believe that's what a 
previous person on this thread did as they suggested a MIB-specific OID for you 
to check.  If your printer doesn't support that OID, then the check_hpjd plugin 
will not work and you will have to either a) get the printer to support the MIB 
the plugin is using b) modify the plugin and recompile it c) write your own 
plugin using the the SNMP MIB OID's your printer supports.

--

I missed the response to my question about some specific query responses...so 
I'll put them here again:


Step back once more...what about this?



snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises



or better yet:



snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11 | grep 
'Hewlett'



The latter should return at least one line (actually, probably only one line).

Is JetAdmin able to identify the printer/card correctly?



Paul

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

Reply via email to