summaryrefslogtreecommitdiffstats
path: root/plugins/config_generator.py
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-06-09 16:02:51 +0530
committerSahina Bose <sabose@redhat.com>2015-05-31 23:55:44 -0700
commitd040cb45469d64fa7534247f9568b48b28114c3f (patch)
tree2d082dfbc0e6261668ef6e18e4acfca67bc8714c /plugins/config_generator.py
parent48ad0ab08d4762bade7fb91d2260ae5e7019851d (diff)
server-plugin: To check if any vol has server side quorumv1.1.0
Added a server side plugin to change status from Pending to OK/UNKNOWN depending on if volumes have server side quorum turned on Renamed service to ensure service definition gets updated on upgrades. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1106421 Change-Id: I1f1ca1dcf56872342ec8e25396a89163d22aedeb Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8023 Reviewed-by: darshan n <dnarayan@redhat.com> Reviewed-by: Ramesh N <rnachimu@redhat.com>
Diffstat (limited to 'plugins/config_generator.py')
-rw-r--r--plugins/config_generator.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/config_generator.py b/plugins/config_generator.py
index 62c39ce..64b093a 100644
--- a/plugins/config_generator.py
+++ b/plugins/config_generator.py
@@ -144,8 +144,9 @@ class GlusterNagiosConfManager:
def createClusterQuorumService(self, clusterName):
service = {}
service['host_name'] = clusterName
- service['use'] = 'gluster-passive-service'
- service['service_description'] = 'Cluster - Quorum'
+ service['use'] = 'gluster-passive-freshness-service'
+ service['service_description'] = 'Cluster - Quorum Status'
+ service['check_command'] = 'check_quorum_status'
return service
def createClusterAutoConfigService(self, clusterName, hostIp):