[Nagiosplug-help] check_snmp - math operations ?

Brian Ipsen Brian.Ipsen at andebakken.dk
Mon Dec 30 14:50:02 CET 2002


Hi!

 Has somebody ever tried working with mathematic operations on the output
from check_snmp ?? It probably sounds like a wierd thing, but I'm used to be
able to do it with MRTG - so why not also with Nagios ?

I'm monitoring some temperature probes on a motherboard. All temperatures
are returned multiplied by 10 when prompting via SNMP, e.g. is the CPU
tempetarure is 35.6 degree celcius, SNMP would return 356. But displaying
356 as the check result in Nagios is not optimal. I'd like to present the
result as 35.6 instead. This probably requires a change in the check_snmp
plugin - or handling in a perl-script or similar by using the snmpget
command ... Anyone ??

/Brian






More information about the Help mailing list