Home Directory Addons Active Checks check_keepalived_state

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_keepalived_state

Rating
0 votes
Favoured:
0
Current Version
0.0.1
Last Release Date
2015-12-01
Compatible With
  • Nagios 3.x
License
GPL
Hits
11600
Files:
FileDescription
check_keepalived_state.shcheck_keepalived_state.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks if the host's keepalived process is in MASTER or BACKUP state
Checks if the host's keepalived process is in MASTER or BACKUP state.

You have to set in your vrrp_instance config a line similar to that: notify /etc/keepalived/notify.sh

Here is the content of /etc/keepalived/notify.sh

#!/bin/bash
echo $1 $2 is in $3 state > /var/run/keepalive.state