[Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
Hello --

I am testing out check_snmp on our printers, and I have been successful using 
the following syntax:

./check_snmp -H ip adddress -C public -o sysDescr.0

which has provided the following output:

SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM 
R.25.57,CIDATE 05/02/2006 |

What I am trying to do now is get the status of the printer with the goal of 
generating output that would
indicate if toner is low, or if other components are in need of service. What 
would be the correct syntax
to use to accomplish this?

Thanks.





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
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

Re: [Nagios-users] check_snmp syntax question

2013-02-05 Thread Steven Carr
Have you tried the actual HP JetDirect plugin instead of trying to
reinvent the wheel? check_hpjd?
http://nagiosplugins.org/man/check_hpjd

Steve


On 5 February 2013 16:22, Kaplan, Andrew H. ahkap...@partners.org wrote:
 Hello --

 I am testing out check_snmp on our printers, and I have been successful
 using the following syntax:

 ./check_snmp -H ip adddress -C public -o sysDescr.0

 which has provided the following output:

 SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM
 R.25.57,CIDATE 05/02/2006 |

 What I am trying to do now is get the status of the printer with the goal of
 generating output that would
 indicate if toner is low, or if other components are in need of service.
 What would be the correct syntax
 to use to accomplish this?

 Thanks.




 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the
 e-mail
 contains patient information, please contact the Partners Compliance
 HelpLine at
 http://www.partners.org/complianceline . If the e-mail was sent to you in
 error
 but does not contain patient information, please contact the sender and
 properly
 dispose of the e-mail.


 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 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

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


Re: [Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
Hello --

I did try the check_hpjd plugin. While it did provide some information 
concerning 
an issue with a test printer, it did not go in-depth as to what was the actual 
error
condition. I want to see what check_snmp would provide, and compare that to the 
output
generated by the check_hpjd plugin.



-Original Message-
From: Steven Carr [mailto:sjc...@gmail.com] 
Sent: Tuesday, February 05, 2013 1:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] check_snmp syntax question

Have you tried the actual HP JetDirect plugin instead of trying to
reinvent the wheel? check_hpjd?
http://nagiosplugins.org/man/check_hpjd

Steve


On 5 February 2013 16:22, Kaplan, Andrew H. ahkap...@partners.org wrote:
 Hello --

 I am testing out check_snmp on our printers, and I have been successful
 using the following syntax:

 ./check_snmp -H ip adddress -C public -o sysDescr.0

 which has provided the following output:

 SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM
 R.25.57,CIDATE 05/02/2006 |

 What I am trying to do now is get the status of the printer with the goal of
 generating output that would
 indicate if toner is low, or if other components are in need of service.
 What would be the correct syntax
 to use to accomplish this?

 Thanks.




 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the
 e-mail
 contains patient information, please contact the Partners Compliance
 HelpLine at
 http://www.partners.org/complianceline . If the e-mail was sent to you in
 error
 but does not contain patient information, please contact the sender and
 properly
 dispose of the e-mail.


 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 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

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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