Send Trap to multiple

Hi Frank,

I need to send same to multiple destinations. I am using AgentConfigSetup.properties that you provided.

Sample:

snmp4j.agent.cfg.index.1.3.6.1.6.3.12.1.2.1.3={o}‘notify4’
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.0={o}1.3.6.1.2.1.100.1.14
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.1={s}<IP_ADDRESS>:162
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.2={i}250
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.3={i}1
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.4={s}notify
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.5={s}SNMPv3
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.6={i}3
snmp4j.agent.cfg.value.1.3.6.1.6.3.12.1.2.1.3.7={i}1

I need to send traps to IP_ADDRESS_1 and IP_ADDRESS_2 as well.
What change I need to do in this configuration.

–Anirban

This row is part of the snmpTargetAddrTable and you need to simply add another row (be careful to update row count and specify a new index) for the other IP address/domain as described in RFC 3413.

Thanks Frank this works.

1 Like