Mk_logwatch.exe not find

Hello,
We want to monitor some text files under Windows. In the checkmk_user.yml it says “Please, use plugin mk_logwatch”.
Now I searched for the plugin “mk_logwatch.exe /.bat /.ps1…”. But I can’t find it under “C:\Program Files (x86)\checkmk\service\plugins” or under Agents in the frontend. It is not found in the “Windows Agents” section. Is there any change ich v2.1.x?

Does anyone have any idea how we can best monitor text file for content? Or where I can find mk_logwatch for Windows?

CMK version:
Checkmk Raw Edition 2.1.0p9
OS version:
Ubuntu 22.04.1

I dont have RAW but CEE and there it is under C:\ProgramData\checkmk\agent\plugins\mk_logwatch.checkmk.py

But keep in mind, that with p9 and up it is not working at the moment.
Look here (sorry on german).

Thx @MarcK .
German is my main language. Next Year we have CEE to.
Thx for the Info! I have configured a wolf^^

Ok. I have to use the mk_logwatch,py. script with the python3 from the install folder (take from Agents from the Frontend and place it in the install Folder under C:\ProgramData…

The logwatch.cfg have to place in C:\ProgramData\checkmk\agent\config\ ?

And this is for the config enough?
–SNIP
C:\temp\SomeLog1.txt
W Das System kann die angegebene Datei nicht finden

C:\temp\SomeLog2.txt
W Das System kann die angegebene Datei nicht finden
–SNAP

Unfortunately I could not find any proper documentation for Logwatch under Windows until now.

It is the same as under Linux. The config folder is the folder you mentioned.

2 Likes

@andreas-doehler May you please share the link to the logwatch docu? I dont find it either.

The logwatch.cfg goes to C:\ProgramData\checkmk\agent\config\

You may use globbing for the files:

C:\temp\SomeLog[1-9].txt
 W Das System kann die angegebene Datei nicht finden

Note the space in front of the Classifier.
In ‘Agents and Plugins’ you find an example configuration.
Beside that I have this link to an old docu:

I hope that helps.

2 Likes

Unfortunately there is no actual documentation. Also no old one :wink:
This should be an urgent task for the docu team to bring back the linked article from the web archive in an actual version.
It would be nice if @robin.gierse can give this problem to the right people.
Such a key component like log file monitoring must be inside the official docu.

3 Likes

I involved the right people. :slightly_smiling_face:
Stay tuned. :v:

2 Likes