I've almost got it working with nagios, however the prowl.pl is giving me an error when nagios tries to run. Here is my config for notification and below is the error in nagios.log:
define command{
command_name notify-host-by-prowl
command_line /usr/local/bin/prowl.pl -apikey="$CONTACTADDRESS4$" -application="Nagios" -event="Host" -notification="$HOSTNAME$ $SERVICEDESC$ '$SERVICEOUTPUT$'"
}
define command{
command_name notify-service-by-prowl
command_line /usr/local/bin/prowl.pl -apikey="$CONTACTADDRESS4$" -application="Nagios" -event="Service" -notification="$HOSTNAME$ $SERVICEDESC$ '$SERVICEOUTPUT$'"
}
[1247160672] **ePN failed to compile /usr/local/bin/prowl.pl: "Missing right curly or square bracket at (eval 1) line 95, at end of line
syntax error at (eval 1) line 102, at EOF" at /usr/sbin/p1.pl line 159.
Wow, that got my attention. Any luck with Nagios? It'd be cool to integrate with Keynote as well.