net-snmp 5.0.9 is running on a RH7.2 linux machine and the "admin" user is configured. # cat /usr/local/share/snmp/snmpd.conf rwuser "admin" priv trapsess 172.20.11.58:162 -u "admin" -a MD5 -A "12345678" -x DES -X "87654321" -v 3 -l authPriv
# cat /etc/sysconfig/ipt-snmptrap.dat ipt-snmptrap 172.20.11.58 162 A trap is sent to 172.20.11.58 wherever snmpd is restarted: # service snmpd restart Stopping snmpd: [FAILED] Starting snmpd: [ OK ] At 172.20.11.58: # snmptrapd -f -C -c /home/powah/snmp/snmptrapd.conf -Le 2007-12-06 17:13:04 rose.myhost.com [UDP: [172.20.11.244]:1025]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1579) 0:00:15.79 SNMPv2-MIB::snmpTrapOID.0 = OID: NET-SNMP-AGENT-MIB::nsNotifyShutdown 2007-12-06 17:13:04 rose.myhost.com [UDP: [172.20.11.244]:1025]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (37) 0:00:00.37 SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 I setup the same configuration for /usr/local/share/snmp/snmpd.conf and /etc/sysconfig/ipt-snmptrap.dat on a FC6 machine running net-snmp 5.4.1. However, restarting snmpd does not generate a trap. Please help. Thanks. Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://mail.yahoo.ca ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users