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
#!/bin/bash | |
# This script is used by Shinken to post alerts for services into a Slack channel | |
# using the slackcli command line. Create the channel, | |
# and integration first and then add this notification script in your | |
# Shinken configuration. | |
# | |
# You have to set enable_environment_macros=1 in the shinken.cfg configuration file. | |
# | |
# All variables that start with NAGIOS_ are provided by Shinken as |