Get notifications a sane way instead of through email filters

Signed-off-by: Ricky Elrod <relrod@redhat.com>
This commit is contained in:
Ricky Elrod 2018-05-21 22:28:48 +00:00
parent 669f5f003e
commit 3a24cbc295

View file

@ -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
}