I’m trying to establish checks for certain single files, but I’m stuck quite at the beginning:
following the instructions on https://mathias-kettner.de/checkmk_check_fileinfo.html I created /etc/check_mk/fileinfo.cfg at agent site with content (as an example):
This provides following ouput with server-function “Download agent output”:
... <<<fileinfo:sep(124)>>> 1524214198 /etc/hosts |missing|1524214198 ...
My (first) problem: of course this file EXISTS at client site, same result happens for every other file spec I tried…
My second problem: "MK_CHECK DISCOVERY doesn’t generate any service for this agent output
My third problem: I created a single file check manually, but this service doesn’t appear for the host (which supplies the above posted fileinfo output)
Definition of the service as “Size and age of single files”-rule in Main Directory:
Any suggestions for further investigations?
Thanks in advance