I'm trying to use Check_MK's logwatch to send a critical alert (C
) if a given pattern (e.g., EOFException
) is found in a large number (~1000) of Jenkins log files. For this, I have created the following simple logwatch.cfg
file:
/var/opt/builddata/jenkins/jobs/*/builds/lastFailedBuild/log
C EOFException
While this basically works, I now get a new service in Check_MK for every log file, completely cluttering the GUI.
Is there any way to configure Check_MK to watch multiple log files as a single service?