Anyone playing with the new unsupported items function in 3.2 (https://www.zabbix.com/documentation...unknown_values)
I'm trying to fire a trigger if at least one of 2 files is older than 1 day:
{Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0
If one of the 2 files does not exist the trigger will go unsupported.
I tried with:
(0 and {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0) or (0 and {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0)
But this will always expand to 0
(1 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0) will always expand to 1
Any ideas? Am I missing something?
I'm trying to fire a trigger if at least one of 2 files is older than 1 day:
{Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0
If one of the 2 files does not exist the trigger will go unsupported.
I tried with:
(0 and {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0) or (0 and {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0)
But this will always expand to 0
(1 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cld,modify].fuzzytime(1d)}=0 or {Template agent Linux ClamAV:vfs.file.time[/var/lib/clamav/daily.cvd,modify].fuzzytime(1d)}=0) will always expand to 1
Any ideas? Am I missing something?
Comment