Configuration of text file logging for Windows agents

Running checkmk RAW - 2.0.0p7 (CRE)

I am trying to monitor a text log file on a Windows system and I’m not having a lot of success. So far, what I understand is that you have to use the logwatch_mk.py and add it to ProgramData\checkmk\agent\local and python-3.8.zip (which doesn’t appear to be a proper zip file as opening/extracting it fails). I have a config logwatch.cfg in ProgramData\checkmk\agent\config. When I put python-3.8.zip into c:\ProgramData\checkmk\agent\install\modules and restart the checkmk service it attempts to process the file but errors out saying:

2021-08-09 17:38:43.693 [srv 4616] Reading module config normal
2021-08-09 17:38:43.695 [srv 4616] Processed [1] module(s)
2021-08-09 17:38:43.695 [srv 4616] Finding modules
2021-08-09 17:38:43.696 [srv 4616] Module ‘C:\Program Files (x86)\checkmk\service\install\python-3.8.zip’ is added to the list
2021-08-09 17:38:43.696 [srv 4616] Installing modules
2021-08-09 17:38:43.697 [srv 4616] Install module python-3.8
2021-08-09 17:38:43.714 [srv 4616] [Err ] Error during NameSpace 1 /unzip/ -0X7FFFBFFB
2021-08-09 17:38:43.715 [srv 4616] [Err ] Error during NameSpace 1 /unzip/. The file is ‘C:\ProgramData\checkmk\agent\install\modules\python-3.8.zip’

Also, the file is removed/deleted from the directory I placed it. So I’m trying to follow the process (as I’ve read up on forums since the documentation on this appears to be non-existent) but it does not seem to want to work at a basic level.

I’m sure I’m doing something wrong, but all my googling and looking at checkmk documentation does not seem to have helped yet. Any help is appreciated.

Thanks!

Same problem … more details, unfortunately only in german

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.