How do I set the notification period?

Jim Richardson weaselkeeper at gmail.com
Fri Aug 11 17:41:02 CEST 2006


On 8/11/06, Ben Rosenberg <red.kryptonite at gmail.com> wrote:
>
> I'm interested in setting hosts.cfg notification_period so that it will
> not check a certain host during a specified period ..such as 3:00AM -
> 3:30AM. I have a backup running on a certain machine and so Nagios times out
> and pages me. The machine is just super busy at this time and is not
> actually down.
>
> I've looked around for the parameters to do this but as of yet have had no
> luck in find it. I find that it's possible.. just not having luck finding
> the settings/syntax for doing so.
>
> - Ben Rosenberg
>


Create a custome timeperiod entry, and use that. Eg


define timeperiod{
        timeperiod_name off-hours
        alias           Odd hours
        monday          00:00-06:59
        monday          17:01-24:00
        tuesday         00:00-06:59
        tuesday         17:01-24:00
        }

Then use the timeperiod in the host and service checks for that machine,
another possibliity would be to put the box into downtime, but I don't know
how to do that on a recurring basis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060811/19514cd7/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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