From 3ce8475c3e3ace39696d83e45c249f22554d4602 Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Mon, 9 Jun 2014 15:11:49 +0530 Subject: plugins: nrpe plugin to check volumes with server quorum Added a plugin to check if any volume in the cluster has the server side quorum turned on Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1106421 Change-Id: I897aedd737a622832548e7470e8f3cf9fb7dbc2c Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/8016 Reviewed-by: darshan n Reviewed-by: Ramesh N --- gluster-nagios-addons.spec.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gluster-nagios-addons.spec.in') diff --git a/gluster-nagios-addons.spec.in b/gluster-nagios-addons.spec.in index cc28003..27b13fa 100644 --- a/gluster-nagios-addons.spec.in +++ b/gluster-nagios-addons.spec.in @@ -147,6 +147,7 @@ command[discover_volume_list]=sudo %{_libdir}/nagios/plugins/gluster/discover_vo command[discover_volume_info]=sudo %{_libdir}/nagios/plugins/gluster/discover_volumes.py -v \$ARG1\$ command[discoverhostparams]=sudo %{_libdir}/nagios/plugins/gluster/discoverhostparams.py command[configure_gluster_node]=sudo %{_libdir}/nagios/plugins/gluster/configure_gluster_node.py -c \$ARG1\$ -n \$ARG2\$ -H \$ARG3\$ +command[check_quorum_status]=sudo %{_libdir}/nagios/plugins/gluster/check_quorum_status.py %{_end_conf_section} EOF @@ -155,6 +156,7 @@ EOF %_init_try_restart crond %_init_try_restart rsyslog %_init_try_restart glusterpmd +%_init_try_restart nrpe %preun if [ "$1" -eq 0 ]; then -- cgit