When I run the Nagios service represented by this command:<br>check_nt -H 10.10.1.1 -s "" -p 12489 -v COUNTER -l "\\System\\System Up Time","Server has been up %.f seconds" -w 0 -c 300<br><br>
Nagios reports that the host is in a critical state if it's been powered on for more than 5 minutes (300 seconds). I am wanting to report on the opposite behavior. I want an alert to go out when the server has been restarted in some way or another in the past 5 minutes. Since some of our virtual machines reboot faster than our checking intervals, to do that I would like an alert to be triggerred whenever the "System Up Time" counter is LESS THAN 300 seconds, indicating some kind of system restart has occurred. The critical threshold seems to only be able to be a "Maximum" threashold (meaning anything greater puts the service at a "critical" status). Anyone know how to reverse that so that the 300 is a "minimum" critical threshold? Some kind of a "NOT" parameter perhaps?<div>
<br></div><div>Thanks!</div><div>Benny</div><div>Nashville</div><div><br></div>