Hello community,
I’m trying to monitor some legacy devices that support SNMP traps only (no agent, and polling is not available/viable). I’m on Zabbix 7.0 and looking at proxy groups for HA/load balancing.
In the official docs for proxy groups / proxy HA, under Important Notes, it says:
I also saw this Zabbix blog post describing a workaround where traps are copied/synchronized between proxies in a proxy group.
I’m struggling to understand what “not supported” means in practice and what the recommended architecture is.
Questions:
Any guidance from people running this in production would be appreciated.
Thanks!
I’m trying to monitor some legacy devices that support SNMP traps only (no agent, and polling is not available/viable). I’m on Zabbix 7.0 and looking at proxy groups for HA/load balancing.
In the official docs for proxy groups / proxy HA, under Important Notes, it says:
“SNMP traps are not supported by proxies in proxy group.”
I’m struggling to understand what “not supported” means in practice and what the recommended architecture is.
Questions:
- Does this limitation mean:
- A) traps cannot be used at all if the host is monitored via a proxy group, or
- B) traps can be received, but failover/load balancing won’t work correctly (e.g., traps may land on the “wrong” proxy after host redistribution)?
- If the blog’s “copy traps between proxies” approach is used (like using NFS mounted on all proxies in the group):
- Is this considered a supported configuration or just a community workaround?
- How do you avoid issues like duplicate processing (same trap seen by multiple proxies) or unmatched traps?
- What is the officially recommended way to achieve redundancy for trap-only devices with proxy groups?
- Should we avoid proxy groups and instead use something like a VIP/keepalived for UDP/162 + a shared trap file (or similar)?
- Or is the recommendation to receive traps on the server side only (we host ours in K8S)?
Any guidance from people running this in production would be appreciated.
Thanks!
keepalived holds a VIP on one host and background process copies incoming traps between hosts (logifles). So whichever proxy is monitoring that node, it will receive that trap, even if trap VIP is pointing to another node at the moment... keepalived switches over pretty fast, what they say there about snmptrapd being down... quite small chance... you shoudl bea ble to starrt it an bind it that VIP process even if it is not currently in that host... so downtime is minimal, just nothing is coming in via "normal" way..
Comment