From 65f148dd2d101ce4c320de15457ac76420d21fa3 Mon Sep 17 00:00:00 2001 From: ndarshan Date: Mon, 19 May 2014 17:49:55 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/7802 Reviewed-by: Bala FA Reviewed-by: Sahina Bose --- plugins/gluster-sysstat.crontab | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit