summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-05-20 12:21:05 +0530
committerSahina Bose <sabose@redhat.com>2014-05-20 03:12:13 -0700
commit8cbf413edaa6652abd68a8bf966eaac5f58466fb (patch)
tree43319d06b86ec2347d6bddaaa35a7e6d4b845429
parentb91831f95688a934239dce1305d046a5ca913809 (diff)
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 <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7806 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
-rw-r--r--config/glusternagios.conf.in2
1 files changed, 1 insertions, 1 deletions
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
#