I would like to use logwatch on my already working check_mk (linux debian).
From http://mathias-kettner.de/checkmk_logfiles.html "Installing the logwatch extension" i have to copy mk_logwatch into "
/usr/lib/check_mk_agent/plugins/". (my install was default).
I don't have that directory however mk_logwatch has been installed here "/usr/share/check_mk/agents/plugins/mk_logwatch".
For my localhost the config file has been also installed by default here "/usr/share/check_mk/agents/logwatch.cfg".
I have check "/root/.check_mk_setup.conf" to look what is the value for "LOGWATCH_DIR" there is no such definition but i understand that drawback is "In the check_mk configuration directory you specified during setup.sh." so i copied it here confdir='/etc/check_mk'
I have set in logwatch.cfg the following to be sure i have some data to read:
What and where to go from here ?
I have a web accessible page : http://mynagios/check_mk/logwatch.py that doesn't show anything but : All Problematic Logfiles, my user and the time.
And "/var/lib/check_mk/logwatch" is empty.