summaryrefslogtreecommitdiffstats
path: root/gluster-nagios-addons.spec.in
diff options
context:
space:
mode:
authorNishanth Thomas <nthomas@redhat.com>2014-04-02 18:10:40 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:14:33 +0530
commit13928ae0da5afb2d58fa2a268ebc61ee522ba3c4 (patch)
tree32a73c5d4d262649f48520c9f228a336287c27a3 /gluster-nagios-addons.spec.in
parent3f8ba5ca094e20d01fbd437a35c7f91c2d69b06f (diff)
Added the plugins for discovering the gluster components
Modified the code to address the review comments Change-Id: Iaf18745920ec1177622b5f8a667a2e77f89796da Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22345 Tested-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
Diffstat (limited to 'gluster-nagios-addons.spec.in')
-rw-r--r--gluster-nagios-addons.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gluster-nagios-addons.spec.in b/gluster-nagios-addons.spec.in
index 1de9f70..22b3aec 100644
--- a/gluster-nagios-addons.spec.in
+++ b/gluster-nagios-addons.spec.in
@@ -131,6 +131,9 @@ command[check_cpu_multicore]=%{_libdir}/nagios/plugins/gluster/cpu.py -w 80 -c 9
command[check_interfaces]=%{_libdir}/nagios/plugins/gluster/network.py -e lo -e ';vdsmdummy;'
command[check_brick_usage]=/usr/lib64/nagios/plugins/gluster/check_disk_and_inode.py -w 80 -c 90 -u MB -n -i \$ARG1\$
command[check_vol_utilization]=sudo /usr/lib64/nagios/plugins/gluster/check_vol_utilization.py \$ARG1\$ -w \$ARG2\$ -c \$ARG3\$
+###Auto Discovery related
+command[discoverpeers]=/usr/lib64/nagios/plugins/gluster/discoverpeers.py
+command[discoverlogicalcomponents]=/usr/lib64/nagios/plugins/gluster/discoverlogicalcomponents.py
EOF
%_init_enable nrpe
%_init_restart crond