From e5c38e4d2411d453a769fd5acda2bee97d9237d9 Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Wed, 16 Apr 2014 11:48:35 +0530 Subject: 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 --- config/glusternagios.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 # -- cgit