Hi, I wanted try to test this (Trigger based on key - vfs.file.time - ZABBIX Forums) in 5.4.11 with agent 2 :
Item :
vfs.file.time[c:\sources\test.log,modify]
units :unixtime
resultat:
02/02/2023 04:12:49 PM
If last modify files is up to xx second
Triger :
I have error
Cannot evaluate function last(/host/vfs.file.time[c:\sources\test.log,modify],#1:now): invalid second parameter.
you have idea ?
thx for help
Item :
vfs.file.time[c:\sources\test.log,modify]
units :unixtime
resultat:
02/02/2023 04:12:49 PM
If last modify files is up to xx second
Triger :
| (now()-last(/host/vfs.file.time[c:\sources\test.log,modify],#1:now)) >30 |
I have error
Cannot evaluate function last(/host/vfs.file.time[c:\sources\test.log,modify],#1:now): invalid second parameter.
you have idea ?
thx for help
Comment