blob: de17b9e68e1c62e0a10181656947cb54037349a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
##### glusternagios.conf #####
$ModLoad omprog
$actionomprogbinary @glusternagiospluginsdir@/check_gluster_syslog.py
#
## Pass logs to omprog if app-name is 'gluster'
#
$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 (($msg contains 'quorum') and not ($msg contains '@cee')) then :omprog:;GLFS_NAG_Template
#
## discard logs where app-name is 'gluster' as we processed already
#
#if $app-name contains 'gluster' then ~
|