Applying a multiplier to check_snmp results
Jim Avery
jim at jimavery.me.uk
Thu Aug 12 23:05:42 CEST 2010
On 12 August 2010 21:27, Hall, JC <jhall at iodatacenters.com> wrote:
> I have a situation where I would like to apply a multiplier to the results
> of a check_snmp output.
>
> The situation is this:
>
> The value received from my check_snmp = 20717. The integer multiplier for
> this particular OID is 0.01.
>
> The output I want reported to Nagios is 20717 x 0.01 = 207.17.
>
> Looking through the options of the check_snmp plugin, I can’t determine how
> I could accomplish this.
>
>
>
> Any thoughts are appreciated.
+1 to that!
I was doing some monitoring on a UPS yesterday and found the current
is given as an integer which is 10x the Amps, so it would be great to
be able to divide by 10 (or multiply by whatever) in check_snmp.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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