Hi All,
For snmpv2c traps, Is it possible to configure hostname in the field of
source address
Eg:
*Current behaviour: snmptrap received at manager*
2024-04-03 09:09:54 192.168.112.122(via UDP:
[192.168.112.122]:35620->[192.168.168.136]:162)
TRAP, SNMP v1, community public
iso.3.6.1.4.1.8072.2.3.1 Enterprise Specific Trap (17) Uptime: 4 days,
15:30:06.57
iso.3.6.1.4.1.8072.2.1.1 = INTEGER: 123456
*Expected behviour:*
2024-04-03 09:09:54 192.168.112.122(via UDP:
[snmp_agent_122]:35620->[192.168.168.136]:162)
TRAP, SNMP v1, community public
iso.3.6.1.4.1.8072.2.3.1 Enterprise Specific Trap (17) Uptime: 4 days,
15:30:06.57
iso.3.6.1.4.1.8072.2.1.1 = INTEGER: 123456
or
2024-04-03 09:09:54 192.168.112.122(via UDP:
[192.168.112.122_agent_122]:35620->[192.168.168.136]:162)
TRAP, SNMP v1, community public
iso.3.6.1.4.1.8072.2.3.1 Enterprise Specific Trap (17) Uptime: 4 days,
15:30:06.57
iso.3.6.1.4.1.8072.2.1.1 = INTEGER: 123456
Kindly guide.
Thanks,
Pushpa.T
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders