multiple check_interval with single service check

Mark Young mark at zarzax.com
Tue Mar 2 03:16:56 CET 2010


On Mar 1, 2010, at 1:47 PM, shadih rahman wrote:

>    Is it possible to use multiple check_interval based on the hours of the day for a single check?  For example during day time service should be executed every 15 minutes and during night it will get executed every 2 hours.  Can someone please show me how its done.  Thanks

You can do this in a few different ways.  The easiest may be to define multiple hosts/services for one 'real' host/service.  That would allow you to define two time periods and two different check_intervals.  You would have to have the names slightly different but notifications could be made to look like they are the same host/service.

Best Regards,

Mark Young
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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