<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> James Moseley [mailto:jmoseley@corp.xanadoo.com] <br><b>Sent:</b> Monday, January 10, 2011 11:28 AM<br><b>To:</b> Nagios Users List<br><b>Subject:</b> Re: [Nagios-users] Check_hpjd<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru <<a href="mailto:misteritguru@gmx.com">misteritguru@gmx.com</a>> wrote:<o:p></o:p></p><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal>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?<br><br>Thank You<o:p></o:p></p></div></blockquote><div><p class=MsoNormal><br>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.<br><br>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.<br><br>That's why I suggested making sure you have the latest firmware/SNMP support from HP installed on the printer.<br><br>The plugin states that it works with HP printers that have JetDirect cards installed.  Does yours?<br><br>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.<o:p></o:p></p></div></div><p class=MsoNormal><br>-- <br><br><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I missed the response to my question about some specific query responses…so I’ll put them here again:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoPlainText>Step back once more...what about this?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>or better yet:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11 | grep 'Hewlett'<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>The latter should return at least one line (actually, probably only one line).<o:p></o:p></p><p class=MsoPlainText>Is JetAdmin able to identify the printer/card correctly?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Paul<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div></body></html>