snmptrap command does not send a trap with the expected agent address
Issue
- In the system with the multiple network interfaces, the snmptrap command doesn't send a trap with the expected agent address.
- 'v1trapaddress' is configured with the expected agent address in /etc/snmp/snmpd.conf
- The following is the snmptrap command we executed.
/usr/bin/snmptrap -v1 -cCOMMUNITYSTRING 192.168.100.1 enterprises.232 '' 6 11003 '' system.5.0 s `cat /proc/sys/kernel/hostname` enterprises.232.11.2.11.1 i 0 enterprises.232.11.2.8.1 s 'Test Trap'
Environment
Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
