summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2014-05-19 17:49:55 +0530
committerSahina Bose <sabose@redhat.com>2014-05-27 23:47:14 -0700
commit65f148dd2d101ce4c320de15457ac76420d21fa3 (patch)
treee28213254a6687a13349cbcb209c22a7e7daccad /plugins
parent01d82e0403c765b8593c6b03b334ddde3162deb3 (diff)
gluster-nagios-addons: Fix for sadf plugins going to unknown state.
This patch fixes the issue of sadf plugins going to unknown state giving xml error. This issue occurs during the day's transition due to sadf returning output without any records. This patch adds a job to collect data two times during the last minute of the day, because of which we get a record for time 00:00:01, which was not got earlier. Change-Id: Ibcecfe22215bdf4e41a5e9fed329a7a99320bedc Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1081953 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/7802 Reviewed-by: Bala FA <barumuga@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gluster-sysstat.crontab3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gluster-sysstat.crontab b/plugins/gluster-sysstat.crontab
index 4da7d25..0762a95 100644
--- a/plugins/gluster-sysstat.crontab
+++ b/plugins/gluster-sysstat.crontab
@@ -1 +1,4 @@
+# This job is added to collect data two times during the last minute of the day.
+# Because of which we get a record for time 00:00:01
+59 23 * * * root /usr/lib64/sa/sa1 60 2
*/1 * * * * root /usr/lib64/sa/sa1 1 1