File Monitoring
Posted: Mon Jul 26, 2021 9:59 am
Hi Team,
We have a new requirement as described below:
Need to introduce monitoring to specified directories. The monitoring should run on the days and should send an alert to the required email addresses if the threshold level stated (total number of files) is less than that outlined below.
\\server.domain\SAPSHR05\DATA\PROD\Import
--> RULE: Less than 50 files with 'Date modified' equal to previous day
\\server.domain\SAPSHR05\DATA\PROD\Export
--> RULE: Less than 5 files with 'Date modified' equal to previous day
Timing of monitoring:
Once daily between (7am and 9am UK time) Tuesday to Saturday
Please guide us how can we achieve this in Nagios with detailed steps.
Thanks in Advance!!!
We have a new requirement as described below:
Need to introduce monitoring to specified directories. The monitoring should run on the days and should send an alert to the required email addresses if the threshold level stated (total number of files) is less than that outlined below.
\\server.domain\SAPSHR05\DATA\PROD\Import
--> RULE: Less than 50 files with 'Date modified' equal to previous day
\\server.domain\SAPSHR05\DATA\PROD\Export
--> RULE: Less than 5 files with 'Date modified' equal to previous day
Timing of monitoring:
Once daily between (7am and 9am UK time) Tuesday to Saturday
Please guide us how can we achieve this in Nagios with detailed steps.
Thanks in Advance!!!