trap destinations
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 receive 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 remotely 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 sequence 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 happened again. I am really confused what should I do, I have read lots of docs ,is there any thing wrong . thanks mansour ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ 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