Random Project

Brilliant!

After some tinkering got this script to monitor my ASA5510 pair. Don’t know whether this is proper or not but I had to change the script and command slightly:

*check_pixfailover.pl:
modify line: use lib ‘/usr/lib/nagios/plugins/’;

*commands.cfg:

define command{
command_name check_pixfailover
command_line $USER1$/check_pixfailover.pl -H $HOSTADDRESS$ -C SNMPCommunity -P $SERVICEOUTPUT$
}

Not doing this would result in a CRITICAL (null) status or 127 error.

Using ASA 8.2.2 & Nagios 3.2.0.