Hello all,
first of all, english is not my native language, so please forgive if I make mistakes.
I try to monitor the date of the last backup. I created a template, named Backup, that collects vfs.file.time[/var/log/backup.log,modify]
I created a trigger : fuzzytime(/Backup/vfs.file.time[/var/log/backup.log,modify],12h)=0
I thought this trigger should be up only if the file was not modified since at least 12 hours, but it always trigger.
When I look and the item, I can see :
That means : 2024-11-28 04:01:08 (and it's consistent with a "ls -al" command), and it is now 2024-11-28 09:25, so the trigger should not raise, but it still does. What am I missing ?
Zabbix version : 7.0.6, using docker
Thanks a lot
first of all, english is not my native language, so please forgive if I make mistakes.
I try to monitor the date of the last backup. I created a template, named Backup, that collects vfs.file.time[/var/log/backup.log,modify]
I created a trigger : fuzzytime(/Backup/vfs.file.time[/var/log/backup.log,modify],12h)=0
I thought this trigger should be up only if the file was not modified since at least 12 hours, but it always trigger.
When I look and the item, I can see :
| awx2 | backup_last_write | 26m 38s | 1732762868 |
Zabbix version : 7.0.6, using docker
Thanks a lot
Comment