RE: SNMPv3 Context Based Access...

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 &...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-13-2005
Srivastava, Mahendra
 
Posts: n/a
Default RE: SNMPv3 Context Based Access...

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0