Skip to content

Instantly share code, notes, and snippets.

# Based on a gist by benwtr (https://gist.github.com/benwtr/5691225)
# Works with Slack -> Hubot -> Icinga
#s
# Description:
# This script receives alerts in the format:
# /usr/bin/curl -X POST \
# "${HUBOT_URL}/${SLACKCHANNEL}@conference.${TEAM}.xmpp.slack.com" \
# -d "type=host" \
# -d "notificationtype=${NOTIFICATIONTYPE}" \
# -d "host=${HOSTDISPLAYNAME}" \