Changeset 380 for nagios/objects


Ignore:
Timestamp:
Feb 16, 2013, 5:07:52 PM (12 years ago)
Author:
Rick van der Zwet
Message:

Do not care about notifications at night.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagios/objects/templates.cfg

    r357 r380  
    1111define contact{
    1212        name                            generic-contact         ; The name of this contact template
    13         service_notification_period     24x7                    ; service notifications can be sent anytime
    14         host_notification_period        24x7                    ; host notifications can be sent anytime
     13        service_notification_period     workinghours            ; service notifications can be sent anytime
     14        host_notification_period        workinghours            ; host notifications can be sent anytime
    1515        service_notification_options    w,u,c,r,f,s             ; send notifications for all service states, flapping events, and scheduled downtime events
    1616        host_notification_options       d,u,r,f,s               ; send notifications for all host states, flapping events, and scheduled downtime events
     
    4242        retain_status_information       1               ; Retain status information across program restarts
    4343        retain_nonstatus_information    1               ; Retain non-status information across program restarts
    44         notification_period             24x7            ; Send host notifications at any time
     44        notification_period             workinghours    ; Send host notifications at any time
    4545        notification_interval           360
    4646        notification_options            d,u,r           ; Only send notifications for specific host states
     
    7373        parents                         ns.xs4all.nl    ; HACK to avoid spams
    7474        use                             generic-host    ; This template inherits other values from the generic-host template
    75         check_period                    24x7            ; By default, FreeBSD hosts are checked round the clock
     75        check_period                    workinghours            ; By default, FreeBSD hosts are checked round the clock
    7676        check_interval                  5               ; Actively check the host every 5 minutes
    7777        retry_interval                  1               ; Schedule host check retries at 1 minute intervals
     
    108108        retain_nonstatus_information    1                       ; Retain non-status information across program restarts
    109109        is_volatile                     0                       ; The service is not volatile
    110         check_period                    24x7                    ; The service can be checked at any time of the day
     110        check_period                    workinghours                    ; The service can be checked at any time of the day
    111111        max_check_attempts              3                       ; Re-check the service up to 3 times in order to determine its final (hard) state
    112112        normal_check_interval           10                      ; Check the service every 10 minutes under normal conditions
     
    115115        notification_options            w,u,c,r                 ; Send notifications about warning, unknown, critical, and recovery events
    116116        notification_interval           360
    117         notification_period             24x7                    ; Notifications can be sent out at any time
     117        notification_period             workinghours                    ; Notifications can be sent out at any time
    118118        action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$
    119119         register                        0                      ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
Note: See TracChangeset for help on using the changeset viewer.