This is a discussion on RE: SNMPv3 Context Based Access... within the SNMP Users forums, part of the Networking and Network Related category; HI, The registration mechanism still does not work with the contextname. Please tell me what I am missing. Rgds, Mahendra &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
HI,
The registration mechanism still does not work with the contextname. Please tell me what I am missing. Rgds, Mahendra > Yes, any or mySec only one is required in access field. But "mySec" is not a valid security model. >From the man page: MODEL is one of any, v1, v2c, or usm. These are the *ONLY* valid possibilities for this field. Take "mySec" out completely. > When I put the > following token in > the snmp.conf > defContext "TEST" > > System generates the following errors for GET and SET > > [root@msslinux4 mibs]# snmpget localhost JM-TEST-1-MIB::firstKey.0 > JM-TEST-1-MIB::firstKey.0 = No Such Object available on this agent at this > OID > > [root@msslinux4 mibs]# snmpget -n TEST localhost JM-TEST-1-MIB::firstKey.0 > JM-TEST-1-MIB::firstKey.0 = No Such Object available on this agent at this > OID >> No - I suggested that you first get things working *without* contexts. >> Take the "defContext" line out of snmp.conf, and replace "TEST" with "" >> in your "register_mib_context" call. Then recompile. >>Does >> snmpget localhost JM-TEST-1-MIB::firstKey.0 >> work or not? > I want to run the multiple instances of single application and each instance > should implement the same MIB but different configured values. Fine. But don't try to run before you can walk. Let's get things working in the default context first. > I tried with the "TEST" in the ACCESS field of the snmpd.conf but still > getting the same error. > > Any thing else you want to know. Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|