Dear Nagios Forum members,
I'm newbie about Nagios, and I'd like to get some help. Could You please give me a 'how to' about monitoring the amount of files on a windows share?
There is a software wich creates files into \\servername\share\folder1 and there is an another one wich process them and i would like to know if there are many files unprocessed.
So i would like to check this folder with Nagios, and set it to send email alert if the unprocessed files reaches such as 20 or something.
So if somebody uses this method, please cotact me.
Thanks in advance.
Windows share file count check
Re: Windows share file count check
You would need to set up NSClient++ on the Windows machine that hosts the share, and then use the check_files function to accomplish your monitoring. Here are a few links for reference -
Setting up NSClient++ - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
See this link for the NSClient++ functionality on check_files - https://docs.nsclient.org/reference/win ... heck_files
This is a pretty good reference for instructions on using check_files - http://sites.box293.com/nagios/guides/c ... es-folders
Setting up NSClient++ - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
See this link for the NSClient++ functionality on check_files - https://docs.nsclient.org/reference/win ... heck_files
This is a pretty good reference for instructions on using check_files - http://sites.box293.com/nagios/guides/c ... es-folders
Former Nagios Employee