summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-04-16 11:48:35 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:14:33 +0530
commite5c38e4d2411d453a769fd5acda2bee97d9237d9 (patch)
tree8d698b5d8b28769d693eddf25cea633a17df60ae /config
parent8faeb444a587fb36fa7605d85b3a2f68b416af17 (diff)
plugins: Fixed errors in syslog plugin
Added a requires on nsca and fixed the errors on calling syslog plugin Change-Id: I310a6a8aa64042a290d45207f78cf1d1d2b3b09b Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config')
-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 004b375..1327c31 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' then :omprog:;GLFS_NAG_Template
+if ($app-name contains 'glusterfsd' or $programname startswith 'bricks') and not ($msg contains '@cee') then :omprog:;GLFS_NAG_Template
#