Hello there.
There is a little problem that stumped me. I have two Cisco WLCs that control several APs in several buildings. Hosts for controllers used template from Zabbix Share. Also in "WLC AP data" discovery added item prototype describing administration status for every AP. With that item prototype I create trigger prototype that shows when AP disconnect from controller. Simple expression like this
It worked properly. But there is one more thing. APs choose controller to connect automaticly and dynamicly and moreover they may change controller from one to another during work. So I got a bunch of false alarms.
Now trigger must consider existence and state items for same AP on another host. First I tried to edit trigger prototype like that
But it doesn't work.

As I understood trigger prototype in Zabbix may use any static item from any hosts and item prototypes only from discovery to which he belongs. I was thinking about creation of dummy host which aggregate items from both controllers but necessary items created by discovery.
The question is "can I do something by Zabbix itself?" Or solution is only custom scripts?
Zabbix version 4.0.0
There is a little problem that stumped me. I have two Cisco WLCs that control several APs in several buildings. Hosts for controllers used template from Zabbix Share. Also in "WLC AP data" discovery added item prototype describing administration status for every AP. With that item prototype I create trigger prototype that shows when AP disconnect from controller. Simple expression like this
Code:
{Template Cisco WLC Discovery:bsnApAdminStatus[{#SNMPVALUE}].nodata(300)}=1
Now trigger must consider existence and state items for same AP on another host. First I tried to edit trigger prototype like that
Code:
{WiFi-A:bsnApAdminStatus[{#SNMPVALUE}].nodata(300)}=1 and
{WiFi-B:bsnApAdminStatus[{#SNMPVALUE}].nodata(300)}=1
As I understood trigger prototype in Zabbix may use any static item from any hosts and item prototypes only from discovery to which he belongs. I was thinking about creation of dummy host which aggregate items from both controllers but necessary items created by discovery.
The question is "can I do something by Zabbix itself?" Or solution is only custom scripts?
Zabbix version 4.0.0