diff --git a/roles/nagios_server/files/nagios/contacts/codeblock.cfg b/roles/nagios_server/files/nagios/contacts/codeblock.cfg index 3e6b003f7c..aac7d6dbe6 100644 --- a/roles/nagios_server/files/nagios/contacts/codeblock.cfg +++ b/roles/nagios_server/files/nagios/contacts/codeblock.cfg @@ -1,6 +1,7 @@ +# Already get emails from sysadmin-noc, so disable these, but define the user. define contact{ contact_name codeblock - alias Ricky Elrod + alias Rick Elrod service_notification_period never host_notification_period never service_notification_options w,u,c,r @@ -9,3 +10,27 @@ define contact{ host_notification_commands host-notify-by-email email codeblock@elrod.me } + +define contact{ + contact_name codeblock-emergency + alias Rick Elrod + 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 + pager codeblock+urgent@elrod.me +} + +define contact{ + contact_name codeblockp + alias Rick Elrod + service_notification_period 16x7 + host_notification_period 16x7 + 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 + pager codeblock+urgent@elrod.me +}