[monitoring-plugins/monitoring-plugins] check_snmp: Add multiply-by and divide-by options (#1417)

Nick Peelman notifications at github.com
Mon Sep 5 15:13:29 CEST 2016


The math operations will only happen to numbers (via the SNMP return type).
The inclusion of a ; means it is returning as a string.

You might try using the [UPS-MIB
OIDs](http://www.oidview.com/mibs/0/UPS-MIB.html) and see if the frequency
endpoint there returns a cleaner value first.

That's just bad/lazy MIB design that defeats the purpose of SNMP. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1417#issuecomment-244744038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160905/7fef59e4/attachment.html>


More information about the Devel mailing list