Custom Notification Time

Martin Melin mmelin at gmail.com
Fri Apr 23 11:18:24 CEST 2010


On Fri, Apr 23, 2010 at 11:08 AM, Digital Edge <reachtarak at hotmail.com> wrote:
> Dear List,
>
> As wanted to monitor few services for 7AM to 7PM . Using "
> check_period       24x7" , how can i do that.

You create a timeperiod definition for that time. Then, if you really
want to only check during that time, you set check_period to the name
of the newly created timeperiod.

However, in my opinion it's almost always a better idea to change
notification_period, so that you monitor 24x7 but are only notified of
problems during specific times.

>
> below is my service check parameter.
>
> define service{
>         name                            network-service
>         use                             generic-service
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           1
>         retry_check_interval            1
>         contact_groups                  Monitoring-alerts
>         notification_options            w,u,c,r
>         notification_interval           60
>         notification_period             24x7
>         register                        0
>         }
>
>
> /\
> dE

Regards
Martin Melin
------------------------------------------------------------------------------
_______________________________________________
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