Hi,
I am using CRE 1.6.0p9 with the Event Console.
All my linux boxes send their syslog messages to my check_mk server(s).
I have two nameservers that regularily flood my event console with kern.warning messages.
For a better overview I want to have these ocurrences in one event only.
Either re-configuring my linux boxes or creating a new rule in my rulepacks will be fine.
How can I achieve this? (Aggregation of syslog lines of the same host, facility and severity in the same second(s) in one check_mk event)
With “Time period” you can define the interval for the counting and the three check boxes should be selected to make single events for different applications and hosts.
and I want them to be in one event only. So that I can properly read them. My notifications are configured so that every new event in the event console also creates an alarm message in Telegram and it’s very hard to tell what the problem was when you have to scroll through these many lines.
One of the things I love about CheckMk is that there can be many ways to do things.
Maybe instead of rifling all messages to the monitor (as events), perhaps you could do something agent based (possible for you?) possibly even something more custom that you write to achieve what you’re wanting.
Sure, it may mean writing a script or something or maybe a combination of things… maybe switch to logwatch, etc.
If you do need to continue sending all messages maybe you can filter out the events somewhat. At least keep the noise down to Telegram, etc.
Hm… I think before I put that much more effort in it (really wrote some sick regexes for many applications), I will rather switch to over to logstash/graylog and don’t use the event console anymore.
It’s up to you of course. But in my opinion, I’d learn a bit more about how you might do things with CheckMk before adding more monitoring islands. YMMV.