Example - Monitor Directory Size Within Time Period
Example - Monitor Directory Size Within Time Period
You want to monitor the size of the workflow logs folder and receive an alert when the folder size exceeds a specified threshold within a specific time interval. You might want to do this because you want to trigger a script to archive the logs.
Select the host whose file you want to monitor, and provide the criteria in the
Add Monitored Path
page.
Provide a valid configuration name for the monitoring criteria.
Enter the path of the file that you want to monitor.
Select the
Path Type
as
Folder
, and select the following criteria:
Select
Size > than 10 KB
.
Select
Path exists
.
Select
Time Filter
, and then select the condition
WITHIN 12:30 AM AND 1:00 PM
.
Click
Save
.
The following image shows the alert in RTAM when the rule activates: