:
Monitoring of LVS load balancing system from Linux
Module data
Get conections per second for node “nido-1”
module_begin
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
module_end
Get inactive connections for node "nido-2"
module_begin
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
module_end
Get status of "nido-2" in the cluster (alive/not alive)
module_begin
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
module_end
(Visited 320 times, 1 visits today)


