I've been using Zabbix for a while and currently on version 7.0.2. I'm trying to figure out how to add multiple IPs from different subnets to the same host using discovery. Specifically, I'm working with Mikrotik routers that broadcast their IPs via SNMP in the OID .1.3.6.1.2.1.4.20.1.1.
I can successfully add IPs from a single subnet to a host using a rule and action that groups interfaces under the same host if they share the same name. However, I'm looking to extend this to include IPs from other subnets, like internal IPs (e.g., 10.0.0.0), for the same device.
Using this Discovery Rule

and this discovery Action
I can successfully add IPs from a single subnet to a host using a rule and action that groups interfaces under the same host if they share the same name. However, I'm looking to extend this to include IPs from other subnets, like internal IPs (e.g., 10.0.0.0), for the same device.
Using this Discovery Rule
and this discovery Action
| Add discovered routers | Discovery rule equals Mikrotik Routers Discovery status equals Up |
Add host Add to host groups: Routers Remove from host groups: Discovered hosts Link templates: Generic by SNMP, Mikrotik by SNMP Set host inventory mode: Automatic |
Comment