Checking more frequently when in non-OK state

Ian Chard ian.chard at sers.ox.ac.uk
Mon Mar 7 11:06:41 CET 2005


I have a webserver that I need to monitor, but its webmaster doesn't
want it to be checked more than once an hour.  I want to configure
Nagios so that checks are run once an hour when it's in an OK state,
but once every 60 seconds when it's not OK.

I've read the documentation about normal_check_interval and
retry_check_interval, but I think what I want is something slightly
different:  I still want the alert sent as soon as a non-OK state is
detected, but if I set max_check_attempts to 1 then retry_check_interval
never gets used.

Is there another way around this?

Thanks
- Ian

-- 
Ian Chard, Unix & Network Administrator   |  E: ian.chard at sers.ox.ac.uk
Systems and Electronic Resources Service  |  T:  80587 / (01865) 280587
Oxford University Library Services        |  F:          (01865) 204937


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list