Windows – Zabbix – Alert if any files in folder is older than 1hr

windowszabbix

I have a folder which holds files that are to be processed. Once they are processed, they are then moved to another directory.

I'm currently trying to figure out a way to monitor for files inside this directory and alert if there are any files that are older than 1hr. i.e. They have not been processed yet.

In Zabbix, you can use vfs.file.time item but this only monitors 1 file and you have to specify the name of the file as well. The names inside the folder I'm monitoring are irrelevant.

What would be the cleanest way to achieve this?

Best Answer

I'm not entirely sure if it can work with files like you're describing, but you might be able to setup LLD (Low Level Discovery).

https://www.zabbix.com/documentation/4.0/manual/discovery/low_level_discovery