File Age Check Reference
All parameters, thresholds, and configuration options for the file age check in octoja.
Written By Erdinc Akay
Last updated About 2 months ago
File Age Check Reference
The File Age Check monitors the last modification time of specific files and warns when files are stale or missing.
Configuration fields
Collected metrics
- Last modification time per file
- File age in hours
- File existence status
Platform support
Notes
- The check runs every 60 minutes. The interval is fixed for this check and is not a field in the configuration form.
- The check uses the file's last modification time, not the creation or access time.
- Multiple files can be monitored in a single check, each with independent thresholds.
- If Warning threshold (hours) is configured higher than Critical threshold (hours) for a file, the agent silently swaps the two thresholds for that target so the critical threshold is always greater than the warning threshold.
- If the Files to monitor list is empty, the whole check reports a Warning result (rather than Success or an error).
- The agent process must have read permission on the file. If reading the file's metadata throws (for example, an access-denied error in a restricted directory), the target reports the Error status (a distinct status, separate from Critical and Warning) and stores the exception message — truncated to 200 characters — in the
errorMessagefield.
See also: Configure a File Age Check