- Timestamp:
- Feb 16, 2013, 5:07:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagios/objects/templates.cfg
r357 r380 11 11 define contact{ 12 12 name generic-contact ; The name of this contact template 13 service_notification_period 24x7; service notifications can be sent anytime14 host_notification_period 24x7; host notifications can be sent anytime13 service_notification_period workinghours ; service notifications can be sent anytime 14 host_notification_period workinghours ; host notifications can be sent anytime 15 15 service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events 16 16 host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events … … 42 42 retain_status_information 1 ; Retain status information across program restarts 43 43 retain_nonstatus_information 1 ; Retain non-status information across program restarts 44 notification_period 24x7; Send host notifications at any time44 notification_period workinghours ; Send host notifications at any time 45 45 notification_interval 360 46 46 notification_options d,u,r ; Only send notifications for specific host states … … 73 73 parents ns.xs4all.nl ; HACK to avoid spams 74 74 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 clock75 check_period workinghours ; By default, FreeBSD hosts are checked round the clock 76 76 check_interval 5 ; Actively check the host every 5 minutes 77 77 retry_interval 1 ; Schedule host check retries at 1 minute intervals … … 108 108 retain_nonstatus_information 1 ; Retain non-status information across program restarts 109 109 is_volatile 0 ; The service is not volatile 110 check_period 24x7; The service can be checked at any time of the day110 check_period workinghours ; The service can be checked at any time of the day 111 111 max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state 112 112 normal_check_interval 10 ; Check the service every 10 minutes under normal conditions … … 115 115 notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events 116 116 notification_interval 360 117 notification_period 24x7; Notifications can be sent out at any time117 notification_period workinghours ; Notifications can be sent out at any time 118 118 action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$ 119 119 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
Note:
See TracChangeset
for help on using the changeset viewer.