CheckMK Logwatch Plugin - Check configured on host but not displaying in management

Hi Constantinos,

Well, what I see in the output from the agent is the expected output. It finds the logfile, but reports no errors in it.

<<<win_logfiles>>>
[[[C:\tmp\checkmk.log]]]

in the output shows that it has actually found your logfile but not found any errors in it. It will only find them once new ones are added. Maybe the instructions here can help you:
https://wiki.wevers.tv:8443/index.php/Monitoring_logfiles_on_Windows_with_Check_MK

Also, but maybe that’s just the formatting of the forum, in your logwatch.cfg all “command” lines should start with a space, you in your case it should read something like this:

C:\tmp\checkmk.log
 I a
 W world
 C test

When all in place run something like this from your CheckMK server (as the site user)

nc -v <windows server> 6556

In the output you should see the logwatch section. If that’s the case, the logfile should appear as a service on the host when you do a full service scan.

1 Like