summaryrefslogtreecommitdiffstats
path: root/gluster-nagios-addons.spec.in
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-04-28 18:55:12 +0530
committerSahina Bose <sabose@redhat.com>2014-04-29 06:27:11 -0700
commit63a7839a3d05494960d4ba15e5fef08157c82887 (patch)
tree0d33ba93737beda4368ec6c6edf74a60d97d3066 /gluster-nagios-addons.spec.in
parentb67af78d5f230cf64faa85812d1c8eb32994ecd4 (diff)
autoconf: Add NRPE command to configure NSCA
Adding a new NRPE command 'configure_gluster_node' to configure gluster nodes to send passive check results using NSCA. Change-Id: I1993eefab112f9fb5ba7764593cebca9923b4aba Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7595 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'gluster-nagios-addons.spec.in')
-rw-r--r--gluster-nagios-addons.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gluster-nagios-addons.spec.in b/gluster-nagios-addons.spec.in
index 44b2489..9406bce 100644
--- a/gluster-nagios-addons.spec.in
+++ b/gluster-nagios-addons.spec.in
@@ -148,6 +148,7 @@ command[check_vol_heal_status]=sudo %{_libdir}/nagios/plugins/gluster/check_volu
command[discoverpeers]=sudo %{_libdir}/nagios/plugins/gluster/discoverpeers.py
command[discoverlogicalcomponents]=sudo %{_libdir}/nagios/plugins/gluster/discoverlogicalcomponents.py
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\$
EOF
%_init_enable nrpe
%_init_restart crond