Hi there,
I have configured LLD Discovery for BGP neighbors based on their remote IP (using the bgpPeerRemoteAddr OID - 1.3.6.1.2.1.15.3.1.7).
I can create prototype items and the items are discovered ok.
However when I attempt to create a trigger based on those values, it appears that I cannot reference more than one value.
For example, I am trying to configure the following Trigger to react to a BGP neighbor going down, based on a couple of discovered Items:
{Root_Router:bgpPeerOperationalStatus[{#SNMPVALUE}].last(#3)}<>6 and {Root_Router:bgpPeerAdminStatus[{#SNMPVALUE}].last(0)}=2
When I attempt to save the Trigger, I get an error that states:
Trigger prototype <NAME> contain item prototypes from multiple discover rules.
But the problem is they are all from the "BGP Neighbors" Discovery Rule. If remove either of the statements either side of the "and" the trigger saves ok.
The Template that this Discovery Rule is in does inherit from another Template - but nothing from that inherited Template is reference in this Trigger.
Also, I downloaded and imported the template found here: https://share.zabbix.com/network_devices/cisco-bgp4 and it works fine. And it appears to do exactly what I'm trying doing.
I've been trying to figure out why this one works and yet the one that I created (which is virtually a carbon copy) fails - but to no avail. It seems very restrictive to only be able to configure a Trigger based on a single discovery rule.
I have attached a few images showing how my discovery/prototypes are configured.
Any help would be much appreciated.
I have configured LLD Discovery for BGP neighbors based on their remote IP (using the bgpPeerRemoteAddr OID - 1.3.6.1.2.1.15.3.1.7).
I can create prototype items and the items are discovered ok.
However when I attempt to create a trigger based on those values, it appears that I cannot reference more than one value.
For example, I am trying to configure the following Trigger to react to a BGP neighbor going down, based on a couple of discovered Items:
{Root_Router:bgpPeerOperationalStatus[{#SNMPVALUE}].last(#3)}<>6 and {Root_Router:bgpPeerAdminStatus[{#SNMPVALUE}].last(0)}=2
When I attempt to save the Trigger, I get an error that states:
Trigger prototype <NAME> contain item prototypes from multiple discover rules.
But the problem is they are all from the "BGP Neighbors" Discovery Rule. If remove either of the statements either side of the "and" the trigger saves ok.
The Template that this Discovery Rule is in does inherit from another Template - but nothing from that inherited Template is reference in this Trigger.
Also, I downloaded and imported the template found here: https://share.zabbix.com/network_devices/cisco-bgp4 and it works fine. And it appears to do exactly what I'm trying doing.
I've been trying to figure out why this one works and yet the one that I created (which is virtually a carbon copy) fails - but to no avail. It seems very restrictive to only be able to configure a Trigger based on a single discovery rule.
I have attached a few images showing how my discovery/prototypes are configured.
Any help would be much appreciated.
Comment