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

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
7956
Files:
FileDescription
check_ipvs_mismatch.plcompare status of the nodes
check_ipvs_status.plcheck ipvs status on nodes with ipvsadmin

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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.