On Sat, 29 Sep 2012, Jummo wrote:
>> Try using 60000:0 as the final argument.
>>
> Unfortunately I get "Range format incorrect" if I use this.
How about "-c @0:1000000"?
t1:plugins >. ./check_snmp -H 192.168.1.14 -o sysUpTime.0 -m \
RFC1213-MIB -c @0:1000000
SNMP CRITICAL - *979520* | RFC1213-MIB::sysUpTime.0=979520
t1:plugins >. ./check_snmp -H 192.168.1.11 -o sysUpTime.0 -m \
RFC1213-MIB -c @0:1000000
SNMP OK - 568538033 | RFC1213-MIB::sysUpTime.0=568538033
t1:plugins >.
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
sets that out pretty well, although I do not appreciate the
mid-stream change. That probably broke a lot of folks' monitoring
regimes. It also took me several tries to get the suite to even
configure properly, nevermind compile; it seems that somebody's
forgotten that the whole world is not a GNU (a crack that got me
perpetually banned from the Nagios forum and one of the reasons
I now use Icinga).
Cheers!
+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin) | West Boylston |
| Minicomputer Collector / Enthusiast | Massachusetts, USA |
| mailto:[email protected] +---------------------+
| http://users.rcn.com/crfriend/museum | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users