summaryrefslogtreecommitdiffstats
path: root/gluster-nagios-addons.spec.in
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-06-09 15:11:49 +0530
committerSahina Bose <sabose@redhat.com>2015-05-31 23:54:53 -0700
commit3ce8475c3e3ace39696d83e45c249f22554d4602 (patch)
treee18a76d2a1a6116df43cbabd5fffac0eada1f2e6 /gluster-nagios-addons.spec.in
parentf6f9efa7dd287803a197a38fdde961519883df62 (diff)
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 <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8016 Reviewed-by: darshan n <dnarayan@redhat.com> Reviewed-by: Ramesh N <rnachimu@redhat.com>
Diffstat (limited to 'gluster-nagios-addons.spec.in')
-rw-r--r--gluster-nagios-addons.spec.in2
1 files changed, 2 insertions, 0 deletions
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