Re: Enable / Disable MIB through snmp.conf

Amar Mudrankit <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
the configuration in snmpd.conf, that I tried was as follows:

view udpview    included        .1

 #  excluding the whole udp subtree.
 view udpview    excluded        .1.3.6.1.2.1.7

 authcommunity read public       10.50.0.0/16    -V udpview

apologies for previous wrong configuration

Thanks and Regards,
Amar S Mudrankit

On Fri, May 22, 2009 at 5:11 PM, Amar Mudrankit
<[email protected]> wrote:
> I tried following configuration in snmpd.conf, still it did not help me
>
> view udpview    included        all
>
> #  excluding the whole udp subtree.
> view udpview    excluded        udp
>
> authcommunity read public       10.50.0.0/16    -V udpview
>
> snmpget on udpInDatagrams always returned valid value.
>
> Am I still missing something?
>
> Thanks and Regards,
> Amar S Mudrankit
>
> On Thu, May 21, 2009 at 10:33 PM, Mike Ayers <[email protected]> wrote:
>>
>>> From: Amar Mudrankit [mailto:[email protected]]
>>> Sent: Thursday, May 21, 2009 9:09 AM
>>
>>> For example, if I disable UDP-MIB, I will not be able to retrieve the
>>> value udpInDatagrams.0 from agent using snmpget command.
>>>
>>> I tried to achieve this by not defining the UDP-MIB in snmp.conf file
>>> mibs section(attached with this mail),
>>
>>        That just affects whether the snmp tools on that host will translate those OIDs into their standard textual representation.  To do what you intend, please read the access control section of the snmpd.conf manpage.
>>
>>
>>        HTH,
>>
>> Mike
>>
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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.