Hi, Dave After I configure the SNMP-TARGET-MIB::snmpTargetAddrTable SNMP-TARGET-MIB::snmpTargetParamsTable SNMP-NOTIFICATION-MIB::snmpNotifyTable I can receive the v1 or v2c trap, But I still can not receive the v3 trap. I'm copying the configuration as following:
1: snmpTargetAddrTDomain.105.110.116.101.114.110.97.108.48 (TDomain) snmpUDPDomain 2: snmpTargetAddrTDomain.105.110.116.101.114.110.97.108.49 (TDomain) snmpUDPDomain 3: snmpTargetAddrTAddress.105.110.116.101.114.110.97.108.48 (TAddress) AC.12.64.94.00.A2 (hex) 4: snmpTargetAddrTAddress.105.110.116.101.114.110.97.108.49 (TAddress) AC.12.64.94.00.A2 (hex) 5: snmpTargetAddrTimeout.105.110.116.101.114.110.97.108.48 (TimeInterval) 0 6: snmpTargetAddrTimeout.105.110.116.101.114.110.97.108.49 (TimeInterval) 1500 7: snmpTargetAddrRetryCount.105.110.116.101.114.110.97.108.48 (Integer32) 0 8: snmpTargetAddrRetryCount.105.110.116.101.114.110.97.108.49 (Integer32) 3 9: snmpTargetAddrTagList.105.110.116.101.114.110.97.108.48 (SnmpTagList) internal0 [69.6E.74.65.72.6E.61.6C.30 (hex)] 10: snmpTargetAddrTagList.105.110.116.101.114.110.97.108.49 (SnmpTagList) internal1 [69.6E.74.65.72.6E.61.6C.31 (hex)] 11: snmpTargetAddrParams.105.110.116.101.114.110.97.108.48 (SnmpAdminString) internal0 [69.6E.74.65.72.6E.61.6C.30 (hex)] 12: snmpTargetAddrParams.105.110.116.101.114.110.97.108.49 (SnmpAdminString) internal1 [69.6E.74.65.72.6E.61.6C.31 (hex)] 13: snmpTargetAddrStorageType.105.110.116.101.114.110.97.108.48 (StorageType) readOnly(5) 14: snmpTargetAddrStorageType.105.110.116.101.114.110.97.108.49 (StorageType) nonVolatile(3) 15: snmpTargetAddrRowStatus.105.110.116.101.114.110.97.108.48 (RowStatus) active(1) 16: snmpTargetAddrRowStatus.105.110.116.101.114.110.97.108.49 (RowStatus) active(1) 1: snmpTargetParamsMPModel.105.110.116.101.114.110.97.108.48 (SnmpMessageProcessingModel) 0 2: snmpTargetParamsMPModel.105.110.116.101.114.110.97.108.49 (SnmpMessageProcessingModel) 3 3: snmpTargetParamsSecurityModel.105.110.116.101.114.110.97.108.48 (SnmpSecurityModel) 1 4: snmpTargetParamsSecurityModel.105.110.116.101.114.110.97.108.49 (SnmpSecurityModel) 3 5: snmpTargetParamsSecurityName.105.110.116.101.114.110.97.108.48 (SnmpAdminString) public [70.75.62.6C.69.63 (hex)] 6: snmpTargetParamsSecurityName.105.110.116.101.114.110.97.108.49 (SnmpAdminString) leelin [6C.65.65.6C.69.6E (hex)] 7: snmpTargetParamsSecurityLevel.105.110.116.101.114.110.97.108.48 (SnmpSecurityLevel) noAuthNoPriv(1) 8: snmpTargetParamsSecurityLevel.105.110.116.101.114.110.97.108.49 (SnmpSecurityLevel) noAuthNoPriv(1) 9: snmpTargetParamsStorageType.105.110.116.101.114.110.97.108.48 (StorageType) readOnly(5) 10: snmpTargetParamsStorageType.105.110.116.101.114.110.97.108.49 (StorageType) nonVolatile(3) 11: snmpTargetParamsRowStatus.105.110.116.101.114.110.97.108.48 (RowStatus) active(1) 12: snmpTargetParamsRowStatus.105.110.116.101.114.110.97.108.49 (RowStatus) active(1) 1: snmpNotifyTag.105.110.116.101.114.110.97.108.48 (SnmpTagValue) internal0 [69.6E.74.65.72.6E.61.6C.30 (hex)] 2: snmpNotifyTag.105.110.116.101.114.110.97.108.49 (SnmpTagValue) internal1 [69.6E.74.65.72.6E.61.6C.31 (hex)] 3: snmpNotifyType.105.110.116.101.114.110.97.108.48 (INTEGER) trap(1) 4: snmpNotifyType.105.110.116.101.114.110.97.108.49 (INTEGER) trap(1) 5: snmpNotifyStorageType.105.110.116.101.114.110.97.108.48 (StorageType) readOnly(5) 6: snmpNotifyStorageType.105.110.116.101.114.110.97.108.49 (StorageType) nonVolatile(3) 7: snmpNotifyRowStatus.105.110.116.101.114.110.97.108.48 (RowStatus) active(1) 8: snmpNotifyRowStatus.105.110.116.101.114.110.97.108.49 (RowStatus) active(1) -----邮件原件----- 发件人: [email protected] [mailto:[email protected]] 代表 Dave Shield 发送时间: 2009年4月14日 20:10 收件人: Kang Chen 抄送: [email protected] 主题: Re: 答复: question about SNMPv3 trap 2009/4/14 Kang Chen <[email protected]>: > Another question, I write trapsink 172.18.100.148 public 162 in snmpd.conf Please think about the difference between "trapsink" and "trap2sink". What type of request (SNMP version and PDU type) do you expect to be sent. > Then, I modify the snmpNotifyType from 1(trap) to 2(inform) What type of request (SNMP version and PDU type) do you expect to be sent? Do you think this is valid? Dave ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
