From ad004f45088ee81723b2a2420b3bce01f0bd845b Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Fri, 14 Mar 2014 12:49:59 +0530 Subject: plugins: Plugin to check the cluster utilization This plugin sums up the volume utilization outputs in a cluster Added a utils livestatus for common code related to mk_livestatus Added constants for livestatussocket path Change-Id: Id665ad3aaa1140e54c831d721ee874421ae84fa3 Signed-off-by: Sahina Bose Reviewed-on: https://cuckoo.blr.redhat.com:8443/10 Reviewed-by: Bala FA --- nagios-server-addons.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nagios-server-addons.spec.in') diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index 08615de..865db79 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -120,7 +120,7 @@ fi if grep -q "#enable_environment_macros=0" $NagiosCFGFile; then sed -i -e 's/#enable_environment_macros=0/enable_environment_macros=1/g' $NagiosCFGFile elif grep -q "process_performance_data=0" $NagiosCFGFile ; then - sed -i -e 's/process_performance_data=0/process_performance_data=1/g' $NagiosCFGFile + sed -i -e 's/enable_environment_macros=0/enable_environment_macros=1/g' $NagiosCFGFile fi if ! grep -q "#rhs performance monitoring" $NagiosCFGFile; then @@ -132,7 +132,7 @@ cfg_dir=/etc/nagios/gluster service_perfdata_command=process-service-perfdata host_perfdata_command=process-host-perfdata -broker_module=/usr/lib64/check_mk/livestatus.o /var/spool/nagios/cmd/live +broker_module=/usr/lib64/check_mk/livestatus.o @nagioslivestatussocketpath@ EOF fi -- cgit