diff options
author | Sahina Bose <sabose@redhat.com> | 2014-03-14 12:49:59 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:21:36 +0530 |
commit | ad004f45088ee81723b2a2420b3bce01f0bd845b (patch) | |
tree | 126104f6a84140b5f459b44d641e94ae4376d3d9 /nagios-server-addons.spec.in | |
parent | 998e1f9ef43f8fd6e2a7a3722bfd4f3f734c450d (diff) |
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 <sabose@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/10
Reviewed-by: Bala FA <barumuga@redhat.com>
Diffstat (limited to 'nagios-server-addons.spec.in')
-rw-r--r-- | nagios-server-addons.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |