Created
December 31, 2013 19:07
-
-
Save matt448/8200958 to your computer and use it in GitHub Desktop.
Nagios configuration lines for adding Slack to contacts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define contact { | |
contact_name slack | |
alias Slack | |
service_notification_period 24x7 | |
host_notification_period 24x7 | |
service_notification_options w,u,c,r | |
host_notification_options d,r | |
service_notification_commands notify-service-by-slack | |
host_notification_commands notify-host-by-slack | |
} | |
define contactgroup{ | |
contactgroup_name admins | |
alias Nagios Administrators | |
members root,slack | |
} | |
define contactgroup{ | |
contactgroup_name admins-page | |
alias Nagios Administrators | |
members root,slack | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment