aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-templates.cfg
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-18 12:04:46 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-18 12:04:46 +0000
commitb9d68afea4c00f5379b7285423bdc9eddf254092 (patch)
tree154c3a17f3e09fc26598d4bcd33cabd97acc4f35 /nagios-templates.cfg
parentebd1ff2342f4ca7642820880ffbd081ec142b419 (diff)
downloadsitesummary-b9d68afea4c00f5379b7285423bdc9eddf254092.tar.gz
sitesummary-b9d68afea4c00f5379b7285423bdc9eddf254092.tar.bz2
sitesummary-b9d68afea4c00f5379b7285423bdc9eddf254092.tar.xz
Move nagios contact information to separate file, to avoid
conffile questions during upgrades if the contacts are changed and only the commands change.
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