Apologize me for mailing to you only.

I am using net-snmp 5.4.1 and running the agent in V2c mode.

---------------------------------------------------------------------------
   view  simpleView  included  .1.3.6.1.2.1.1.3
   view  simpleView  included  .1.3.6.1.2.1.1.1

   rocommunity  read   default    -V simpleView
---------------------------------------------------------------------------

Is the above allowed in SNMPV1/V2C ?
If not ,what is the corresponding mechanism to achieve the same ?

Please advise.

-Pachi-


On Thu, May 29, 2008 at 2:01 PM, Dave Shield <[EMAIL PROTECTED]>
wrote:

>    [ First - *please* don't mail me privately, without copying
>     any responses to the mailing list.  I don't have the time
>     or inclination to offer private, unpaid, SNMP consultancy.
>     Keep discussions to the list, where others can both learn
>     and offer advice.  Thanks.   ]
>
> 2008/5/28 Pachiappan D <[EMAIL PROTECTED]>:
> > I have tried like this in my snmpd.conf,
> > rocommunity read default .1.3.6.1.2.1.1.3  .1.3.6.1.2.1.1.1
> >
> > Agent takes only the first one ( .1.3.6.1.2.1.1.3 ) not the remaining.
> > Is it possible to achieve more no of objects in row ?
> >
> > Please suggest me.
>
> Try defining a view to cover these two objects:
>
>    view  simpleView  included  .1.3.6.1.2.1.1.3
>    view  simpleView  included  .1.3.6.1.2.1.1.1
>
> and then grant access to this view:
>
>    rocommunity  read   default    -V simpleView
>
> Otherwise you're looking at the full com2sec/group/view/access
> setup - see snmpd.conf(5) or the FAQ for details.
>
> Dave
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to