summaryrefslogtreecommitdiffstats
path: root/gluster-nagios-addons.spec.in
diff options
context:
space:
mode:
authorTimothy Asir <tim.gluster@gmail.com>2014-03-21 16:06:00 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:14:33 +0530
commit9e821b211c2dd8ec2c046c84aa3d68a4c6f568dc (patch)
treeb01223096197061b1afe912e170ffaba3e6191c2 /gluster-nagios-addons.spec.in
parent065507fa78719135410636691170722a7efa4cea (diff)
Add command entry for check_vol_utilization in the spec file.
Change-Id: I726478c9a36674c24ef4dbecdea6f0f6a1f432f2 Signed-off-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/67 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 eab6809..f334937 100644
--- a/gluster-nagios-addons.spec.in
+++ b/gluster-nagios-addons.spec.in
@@ -129,6 +129,7 @@ command[check_swap_usage]=%{_libdir}/nagios/plugins/gluster/swap.py -w 80 -c 90
command[check_cpu_multicore]=%{_libdir}/nagios/plugins/gluster/cpu.py -w 80 -c 90
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\$
EOF
%_init_enable nrpe
%_init_restart crond