I have this monitoring network setting for Net-SNMP 5.7.2.1 listening to multiple Ethernet interfaces on my home gateway but it would only take the following combination from the snmpd.conf configuration file:
- single IP address
- single IP address, protocol-specific
- single IP address per unique protocol
such as:
agentAddress 127.0.0.1:161
or
agentAddress udp:127.0.0.1:161
or
agentAddress udp:127.0.0.1:161,udp6:[::1],tcp:127.0.0.1:161
But it would not accept multiple IP addresses using the same protocol, as given below as desired:
agentAddress udp:127.0.0.1:161,udp:172.28.130.1:161
How do I make SNMP daemon (snmpd) listen to TWO (or more) Ethernet interfaces