[Nagiosplug-help] How to use negate plugin

Zoran Milenkovic mizoran at galeb.etf.bg.ac.yu
Wed Dec 1 02:56:01 CET 2004


Dir list,

Is there anybody who uses negate Nagios plugin for inverting plugin check
results? Would somebody like to share any example of negate plugin usage
or give any sugestions?

I've tryed the following but results are simply the same :-( just as
negate doesnt exist:


root at monitor:~# su nagios                                                                                                     
sh-2.05b$

sh-2.05b$ /usr/local/nagios/libexec/negate -V
negate (nagios-plugins 1.4.0alpha1) 1.13

sh-2.05b$ /usr/local/nagios/libexec/negate
"/usr/local/nagios/libexec-1.3.1/check_snmp -H 10.0.0.254 -C public
-v 1 -o 1.3.6.1.2.1.1.3.0 -w 300 -c 600"

/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 10.0.0.254:161
1.3.6.1.2.1.1.3.0
RFC1213-MIB::sysUpTime.0 = Timeticks: (130293500) 15 days, 1:55:35.00

SNMP CRITICAL - *130293500*

sh-2.05b$ /usr/local/nagios/libexec-1.3.1/check_snmp -H 10.0.0.254 -C
public -v 1 -o 1.3.6.1.2.1.1.3.0 -w 100 -c 200
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 10.0.0.254:161
1.3.6.1.2.1.1.3.0
RFC1213-MIB::sysUpTime.0 = Timeticks: (130295100) 15 days, 1:55:51.00

SNMP CRITICAL - *130295100*




Regards,

Zoran Milenkovic, dipl.ing.el.
sistem in.enjer
______________________________
HK CORES d.o.o.
Makenzijeva 31, Beograd, SCG
tel:    011 30 80 451
fax:   011 30 85 040
mail: zoran.milenkovic at cores.co.yumail: zoran.milenkovic <at> cores.co.yu





More information about the Help mailing list