The Directory property monitor can test the file count, directory sizes, relative size changes and ages of files in a directory. The test can be limited in scope to files matched by a wildcard.
Note: Only monitor specific settings are documented here. See Standard monitor settings.
Monitor specific properties
\temp\*.?xt
. See below for additional formatting options.HH:MM
. Leave blank to skip this test.true
.Path field formatting variables
The following formatting variables can be included when specifying the path of a share. For example, the format \sharename\*%[system.date_year]-%[system.date_month]-%[system.date_day_of_month].log
matches the filenames: 2013-01-15.log
, 2013-02-10.log
, 2013-03-06.log
.
%[system.time_hour]
- Hour in 24-hour format (00 -23)%[system.time_hour2]
- Hour in 12-hour format (01 -12)%[system.time_minute]
- Minute as decimal number (00 -59)%[system.time_second]
- Second as decimal number (00 – 59)%[system.date_year]
- Year with century, as decimal number%[system.date_year2]
- Year without century, as decimal number%[system.date_month]
- Month as decimal number (01 – 12)%[system.date_day_of_month]
- Day of month as decimal number (01 – 31)%[system.date_day_of_year]
- Day of year as decimal number (001 – 366)%[system.date_weekday]
- Weekday as decimal number (0 – 6; Sunday is 0)