vfs.file.time, access modify changed, zabbix 2

At first make a new item and set the time you want to calculate.
There is access time - the time that someone (reads) look in document.
There is modify time - the time that file is modified, appended, writed or rewrited
There is change time - the last time meta data of the file was changed (e.g. permissions)

Let's create vfs.file.time[c:\temp\example.log,modify]
Create a trigger
{host:vfs.file.time[c:\temp\example.log,modify].now(0)}-{host:vfs.file.time[c:\temp\example.log,modify].last(0)}>600
This triger check if the file modify date is older than 600 seconds (10 minutes)
This will report that the log file is not getting additional info in last 10 minutes:

No comments: