<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)">
<!--[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]-->
<title>RE: HP Network Printer</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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:blue;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Courier New";
color:navy;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
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 link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sorry
Palle, I meant to reply to the list!.. my bad… </span></font><font size=2
color="#1f497d" face=Wingdings><span style='font-size:11.0pt;font-family:Wingdings;
color:#1F497D'>L</span></font><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;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 size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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 size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><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 size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTH<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>jamie<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;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 size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'>Martyn,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'>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 size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'>PJ<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;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 size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>Update, but I'm still getting "Error in
packet ( ) " in my printer status</span></font> <o:p></o:p></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>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 size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>./check_snmp -H 192.168.3.252 -C public </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>I get SNMP problem - No Data received from
host</span></font> <br>
<font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>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 size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>Hope you can help</span></font> <o:p></o:p></p>
<p><font size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:
"Tahoma","sans-serif"'>_____________________________________________ </span></font><br>
<b><font size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:
"Tahoma","sans-serif";font-weight:bold'>From: </span></font></b><span
lang=EN-GB> </span><font size=1 face=Tahoma><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 size=1 face=Tahoma><span lang=EN-GB
style='font-size:7.5pt;font-family:"Tahoma","sans-serif"'>mailto:martyn@chetnet.co.uk</span></font></a><font
size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:"Tahoma","sans-serif"'>]
</span></font><br>
<b><font size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:
"Tahoma","sans-serif";font-weight:bold'>Sent: </span></font></b><span
lang=EN-GB> </span><font size=1 face=Tahoma><span lang=EN-GB style='font-size:
7.5pt;font-family:"Tahoma","sans-serif"'>02 February 2009 17:33</span></font> <br>
<b><font size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:
"Tahoma","sans-serif";font-weight:bold'>To: </span></font></b><span
lang=EN-GB> </span><font size=1 face=Tahoma><span lang=EN-GB style='font-size:
7.5pt;font-family:"Tahoma","sans-serif"'>'nagios-users@lists.sourceforge.net'</span></font>
<br>
<b><font size=1 face=Tahoma><span lang=EN-GB style='font-size:7.5pt;font-family:
"Tahoma","sans-serif";font-weight:bold'>Subject: </span></font></b><span
lang=EN-GB> </span><font size=1 face=Tahoma><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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;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 size=2 face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks
for your continued support</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Martyn</span></font>
<o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>