Hi,
I am trying to create monitoring on zabbix timestamp of the file. If it is actual - then trigger active ( Looks like it is working)
Also I created Recovery expression (It is not working)
Or both expression and recovery expression not working correctly, so:
Two items:
vfs.file.time[/Path to file/file,modify]
and
vfs.file.time[/Path to file/file]
Trigger:
Problem: {Flags checking:vfs.file.time[/Path to file/file].now(0)} - {Flags checking:vfs.file.time[/Path to file/file,modify].last(2s)}=1
I was thinking to check if file was changed last two seconds.
Recovery: {Flags checking:vfs.file.time[/Path to file/file].nodata(10s)}=0
If 10 seconds file wasn't changed - RESOLVED
Present situation:
Problem happens not always, but I can see it and ACTIVE for 5-8 seconds then RESOLVED (but file still modified) and after sometime again.
Could You, please, tell me what am I doing wrong?
Thanks,
I am trying to create monitoring on zabbix timestamp of the file. If it is actual - then trigger active ( Looks like it is working)
Also I created Recovery expression (It is not working)
Or both expression and recovery expression not working correctly, so:
Two items:
vfs.file.time[/Path to file/file,modify]
and
vfs.file.time[/Path to file/file]
Trigger:
Problem: {Flags checking:vfs.file.time[/Path to file/file].now(0)} - {Flags checking:vfs.file.time[/Path to file/file,modify].last(2s)}=1
I was thinking to check if file was changed last two seconds.
Recovery: {Flags checking:vfs.file.time[/Path to file/file].nodata(10s)}=0
If 10 seconds file wasn't changed - RESOLVED
Present situation:
Problem happens not always, but I can see it and ACTIVE for 5-8 seconds then RESOLVED (but file still modified) and after sometime again.
Could You, please, tell me what am I doing wrong?
Thanks,