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_ipvs_mismatch

Rating
0 votes
Favoured:
0
Current Version
0.0.3
Last Release Date
2015-01-07
Compatible With
  • Nagios 3.x
License
GPL
Hits
11300
Files:
FileDescription
check_ipvs_mismatch.plcompare status of the nodes
check_ipvs_status.plcheck ipvs status on nodes with ipvsadmin
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!
Script for checking status of IPVS (IP Virtual Server) nodes through NRPE and reports if both nodes are in MASTER or BACKUP state due to network outages.
Script for checking status of IPVS (IP Virtual Server) nodes through NRPE and reports if both nodes are in MASTER or BACKUP state due to network outages. In this scenario, we have two machines and try to make the most of available resources so we don't use dedicated machine for loadbalancing.

check_ipvs_status.pl should be put on the nodes running ipvsadm. The config line in /etc/nagios/nrpe.conf looks like this:
"command[check_ipvs_status]=/usr/lib64/nagios/plugins/check_ipvs_status.pl -s /usr/bin/sudo -i /sbin/ipvsadm -v virtualnode.example.net"

"virtualnode.example.net" is the the name of the virtual host returned by "ipvsadm -L" command

check_ipvs_mismatch.pl should be put on Nagios server. This script is calling check_ipvs_status.pl through NRPE plugin and read status of the nodes.