]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/conf/contacts.cfg
Use nix expressions to build monitoring list
[perso/Immae/Config/Nix.git] / modules / private / monitoring / conf / contacts.cfg
diff --git a/modules/private/monitoring/conf/contacts.cfg b/modules/private/monitoring/conf/contacts.cfg
deleted file mode 100644 (file)
index b6ea84d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-# vim: filetype=nagios
-
-# CONTACT GROUPS
-define contactgroup {
-  contactgroup_name              admins
-  alias                          Naemon Administrators
-#  members                        immae
-}
-
-# No contact, we go through master
-# define contact {
-#   contact_name                   immae
-#   alias                          Immae
-#   use                            generic-contact
-#   email                          xxxxxxxxxxxxxxxx
-# }
-# 
-# define contact {
-#   name                           generic-contact
-#   host_notification_commands     notify-host-by-email
-#   host_notification_options      d,u,r,f,s
-#   host_notification_period       24x7
-#   register                       0
-#   service_notification_commands  notify-service-by-email
-#   service_notification_options   w,u,c,r,f,s
-#   service_notification_period    24x7
-# }
-# 
-# define command {
-#   command_name                   notify-host-by-email
-#   command_line                   SERVICENOTIFICATIONID="$SERVICENOTIFICATIONID$" HOSTSTATE="$HOSTSTATE$" HOSTOUTPUT="$HOSTOUTPUT$" $USER2$/notify_by_email host "$NOTIFICATIONTYPE$" "$HOSTALIAS$" "$LONGDATETIME$" "$CONTACTEMAIL$" $OVE
-# #$OVE is to force naemon to run via shell instead of execve which fails here
-# }
-# 
-# # 'notify-service-by-email' command definition
-# define command {
-#   command_name                   notify-service-by-email
-#   command_line                   SERVICENOTIFICATIONID="$SERVICENOTIFICATIONID$" SERVICEDESC="$SERVICEDESC$" SERVICESTATE="$SERVICESTATE$" SERVICEOUTPUT="$SERVICEOUTPUT$" $USER2$/notify_by_email service "$NOTIFICATIONTYPE$" "$HOSTALIAS$" "$LONGDATETIME$" "$CONTACTEMAIL$" $OVE
-# #  command_line                   sudo /usr/bin/strace -o /tmp/foo -vf -s 256 -u naemon $USER2$/notify_by_email
-# #$OVE is to force naemon to run via shell instead of execve which fails here
-# }