diff options
author | ndarshan <dnarayan@redhat.com> | 2014-05-13 18:12:18 +0530 |
---|---|---|
committer | Bala FA <barumuga@redhat.com> | 2014-05-20 02:59:09 -0700 |
commit | b91831f95688a934239dce1305d046a5ca913809 (patch) | |
tree | 30fab00468fff553de213667b766fc1692a6bc9d /gluster-nagios-addons.spec.in | |
parent | 5de7981e12ffa5b0dc5efbb951cbd0311a0cd7ad (diff) |
gluster-nagois-addon: setting interval option for sadf plugins.
Setting interval option for memory,swap,network,cpy plugins
to 2 minutes. This interval is used for checking if the data
retrived from sadf command is old. Before data from sadf
older than a minute was considred as stale and hence state was
moved to unknown, now its relaxed to two minutes.
Change-Id: I237d04ffba8d2dd128ae1c9b2248425460143b8c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1081953
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/7754
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
Reviewed-by: Bala FA <barumuga@redhat.com>
Diffstat (limited to 'gluster-nagios-addons.spec.in')
-rw-r--r-- | gluster-nagios-addons.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gluster-nagios-addons.spec.in b/gluster-nagios-addons.spec.in index 4c8a996..7ba9830 100644 --- a/gluster-nagios-addons.spec.in +++ b/gluster-nagios-addons.spec.in @@ -142,10 +142,10 @@ fi cat >> %{_sysconfdir}/nagios/nrpe.cfg <<EOF %{_start_conf_section} command[check_disk_and_inode]=%{_libdir}/nagios/plugins/gluster/check_disk_and_inode.py -w 80 -c 90 -l -i /boot -i /var -i /root -n --inode -command[check_memory]=%{_libdir}/nagios/plugins/gluster/memory.py -w 80 -c 90 -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_memory]=%{_libdir}/nagios/plugins/gluster/memory.py -w 80 -c 90 -t 2 +command[check_swap_usage]=%{_libdir}/nagios/plugins/gluster/swap.py -w 80 -c 90 -t 2 +command[check_cpu_multicore]=%{_libdir}/nagios/plugins/gluster/cpu.py -w 80 -c 90 -t 2 +command[check_interfaces]=%{_libdir}/nagios/plugins/gluster/network.py -e lo -e ';vdsmdummy;' -t 2 command[check_brick_usage]=%{_libdir}/nagios/plugins/gluster/check_disk_and_inode.py -w 80 -c 90 -n -i \$ARG1\$ command[check_vol_utilization]=sudo %{_libdir}/nagios/plugins/gluster/check_vol_utilization.py \$ARG1\$ -w \$ARG2\$ -c \$ARG3\$ command[check_vol_status]=sudo %{_libdir}/nagios/plugins/gluster/check_volume_status.py -v \$ARG1\$ -t \$ARG2\$ |