Hi all,
I made an avscanner control pattern item (nai.ver) getting updated very often via cronjob on zabbix server. Now i want to do 2 things, first check if control pattern differs from patterns installed on mailservers and because mail server aint checking that often for updates, combine the trigger with an expression making sure avscanner on mail system had time to fetch pattern. (cron running any 6h, so 8h in expression should make it. 8*60*60 = 28800
(({Host.Unix:vfs.file.time[/usr/local/uvscan/datfiles/current,modify].last(0)}+28800)<({Host.Unix:vfs.file.time[/usr/local/uvscan/datfiles/current,modify].now(0)})&({Host.Unix:uvscan.pattern.last(0)}#{zab bix.server:nai.ver.last(0)})
when i try to add the trigger the following error occurs:
[ERROR:Cannot update trigger]
Incorrect trigger expression. You can't use template hosts in mixed expressions.
what does the error mean and why it is not possible?
I know there are other ways to get it working, but i have searched the forum and documentation for this error or limitation and dont find anything.
please explain.
Regards,
Marc
I made an avscanner control pattern item (nai.ver) getting updated very often via cronjob on zabbix server. Now i want to do 2 things, first check if control pattern differs from patterns installed on mailservers and because mail server aint checking that often for updates, combine the trigger with an expression making sure avscanner on mail system had time to fetch pattern. (cron running any 6h, so 8h in expression should make it. 8*60*60 = 28800
(({Host.Unix:vfs.file.time[/usr/local/uvscan/datfiles/current,modify].last(0)}+28800)<({Host.Unix:vfs.file.time[/usr/local/uvscan/datfiles/current,modify].now(0)})&({Host.Unix:uvscan.pattern.last(0)}#{zab bix.server:nai.ver.last(0)})
when i try to add the trigger the following error occurs:
[ERROR:Cannot update trigger]
Incorrect trigger expression. You can't use template hosts in mixed expressions.
what does the error mean and why it is not possible?
I know there are other ways to get it working, but i have searched the forum and documentation for this error or limitation and dont find anything.
please explain.
Regards,
Marc
Comment