Hi,
I want to update my contact information for nagios alerts, any +1s to push this?
>From bbf537503698e109c1304b1deba2820753c3e531 Mon Sep 17 00:00:00 2001
From: Patrick Uiterwijk <puiterwijk(a)redhat.com>
Date: Fri, 28 Nov 2014 16:11:32 +0000
Subject: [PATCH] Update puiterwijk nagios contact info
---
.../contactgroups/fedora-sysadmin-email.cfg | 2 +-
.../files/nagios-external/contacts/puiterwijk.cfg | 27 ++++++++++++++++++-
.../nagios/contactgroups/fedora-sysadmin-pager.cfg | 2 +-
.../files/nagios/contacts/puiterwijk.cfg | 27 ++++++++++++++++++-
4 files changed, 52 insertions(+), 6 deletions(-)
diff --git a/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg
index e099113..d1bc113 100644
--- a/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg
+++ b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg
@@ -1,5 +1,5 @@
define contactgroup{
contactgroup_name fedora-sysadmin-email
alias Fedora Sysadmin Email Contacts
- members mmcgrath,ausil,admin,nigelj,ricky,jcollie,jmtaylor,jstanley,smooge,nb,rigeld2,codeblock,kevin,hvivani,puiterwijkp
+ members mmcgrath,ausil,admin,nigelj,ricky,jcollie,jmtaylor,jstanley,smooge,nb,rigeld2,codeblock,kevin,hvivani,puiterwijk
}
diff --git a/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg b/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg
index 4772e4c..910d020 100644
--- a/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg
+++ b/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg
@@ -1,4 +1,16 @@
define contact{
+ contact_name puiterwijk
+ alias Patrick Uiterwijk
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands notify-by-epager
+ host_notification_commands host-notify-by-epager
+ email patrick(a)puiterwijk.org
+}
+
+define contact{
contact_name puiterwijkp
alias Patrick Uiterwijk
service_notification_period 24x7
@@ -7,6 +19,17 @@ define contact{
host_notification_options d,u,r
service_notification_commands notify-by-epager
host_notification_commands host-notify-by-epager
- email puiterwijk(a)gmail.com
- pager puiterwijk(a)gmail.com
+ email patrick-pager(a)puiterwijk.org
+}
+
+define contact{
+ contact_name puiterwijk-emergency
+ alias Patrick Uiterwijk
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands notify-by-epager
+ host_notification_commands host-notify-by-epager
+ email +31681462748(a)gin.nl
}
diff --git a/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg
index 526aa04..1a8d2ba 100644
--- a/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg
+++ b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg
@@ -6,5 +6,5 @@ define contactgroup{
define contactgroup{
contactgroup_name fedora-sysadmin-emergency
alias Fedora Sysadmin Pager Contacts
- members mmcgrath-emergency,ricky-emergency,jstanley-emergency,smooge-emergency,kevin-emergency,puiterwijkp
+ members mmcgrath-emergency,ricky-emergency,jstanley-emergency,smooge-emergency,kevin-emergency,puiterwijk-emergency
}
diff --git a/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg b/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg
index 38b8392..910d020 100644
--- a/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg
+++ b/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg
@@ -1,4 +1,16 @@
define contact{
+ contact_name puiterwijk
+ alias Patrick Uiterwijk
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands notify-by-epager
+ host_notification_commands host-notify-by-epager
+ email patrick(a)puiterwijk.org
+}
+
+define contact{
contact_name puiterwijkp
alias Patrick Uiterwijk
service_notification_period 24x7
@@ -7,6 +19,17 @@ define contact{
host_notification_options d,u,r
service_notification_commands notify-by-epager
host_notification_commands host-notify-by-epager
- email puiterwijk(a)gmail.com
- pager puiterwijk(a)gmail.com
+ email patrick-pager(a)puiterwijk.org
+}
+
+define contact{
+ contact_name puiterwijk-emergency
+ alias Patrick Uiterwijk
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands notify-by-epager
+ host_notification_commands host-notify-by-epager
+ email +31681462748(a)gin.nl
}
--
1.7.2.1
With kind regards,
Patrick Uiterwijk
Associate Software Engineer, Red Hat