summaryrefslogtreecommitdiff
path: root/netsaint/COMMON.cfg
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-04-06 13:38:09 +0000
committerJonas Smedegaard <dr@jones.dk>2003-04-06 13:38:09 +0000
commit72c8864cfca64f3bbaf1cf38f3d0bb2041ec5b07 (patch)
treea346015857c3d4816155e875bdc35193f343b650 /netsaint/COMMON.cfg
parent78c7377476c427a087eee467a10f583478bbe18e (diff)
Corrections to work with default hosts.cfg file.
Diffstat (limited to 'netsaint/COMMON.cfg')
-rw-r--r--netsaint/COMMON.cfg16
1 files changed, 0 insertions, 16 deletions
diff --git a/netsaint/COMMON.cfg b/netsaint/COMMON.cfg
index 8c629a8..debff22 100644
--- a/netsaint/COMMON.cfg
+++ b/netsaint/COMMON.cfg
@@ -1,21 +1,5 @@
-# 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>;