Skip to main content
Solved

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

  • March 29, 2024
  • 2 replies
  • 460 views

Forum|alt.badge.img+1

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.

Best answer by omercier

Hi @J Capelle,

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

 

 

2 replies

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 278 replies
  • Answer
  • March 29, 2024

Hi @J Capelle,

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

 

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • 1 reply
  • April 2, 2024

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