/usr/share/check_mk/checks-man/logwatch.groups is in check-mk-server 1.2.6p12-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | title: Grouping of logfiles
agents: linux, windows, aix, solaris
catalog: os/files
license: GPL
distribution: check_mk
description:
This check is used to group multiple logfiles together. This is usefull in cases when a logrotation mechanism is used,
with no permanent name for the current logfile.
Please refer to to manpage of {{logwatch}} for more details about logfile monitoring.
inventory:
One service for each group will be created
examples:
logwatch_groups = [
([("Debug Group", ("/var/log/*.err","/var/log/*.debug"))], ALL_HOSTS),
([("Message_group", ("/var/log/messages*",""))], ['test2'], ALL_HOSTS),
]
|