File change monitor
The File change monitor checks a file for changes in size or modification date.
- System type: All but Other/Unidentified
- Category: Others
Ensure the user credential used has at least read permission for the file being monitored.
NOTE Only monitor specific settings are documented here. See Standard monitor settings.
Windows specific properties
- File path - The absolute path of the file using UNC notation, including the name of the host. This allows you to target a file on a different asset than the asset the monitor is set up on. For example,
\\myhost\c$\test.txt
Unix specific properties
- File path - Path of a file relative to the host. For example,
/home/robert/test.txt
Monitor specific properties
- Date - If checked, triggers an alarm if the file is modified since the last test.
- Larger size - If checked, triggers an alarm if the file grows in size since the last test.
- Smaller size - If checked, triggers an alarm if the file shrinks in size since the last test.
- Not change - If checked, triggers an alarm if the file size or date not have changed since the last test.
Path field formatting flags
The following formatting variables can be included when specifying a path.
%[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)