Hello everyone. I'm new to this forum and to zabbix also. I'm curently Learning how all of this works. So far so good, everything is fine. Exept..
I want to have certain conditions in a trigger that evaluate if we are during a work day and Inside of the opening hours. I can't use user created macros or hard coded values for the workdays because my zabbix server monitors a bunch of interfaces that have different work days and opening hours. I managed to tell zabbyx what are those values using a zabbix trapper item. What i'd like to do is simply use a calculated item or even conditions Inside of a trigger to compare the value of that trapper item to a dayofweek function.
For example, I'd like to use a calculated item like that:
iregexp("item.work.days","item.curentday")
Zabbix will interpret the second argument ("item.curentday") as a string while I would like it to interpret it as the value of that item.
Has anyone ever encountered that problem?
Thanks for your help.
Dominic
I want to have certain conditions in a trigger that evaluate if we are during a work day and Inside of the opening hours. I can't use user created macros or hard coded values for the workdays because my zabbix server monitors a bunch of interfaces that have different work days and opening hours. I managed to tell zabbyx what are those values using a zabbix trapper item. What i'd like to do is simply use a calculated item or even conditions Inside of a trigger to compare the value of that trapper item to a dayofweek function.
For example, I'd like to use a calculated item like that:
iregexp("item.work.days","item.curentday")
Zabbix will interpret the second argument ("item.curentday") as a string while I would like it to interpret it as the value of that item.
Has anyone ever encountered that problem?
Thanks for your help.
Dominic
Comment