Hi All,
For our switch environment I created templates for each type of blade we have and for each slot. So I have 84 templates at the moment like this: blade_a-slot_x, blade_b-slot_x.
Now each switch has a maximum of 32 slots and I created a discovery rule for each slot by doing an snmp check (each slot has a corresponding oid which returns a string with the module type).
So I made rules for each slot (if the type for slot x was a, add template a for slot x). These rules worked fine and each host got nicely filled with all templates.
However, we removed some modules from the switches and I manually removed the templates from the host, but the templates keep being added, while the snmp result it actually empty:
SNMPv2-SMI::enterprises.1991.1.1.2.8.1.1.4.1 = No Such Instance currently exists at this OID
Now I've been told to add delete actions for these slots as well, since I never told zabbix to actually delete the templates from the host. But that doesn't seem to work either.
I also created a delete action to remove hosts from the "discovered hosts" group, but that also doesn't work.
I'm out of ideas. Can someone tell me what I have to do to make this work?
For our switch environment I created templates for each type of blade we have and for each slot. So I have 84 templates at the moment like this: blade_a-slot_x, blade_b-slot_x.
Now each switch has a maximum of 32 slots and I created a discovery rule for each slot by doing an snmp check (each slot has a corresponding oid which returns a string with the module type).
So I made rules for each slot (if the type for slot x was a, add template a for slot x). These rules worked fine and each host got nicely filled with all templates.
However, we removed some modules from the switches and I manually removed the templates from the host, but the templates keep being added, while the snmp result it actually empty:
SNMPv2-SMI::enterprises.1991.1.1.2.8.1.1.4.1 = No Such Instance currently exists at this OID
Now I've been told to add delete actions for these slots as well, since I never told zabbix to actually delete the templates from the host. But that doesn't seem to work either.
I also created a delete action to remove hosts from the "discovered hosts" group, but that also doesn't work.
I'm out of ideas. Can someone tell me what I have to do to make this work?
Comment