Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_keepalived_state
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.
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
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
Reviews (0)
Be the first to review this listing!