Difficulty with "Size, age and count of file groups", fileinfo didn't work

Hello,

I am new and I have installed check Mk in order to change and improve the supervision of my equipment. So I’d like to monitor whether my backup files are doing well. For the record, every day at 10pm, a job schedule occurs and places the files in a certain directory.

I saw that I needed to modify the fileinfo section in “check_mk.user.yml”. I did this by first trying it out with test files, as shown below :
image

But when I restart the agent service, this is what happens:

So if I understand correctly, the fileinfo works but doesn’t retrieve the data.
I’ve tried everything. Nothing works… it doesn’t work.
But that’s the manual version.
But even with the web interface, I have a problem. I can’t access the famous ‘Size and age of single files’ in ‘Agent access rules’. So I’d like to know where this is coming from. Can you please help me?

Josselin

Translated with DeepL.com (free version)

Hi Josselin,

Does the folder currently have a test.txt file? Discovery will only work, if at least one file is found. Otherwise you’ll need enforced services.

b) doesn’t findstr only show the exact match line? you’d want to see the lines below the fileinfo section header :wink:

Gerd

6 posts were split to a new topic: “Fileinfo” Monitoring

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.