Hello all,
I have firewalls (same brand, same firmwares) in differents companies. Some companies have a high availability solution, some have standalone solution, some have one hard drive in the UTM, some have two, some have one PSU, some have two...
The values are not stored in the same place in the OIDs if the firewalls are in HA mode or standalone mode.
To make my template ready for the two cases, I created two types of discovery rules : one for the HA mode and one for the standalone mode.
The one for the standalone mode filters if a specific value exists when the firewall is alone, and create associated items.
The one for the HA mode filters if a specific value exists when there's the HA mode activated and create associated items.
The problem with this, it's I don't need to put macros in item prototypes. I don't have more than one value to check if the HA mode is degraded, for example, and I know the specific OID to query for this.
The fact I d'ont put macros in keys items prototypes don't seems to feet to Zabbix and my items aren't created. They're created if I put, for example [{#SNMPINDEX}] at the end of the key entry, but it creates me 2 items, with the same value.
How can I resolve my problem ? In fact, I need to create fixed items with a filter for creation, and I only found discover way to do this, but it don't seems to work like this...
Thanks
Nicolas
I have firewalls (same brand, same firmwares) in differents companies. Some companies have a high availability solution, some have standalone solution, some have one hard drive in the UTM, some have two, some have one PSU, some have two...
The values are not stored in the same place in the OIDs if the firewalls are in HA mode or standalone mode.
To make my template ready for the two cases, I created two types of discovery rules : one for the HA mode and one for the standalone mode.
The one for the standalone mode filters if a specific value exists when the firewall is alone, and create associated items.
The one for the HA mode filters if a specific value exists when there's the HA mode activated and create associated items.
The problem with this, it's I don't need to put macros in item prototypes. I don't have more than one value to check if the HA mode is degraded, for example, and I know the specific OID to query for this.
The fact I d'ont put macros in keys items prototypes don't seems to feet to Zabbix and my items aren't created. They're created if I put, for example [{#SNMPINDEX}] at the end of the key entry, but it creates me 2 items, with the same value.
How can I resolve my problem ? In fact, I need to create fixed items with a filter for creation, and I only found discover way to do this, but it don't seems to work like this...
Thanks
Nicolas

I would make 2 different templates and use them according the needs....
Comment