Re: problem relating snmpd.conf in View base access control model

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/09/06, bhushan <[email protected]> wrote
>    i want to show mib2 for following OID only
>   1.3.6.1.2.1.1 to    1.3.6.1.2.1.11
>    so what MASK i need to set in
>   view      all   included   .1.3.6.1.2.1    [MASK]
>   so that i can see only specified OID only ..


MASK is not really the answer here.
The way to set up this sort of restricted view is to have several
"view" directives,
all tagged with the same name.
(I'd also suggest that you use a name other that "all", since this
view is not actually
"all information" - the agent doesn't care, but it's confusing to
someone reading the
config file).

Try something like:

     view    basic   included    .1.3.6.1.2.1.1
     view    basic   included    .1.3.6.1.2.1.2
     view    basic   included    .1.3.6.1.2.1.3
        :
     view    basic   included    .1.3.6.1.2.1.11

access MyROGroup ""      any       noauth    exact basic  none none
access MyRWGroup ""     any       noauth    exact basic basic basic


Dave

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.