My tenshi.conf looks like: set queue host1_misc tenshi@localhost user@localhost [* * * * *] set queue host1_critical tenshi@localhost user@localhost [now] tenshi CRITICAL report group_host host1: # criticals host1_critical ^(?:/usr/bin)?sudo: host1_critical ^Oops host1_critical ^Linux host1_critical ^init # all other host1_misc .* group_end When tenshi tries to go through the log messages it says: [MAIN] got message: Oct 14 20:13:23 host1 innfeed[12383]: ME articles active 0 bytes 0 [MAIN] skipping to regex: 6 after failed match for group regex on line: innfeed: ME articles active 0 bytes 0 [..........] [MAIN] got message: Oct 14 20:14:10 host1 innfeed[12383]: foo:0 idle tearing down connection [MAIN] skipping to regex: 6 after failed match for group regex on line: innfeed: foo:0 idle tearing down connection [..........] Every log message contains the host name of the sender but tenshi seems to be unable to filter the hostname. So it seems that group_host has no effect. I would like to filter log messages because of the name of host. Is this possible? Why doesn't group_host work for me? Regards, Sebastian Wieseler
Which ebuild and version is this about?
app-admin/tenshi-0.7 # $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.7.ebuild,v 1.6 2007/09/22 23:20:59 philantrop Exp $
app-admin/tenshi-0.9.1 has got the same "problem".
You are using the wrong syntax, check the man page. It's not group_host host1: but group_host host1 You have an extra ':' there.
Closing as INVALID. Re-open if necessary. Cheers