check_snmp OID integer /10

Jeffrey Watts jeffrey.w.watts at gmail.com
Fri Feb 3 21:02:33 CET 2012


You can always write a script that acts as a wrapper around check_snmp if
you want prettier info displayed.

Jeffrey.

2012/2/1 Sánta József <jozsef.santa at icicom.hu>

> Hi!****
>
> ** **
>
> I have a temperature SNMP device.****
>
> ** **
>
> snmpget 10.0.0.63 1.3.6.1.4.1.17095.4.1.3.3.0 -c public -v 1****
>
> iso.3.6.1.4.1.17095.4.1.3.3.0 = INTEGER: 40****
>
> ** **
>
> But I like /10 of the integer…****
>
> ** **
>
> Something like this:****
>
> ** **
>
> [oid("1.3.6.1.4.1.17095.4.1.3.3.0")/10]°C****
>
> ** **
>
> How to add this to the check_snmp command?****
>
> ** **
>
> Thanks!****
>
>
> **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120203/90890153/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-------------- next part --------------
_______________________________________________
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