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
12107
Files:
FileDescription
check_keepalived_state.shcheck_keepalived_state.sh
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 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