From 8cbf413edaa6652abd68a8bf966eaac5f58466fb Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Tue, 20 May 2014 12:21:05 +0530 Subject: plugins: Corrected the omprog filter for quota logs The app-name for quota log is based on the brick path and not "bricks". Corrected the filter pattern to match the logs for quota Change-Id: I9619a1131ee54e60b22d36040038a3bbc5d6233d Bug-Url: https://bugzilla.redhat.com/1091998 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/7806 Reviewed-by: Kanagaraj M --- config/glusternagios.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/glusternagios.conf.in') diff --git a/config/glusternagios.conf.in b/config/glusternagios.conf.in index e3a8bc0..b845b55 100644 --- a/config/glusternagios.conf.in +++ b/config/glusternagios.conf.in @@ -8,7 +8,7 @@ $actionomprogbinary @glusternagiospluginsdir@/check_gluster_syslog.py # $template GLFS_NAG_Template,"%msgid%/%syslogfacility-text:::uppercase%/%syslogseverity-text:::uppercase%/%app-name:::uppercase% [%TIMESTAMP:::date-rfc3339%] %msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n" -if (($app-name contains 'glusterfsd' or $programname startswith 'bricks') and not ($msg contains '@cee')) or ($msg contains 'quorum') then :omprog:;GLFS_NAG_Template +if (($msg contains 'quorum' or $msg contains 'quota_log_usage') and not ($msg contains '@cee')) then :omprog:;GLFS_NAG_Template # -- cgit