Added prowl contact define for nagios

This commit is contained in:
Ossi Salmi 2012-10-31 14:31:15 +02:00
parent 0f4bbae2e9
commit 684c1c4474
2 changed files with 33 additions and 0 deletions

View file

@ -245,3 +245,12 @@ define command{
}
define command{
command_name notify-host-by-prowl
command_line /usr/bin/curl -s -o /dev/null -F apikey="$CONTACTADDRESS1$" -F application="Nagios" -F event="Host Alert" -F description="$HOSTNAME$ $HOSTDESC$ '$HOSTOUTPUT$'" "https://prowl.weks.net/publicapi/add"
}
define command{
command_name notify-service-by-prowl
command_line /usr/bin/curl -s -o /dev/null -F apikey="$CONTACTADDRESS1$" -F application="Nagios" -F event="Service Alert" -F description="$HOSTNAME$ $SERVICEDESC$ '$SERVICEOUTPUT$'" "https://prowl.weks.net/publicapi/add"
}