blob: 8c629a82bfff0709c5248afc7fc7f1f0c79cb49a (
plain)
- # timeperiod[<timeperiod_name>]=<timeperiod_alias>;<sun_timeranges>;
- # <mon_timeranges>;<tue_timeranges>;
- # <wed_timeranges>;<thu_timeranges>;
- # <fri_timeranges>;<sat_timeranges>
- #
- timeperiod[24x7]=24 Hours A Day, 7 Days A Week;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00
- timeperiod[workhours]="Normal" Working Hours;;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;
- timeperiod[nonworkhours]=Non-Work Hours;00:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-24:00
- timeperiod[none]=No Time Is A Good Time;;;;;;;
- # command[<command_name>]=<command_line>
- #
- command[notify-by-email]=/bin/echo -e '***** NetSaint 0.0.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$
- command[notify-by-epager]=/bin/echo -e "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$
- command[host-notify-by-email]=/bin/echo -e "***** NetSaint 0.0.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' $CONTACTEMAIL$
- command[host-notify-by-epager]=/bin/echo -e "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$' $CONTACTPAGER$
- command[check_ping_slow]=/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 500:20% -c 3000:100%
- # contact[<contact_name>]=<contact_alias>;<svc_notification_period>;
- # <host_notification_period>;<notify_service_recovery>;
- # <notify_service_critical>;<notify_service_warning>;
- # <notify_host_recovery>;<notify_host_down>;
- # <notify_host_unreachable>;<service_notify_commands>;
- # <host_notify_commands>;<email_address>;<pager>
- #
- contact[jones]=Root;24x7;24x7;1;1;0;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;jonas@bitbase.dk;
- contact[anderskr]=Root;24x7;24x7;1;1;0;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;anderskr@homebase.dk;
- # contactgroup[<group_name>]=<group_alias>;<contacts>
- #
- contactgroup[homebase]=Homebase Administrators;anderskr,jones
- contactgroup[redpill]=Jones Administrators;jones
|