We are moving!

We are currently migrating the old library to a new one. Please, do not UPLOAD or modify any of your plugins/modules. Please wait until 1st January 2018. New library site will be at https://pandorafms.com/library with a better interface. We're working hard to move all the modules/plugins from this site to the new one.
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Operating Systems > Linux

LVS Monitoring

Author: slerena2 Create in: 08/14/2009 Update in: 08/14/2009
Module type : Local module

Monitoring of LVS load balancing system from Linux

Module data

Get conections per second for node "nido-1"

module_name Nido1 CPS
module_exec ipvsadm -L | grep -i nido-1 | awk "{ print $5 }"
module_description Nido1 connections per second
module_type generic_data

Get inactive connections for node "nido-2"

module_name Nido2 CIPS
module_exec ipvsadm -L | grep -i nido-2 | awk "{ print $6 }"
module_description Nido2 inactive connections per second
module_type generic_data

Get status of "nido-2" in the cluster (alive/not alive)

module_name Nido-2_Status
module_exec ipvsadm -L | grep -i nido-2 | awk "{print $2}" |wc -l
module_description Nido-2
module_type generic_proc