summaryrefslogtreecommitdiffstats
path: root/plugins/config_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config_generator.py')
-rw-r--r--plugins/config_generator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/config_generator.py b/plugins/config_generator.py
index a6757df..9941028 100644
--- a/plugins/config_generator.py
+++ b/plugins/config_generator.py
@@ -73,11 +73,11 @@ class GlusterNagiosConfManager:
def __createVolumeStatusService(self, volume, clusterName):
volumeService = {}
volumeService['host_name'] = clusterName
- volumeService['use'] = 'gluster-service-with-graph'
+ volumeService['use'] = 'gluster-service-withoout-graph'
serviceDesc = 'Volume Status - %s' % (volume['name'])
volumeService['service_description'] = serviceDesc
volumeService['_VOL_NAME'] = volume['name']
- checkCommand = 'check_vol_utilization!%s!%s!70!90' % \
+ checkCommand = 'check_vol_status!%s!%s' % \
(clusterName, volume['name'])
volumeService['check_command'] = checkCommand
volumeService['notes'] = "Volume type : %s" % (volume['typeStr'])