From 4d66729bfae280e3765f11b34c34617e499ab25e Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Fri, 2 May 2014 16:49:16 +0530 Subject: plugins: Plugin to handle server quorum Plugin to handle log messages related to server quorum Message is parsed for msgid as the msgid is not correctly populated now Fixed pep8 errors in nscautils and added tests Also changed the service name to remove "Status" -it now reads Volume Quota, for instance Change-Id: I339ed16b3806f853ae3555a998974c47157c95ad Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/7648 Reviewed-by: Shubhendu Tripathi Reviewed-by: Ramesh N 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 1327c31..e3a8bc0 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') then :omprog:;GLFS_NAG_Template +if (($app-name contains 'glusterfsd' or $programname startswith 'bricks') and not ($msg contains '@cee')) or ($msg contains 'quorum') then :omprog:;GLFS_NAG_Template # -- cgit