Applying a multiplier to check_snmp results
Matthew J. Salerno
vagabond_king at yahoo.com
Thu Aug 12 23:17:13 CEST 2010
I ran into the same thing, I ended up writing my own plugins. Just look for a
non binary plugin (perl/python etc) and then hack away.
----- Original Message ----
From: Jim Avery <jim at jimavery.me.uk>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Thu, August 12, 2010 5:05:42 PM
Subject: Re: [Nagios-users] Applying a multiplier to check_snmp results
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
------------------------------------------------------------------------------
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