aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-templates.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r--nagios-templates.cfg18
1 files changed, 0 insertions, 18 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg
index 9b62f47..f5826d3 100644
--- a/nagios-templates.cfg
+++ b/nagios-templates.cfg
@@ -20,24 +20,6 @@ define command{
command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$ for $SERVICEDURATION$\nAddress: $HOSTADDRESS$\n\nInfo:\n\n$SERVICEOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}
-define contact {
- contact_name root
- alias Root
- host_notification_period 24x7
- service_notification_period 24x7
- host_notification_options d,r
- service_notification_options w,u,c,r
- host_notification_commands notify-by-nothing
- service_notification_commands notify-by-nothing
- email root@postoffice
-}
-
-define contactgroup{
- contactgroup_name admins
- alias Nagios Administrators
- members root
-}
-
define host {
name server-host
check_command check-host-alive