Changeset 381
- Timestamp:
- Feb 16, 2013, 5:09:26 PM (12 years ago)
- Location:
- nagios
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
nagios/apache-nagios.conf
r307 r381 8 8 9 9 RewriteEngine on 10 RewriteCond %{REMOTE_ADDR} =83.86.204.79 10 RewriteCond %{REMOTE_ADDR} =83.86.204.79 [OR] 11 RewriteCond %{REMOTE_ADDR} ^192\.168\..*$ 11 12 RewriteRule .* - [E=REMOTE_USER:nagiosadmin] 12 13 </Directory> -
nagios/nagios.cfg
r202 r381 57 57 # Definitions for monitoring vanderzwet.net 58 58 cfg_file=/usr/local/etc/nagios/objects/vanderzwet.net.cfg 59 cfg_file=/usr/local/etc/nagios/objects/wleiden.cfg 59 60 60 61 -
nagios/objects/templates.cfg
r380 r381 11 11 define contact{ 12 12 name generic-contact ; The name of this contact template 13 service_notification_period work inghours ; service notifications can be sent anytime14 host_notification_period work inghours ; host notifications can be sent anytime13 service_notification_period workhours ; service notifications can be sent anytime 14 host_notification_period workhours ; 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 work inghours ; Send host notifications at any time44 notification_period workhours ; 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 work inghours ; By default, FreeBSD hosts are checked round the clock75 check_period workhours ; 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 work inghours ; The service can be checked at any time of the day110 check_period workhours ; 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 work inghours ; Notifications can be sent out at any time117 notification_period workhours ; 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.