Skip to content

Instantly share code, notes, and snippets.

@bbuivn
bbuivn / slack_shinken_services.sh
Last active March 21, 2017 17:37 — forked from matt448/slack_nagios.sh
Script to post Shinken service notifications into a Slack channel
#!/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