Skip to main content
Solved

Check file age witch OS-Windows-NSClient05-Files-Generic-NRPE-custom

  • 29 March 2024
  • 2 replies
  • 130 views

Hello,
I would like to configure a service with the template OS-Windows-NSClient05-Files-Generic-NRPE-custom to control the age of files.
I have several questions about this template:
- How do I configure a file age control?
- What should I put in the "FILTER" option?
- Are the thresholds expressed in minutes?

Thank you for your help.

Hi @J Capelle,

Here’s an example of filter filter=creation < -2d and line_count > 100. You may find more inforamtion here.

 

 


Thank you for your reply.
I hadn't thought of looking in the NSClient documentation.


Reply