Home Directory Plugins Hardware Network Gear Cisco Check PIX Failover Status

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check PIX Failover Status

Rating
1 vote
Favoured:
0
Current Version
1.00
Last Release Date
2010-03-02
Compatible With
  • Nagios 3.x
Owner
Hits
95962
Files:
FileDescription
check_pixfailovercheck_pixfailover
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Checks status of a pair of PIX firewalls in failover. Allows OK state for any valid status, and can notify on change of status (first change only).
Check PIX Failover status.

This is similar to other plugins, however standby / active is treated as OK, but warns after a switch of status.

Run this against your primary unit IP address only; it will check both primary and standby units together.

Previous status is passed as a parameter to compare against:

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

Sample output includes:

Standard result:
Failover OK: Primary:Active Secondary:Standby

First check after a switch:
Failover WARNING: Primary:Standby Secondary: Active

Subsequent checks:
Failover OK: Primary:Standby Secondary: Active

Any questions or suggestions for improvement, please let me know.

Richard Yates
Reviews (1)
bylain2097, January 8, 2011
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.