Skip to content

Instantly share code, notes, and snippets.



Created Jan 2, 2014
What would you like to do?
Command configuration for the script
# Command: Pushover for host
define command {
command_name host-notify-by-pushover
command_line /usr/local/bin/ -u idXXXXXXXXXXXXXXX -a aXXXXXXXXXXXXXXXX -t "Icinga" -m "$HOSTNAME$: $HOSTSTATE$ ngfy://krizic/$HOSTNAME$"
# Command: Pushover for service
define command {
command_name service-notify-by-pushover
command_line /usr/local/bin/ -u idXXXXXXXXXXXXXXX -a aXXXXXXXXXXXXXXXX -t "Icinga" -m "$HOSTNAME$ – $SERVICEDESC$ : $SERVICESTATE$. Additional info: '$SERVICEOUTPUT$'" -x "$HOSTNAME$" -y "$SERVICEDESC$" -z "krizic"
# ngfy://krizic/$HOSTNAME$/$(echo "$SERVICEDESC$" | sed -e 's/ /+/g')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment