Skip to content

Instantly share code, notes, and snippets.

@sricola
Created January 3, 2012 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sricola/1556828 to your computer and use it in GitHub Desktop.
Save sricola/1556828 to your computer and use it in GitHub Desktop.
define command{
command_name notify-host-by-txt
command_line /usr/bin/printf "%b" "**$NOTIFICATIONTYPE$**\n$HOSTALIAS$\n$HOSTOUTPUT$\n$SHORTDATETIME$\n$HOSTACKAUTHORALIAS$\n$HOSTACKCOMMENT$" | /bitly/local/bin/python /bitly/bin/send_sns.py $CONTACTPAGER$
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment