22 May
2011
22 May
'11
2:05 p.m.
Hi,
I was playing around with hobbit-clients.cfg file trying to create a LOG rule to ignore this alert: May 21 00:54:21 redirect1-bo3.dl2.example.com monit[2029]: [ID 111343 daemon.error] 'gmond-sample.xml' timestamp test failed for /usr/local/Ganglia/logs/gmond-sample.xml
I **think the rule that put it into conniptions was HOST=%redirect.*bo3.dl2.example.com LOG /var/adm/messages COLOR=yellow IGNORE=%(repeated|gmond|monit|puppetd)
This would trigger it, because there is no match-pattern, only an ignore-pattern.
If you want to match all lines, use something like
LOG /var/adm/messages %. COLOR=yellow IGNORE=%...
Regards, Henrik