Can I use Icinga to monitor the last-modified date of a specific file, and send an alert if it reaches a defined value?
- You can use Icinga to monitor anything which can be measured. If you can’t
find a service check command which already does what you want, you can easily
write your own.
https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/
#service-monitoring-plugin-new
-
https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-
library/#file_age
Antony.
2 Likes