Hi
I would like to monitor number of files under specific folder, below is the scenarios.
There will be folder (created daily with today date) and it will have 5 directories inside, and each folder will have 2 folders named success and error.
I would like to monitor number of files in error folder for each of the 5 folders.
Kindly let me know how can i achieve this using nagios core and destination folders are on windows machine.
Thanks in advance.
Regards,
Ravi Kumar Vusa.
Monitor a dynamic folder
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor a dynamic folder
This guide was created from a contractor we have in AU @box293that really knows his stuff and covers a bunch of different scenarios of monitoring files/directories with NSClient++
http://sites.box293.com/nagios/guides/c ... es-folders
http://sites.box293.com/nagios/guides/c ... es-folders
Re: Monitor a dynamic folder
Thank you @Scottwillkerson for quick response.
I have solved this issue by filtering on creation time. So, i will monitor all the files which are created in the specified time period.
I have solved this issue by filtering on creation time. So, i will monitor all the files which are created in the specified time period.
Re: Monitor a dynamic folder
Glad you were able to solve this! We will be closing this topic as resolved!
If you have more questions, feel free to create another thread!
Thank you for using the Nagios Support Forums!
If you have more questions, feel free to create another thread!
Thank you for using the Nagios Support Forums!