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
10968
Files:
FileDescription
check_ipvs_mismatch.plcompare status of the nodes
check_ipvs_status.plcheck ipvs status on nodes with ipvsadmin
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.