I've been unable to view traps through
snmptrapd
. I generated a SNMP trap manually using the below provided snmptrap
command:
snmptrap -c public -v 2c -n "" localhost 0 uptime
But I'm unable to capture the trap using the below provided snmptrapd
command:
snmptrapd -f -M /usr/share/snmp/mibs -m inUnixPlatformApp-MIB -Os
**Question:** How can I capture the snmptrap
in snmptrapd
?
### Installed software
I have the following RPM packages installed on the RHEL 6.3 server:
# rpm -qa|grep -i snmp
net-snmp-libs-5.5-41.el6.x86_64,
net-snmp-libs-5.5-41.el6.i686,
net-snmp-devel-5.5-41.el6.x86_64,
net-snmp-5.5-41.el6.x86_64,
net-snmp-perl-5.5-41.el6.x86_64,
net-snmp-utils-5.5-41.el6.x86_64,
perl-SNMP_Session-1.12-4.el6.noarch
### System info
- Linux Rhel: 6.3
- SNMP Master Agent version: 5.5
- SNMP Protocol version: v2C
Asked by user57619
(21 rep)
Jan 25, 2014, 06:29 PM
Last activity: Jun 10, 2025, 08:05 PM
Last activity: Jun 10, 2025, 08:05 PM