File Size monitoring
File Size monitoring
How to find out File Size monitoring Nagios Core 4.3.1
Re: File Size monitoring
Are you using Nagios XI or Nagios Core? Do you need to monitor file sizes of files on Windows, Linux, etc.? Can you elaborate and/or give us examples?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: File Size monitoring
I am using Nagios Core 3.4.1 and i need to monitor the file size on windows
Re: File Size monitoring
You could use NSClient++ with check_nrpe, and check_files.
https://docs.nsclient.org/reference/win ... heck_files
Example:
https://docs.nsclient.org/reference/win ... heck_files
Example:
Code: Select all
./check_nrpe -H x.x.x.x -c check_files -a path=c:/TEMP pattern=*.txt "detail-syntax=%(filename): %(size)" "warn=size>20k" max-depth=1
WARNING: 1/3 files (test.txt: 611928)|'test.txt size'=597.58593KB;20;0 'test1.txt size'=0KB;20;0 'test2.txt size'=0KB;20;0
Be sure to check out our Knowledgebase for helpful articles and solutions!