<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD><TITLE>RE: HP Network Printer</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
FONT-WEIGHT: normal; COLOR: navy; FONT-STYLE: normal; FONT-FAMILY: "Courier New"; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle19 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle20 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
page: Section1
}
</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 vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2>James thanks for the reply, looks like there are many users
with the same issue as me, <A
href="http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html">http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2>The reason I want to use check_hpjd is because it reports
back the toner levels too.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2>I have spent the last 5 hours on Google and can not find
any fix, does this group know of a fix at all or do you think its a
bug?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=262473523-02022009><FONT face=Arial
color=#0000ff size=2>Thanks</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> James Pratt [mailto:jpratt@norwich.edu]
<BR><B>Sent:</B> 02 February 2009 20:19<BR><B>To:</B>
nagios-users@lists.sourceforge.net; martyn@chetnet.co.uk<BR><B>Subject:</B> RE:
[Nagios-users] HP Network Printer<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Sorry
Palle, I meant to reply to the list!.. my bad… </SPAN></FONT><FONT
face=Wingdings color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: Wingdings">L</SPAN></FONT><FONT
face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> James Pratt
<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, February 02,
2009 3:16 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 'Palle L
Jensen'<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE:
[Nagios-users] HP Network Printer<o:p></o:p></SPAN></FONT></P></DIV></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hi,
I found this on a quick google – I use snmp extensively. (Check_snmp is fairly
worthless – I use the ones at <A
href="http://nagios.manubulon.com">http://nagios.manubulon.com</A>
instead…<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><A
href="http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html">http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">HTH<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">jamie<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Calibri color=#1f497d size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Palle L Jensen
[mailto:palleje@gmail.com] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, February 02, 2009 3:00
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 'Martyn';
nagios-users@lists.sourceforge.net<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Nagios-users] HP Network
Printer<o:p></o:p></SPAN></FONT></P></DIV></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Martyn,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">I have noticed
people monitoring other stuff on printers using the SNMP protocoll. However,
since we have that protocol disabled I have no experience in that. If you just
want to make sure it is up and running you could use the check_ping. Assuming
it’s a network printer with enabled NIC.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">PJ<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Martyn
[mailto:martyn@chetnet.co.uk] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, February 02, 2009 1:13
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
nagios-users@lists.sourceforge.net<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Nagios-users] HP Network
Printer</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Update,
but I'm still getting "Error in packet ( ) " in my printer status</SPAN></FONT>
<o:p></o:p></P>
<P><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I can
walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the
relevant outputs but when I do the following: -</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">./check_snmp
-H 192.168.3.252 -C public </SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I get
SNMP problem - No Data received from host</SPAN></FONT> <BR><FONT face=Arial
color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">CMD
/usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161</SPAN></FONT>
<o:p></o:p></P>
<P><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Hope you
can help</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">_____________________________________________
</SPAN></FONT><BR><B><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:
</SPAN></FONT></B><SPAN lang=EN-GB> </SPAN><FONT face=Tahoma size=1><SPAN
lang=EN-GB style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">Martyn
[</SPAN></FONT><A href="mailto:martyn@chetnet.co.uk"><FONT face=Tahoma
size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">mailto:martyn@chetnet.co.uk</SPAN></FONT></A><FONT
face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">]
</SPAN></FONT><BR><B><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">Sent: </SPAN></FONT></B><SPAN
lang=EN-GB> </SPAN><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">02 February 2009
17:33</SPAN></FONT> <BR><B><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">To: </SPAN></FONT></B><SPAN
lang=EN-GB> </SPAN><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">'nagios-users@lists.sourceforge.net'</SPAN></FONT>
<BR><B><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">Subject: </SPAN></FONT></B><SPAN
lang=EN-GB> </SPAN><FONT face=Tahoma size=1><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Tahoma','sans-serif'">HP Network
Printer</SPAN></FONT><SPAN lang=EN-GB> </SPAN><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Just looking to start
and monitor an HP 2600n printer and have come across the following statement in
the quick start guide</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">The check_hpjd plugin
will only get compiled and installed if you have the net-snmp and
net-snmp-utils</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">packages installed on
your system. Make sure the plugin exists in /usr/local/nagios/libexec before
you</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">continue. If it
doesn’t, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios
plugins.</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">OK do these get
installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I
have to grab then separately, I have looked through my nagios/libexec directory
and noticed that check_snmp is in there but not the above
two.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Where would I get
hold of the two files as described</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Thanks for your
continued support</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Martyn</SPAN></FONT>
<o:p></o:p></P></DIV></DIV></DIV></DIV></BODY></HTML>