Limiting MIB access to snmpd

Larry Hayes <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAG3KfNaswGbw_mT+TyDwp=TaKHan03X3VaDZW331u4uErBp9Ug@mail.gmail.com>
I have built the snmpd and a custom agentx sub agent.

When I compiled the daemon and sub agent I specified the with mibs:


--with-mibs=SNMPv2-MIB:RFC1213-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:My-MIB:My-4K-EVENTS-MIB:My-4K-MIB
\

When I do an snmpwalk from the top level. I am getting data for mibs that I
did not install on my machine.

Like:
HOST-RESOURCES-MIB::hrSWRunParameters.856 = STRING: "/bin/syslog-ng -F"

I would like for the snmpwalk to not get responses for this MIB.

Is there a way to build/install/configure snmpd to skip MIBs that I do not
want responses for?

Actually I am not sure how it knows about this MIB since it is not
installed on the device it is running on.

Thanks
Larry

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