Trap destinaton problem
MANSOUR NASERI <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I am using net-snmp ver5.7.1 and config snmpd as a master agent and using my app as a sub agent. I am working on ARM linux and compile net-snmp on version 2. on snmpd.conf file I added "trapsink 192.168.0.5" it means I want to send traps to 192.168.0.5. when I run snmpd and then my subagent it works and I can send traps on sub agent to 192.168.0.5 and manager will receieve all traps. in that case I can read by MG-soft these tables: snmpTargetAddrTable: Instance ----------->internal0 snmpTargetAddrName(IDX, IMP) ----------->Not accessible snmpTargetAddrTDomain ----------->snmpUDPDomain snmpTargetAddrTAddress -----------> C0.A8.00.05.00.A2 (hex) snmpTargetAddrTimeout----------->0 snmpTargetAddrRetryCount----------->0 snmpTargetAddrTagList ----------->internal0 snmpTargetAddrParams ----------->internal0 snmpTargetAddrStorageType----------->readOnly(5) snmpTargetAddrRowStatus -----------> active(1) snmpTargetParamsTable: Instance -----------> internal0 snmpTargetParamsName(IDX, IMP)----------->Not accessible snmpTargetParamsMPModel----------->0 snmpTargetParamsSecurityModel----------->1 snmpTargetParamsSecurityName----------->public snmpTargetParamsSecurityLevel----------->noAuthNoPriv(1) snmpTargetParamsStorageType----------->readOnly(5) snmpTargetParamsRowStatus----------->active(1) snmpNotifyTable: Instance -----------> internal0 snmpNotifyName(IDX, IMP) ----------->Not accessible snmpNotifyTag ----------->internal0 snmpNotifyType ----------->trap(1) snmpNotifyStorageType ----------->readOnly(5) snmpNotifyRowStatus ----------->active(1) when I want to change destination address of traps remotly without restarting snmpd ,I have some problems. one problem is, I can not remove row from snmpTargetParamsTable and snmpTargetAddrTable when I removed snmpNotifyTable row by snmpNotifyRowStatus ----------->destroy(6),I can not received any traps.(as I expected). but when i want to add that row again I have some problem: my sequense is: 1 -snmpNotifyRowStatus ----------->(5) 2- Instance -----------> internal0 snmpNotifyName(IDX, IMP) ----------->Not accessible snmpNotifyTag ----------->internal0 snmpNotifyType ----------->trap(1) snmpNotifyStorageType ----------->readOnly(5) I can not write snmpNotifyStorageType >readOnly(5) but I can write snmpNotifyStorageType >other(1) 3_ snmpNotifyRowStatus ----------->active(1) in that case still I can not receive any traps. for adding new destination address I added rows like that with replacing "internal0 to ext0" and "C0.A8.00.05.00.A2 (hex) to C0.A8.00.06.00.A2 (hex)". (192.168.0.6)but nothing happend again. I am really confused what should I do,I have read lots of docs , is there any thing wrong in my steps. I would be grateful if someone could help me. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users