Hello,
i want to Monitor whether the sum of the size of a selection of files is larger than a threshold. This files must be from today.
i tryed this but the result shows me the size of each file and i dont know how i select the filter for today
/usr/local/nagios/libexec/check_nrpe -H HOST -n -c check_files -a path=F:\oracle\oradata\backup\UNIWARE\ pattern=. “filter=creation > -1m” “crit=size<50g” “max-depth=1”
Thanks for Help
Andreas
Check_files sum of size from Files
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_files sum of size from Files
As far as I am aware there isn't a way to check the sum of the files in nsclient++, but I could be wrong.
NSClient++ isn't our project so they may know another method, the documentation for their project can be found here
https://docs.nsclient.org/reference/win ... heck_files
NSClient++ isn't our project so they may know another method, the documentation for their project can be found here
https://docs.nsclient.org/reference/win ... heck_files