FW: SNMP question
"Kobi Vaknin (kvaknin)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <A5DE99774D6B2A45B4D2B2035A24C300034C1E8C@xmb-ams-333.emea.cisco.com> |
Attached updated configuration file Hello all I've problem with override OID feature in net SNMP version 5.2.2 (enable to override loaded MIBs with user values): When I edit the snmpd.conf to my new value I get strange behavior when I've tried to walk on MIB node (the operation of getting only on specific OID is working) Get on OID 1: ipForwarding.0 (integer) 3 Walk on node 1: ipForwarding.0 (integer) not-forwarding(2) 2: ipForwarding.0 (integer) 3 3: ipForwarding.0 (integer) 3 4: ipForwarding.0 (integer) 3 5: ipForwarding.0 (integer) 3 6: ipForwarding.0 (integer) 3 7: ipForwarding.0 (integer) 3 8: ipDefaultTTL.0 (integer) 64 I've got the value I've tried to override and 6 more instances . Any one have clue what cause that problem and if it was solved in version 5.3.1 ? Thanks KObi ________________________________ From: Kobi Vaknin (kvaknin) Sent: Wednesday, November 15, 2006 4:25 PM To: '[email protected].' Subject: FW: SNMP question Hello all I've simple problem in the net SNMP and I want to consult with you. I want to replace only 1 table implementation in the MIB-2 (RFC-1213-MIB.txt) ,i mean that for any external request for that table my agentx will response . I made example code that succeeded to register and to be triggered when the table is questioned, but the final result is the same as when the agentx is not triggered (after several attempts the agentx was crashed). How can I solve that issue ? Do you have any suggestions for that problem ? I've attached the code I've written. Thanks Kobi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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
snmpd.conf
(application/octet-stream, 1 KB)
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity pcube rwcommunity pcube ########################################################################### # SECTION: Agent Operating Mode # # This section defines how the agent will operate when it # is running. # master: Should the agent operate as a master agent or not. # Currently, the only supported master agent type for this token # is "agentx". # # arguments: (on|yes|agentx|all|off|no) master agentx