check_snmp syntax question

Steven Carr sjcarr at gmail.com
Tue Feb 5 19:01:37 CET 2013


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. <AHKAPLAN at 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 at 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 at 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





More information about the Users mailing list