Re: Disable specifc OIDs in MIB

Thommandra Gowtham <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CA+XNQ=gNMhNiCU_nRmChBrCSNf11Xi89LxxbA0ONkMJckm6F-w@mail.gmail.com>
Thanks Robert.

Response in-line.


>
> Configure can exclude entire MIBs, but not individual OIDs. You can
> modify the code, but make sure you deal with get and get-next
> properly.
>

Even if we comment/modify the code for individual OIDs, we cannot skip OIDs
that are part of a MIB Table. Right?

I mean skip the OID in the snmpwalk o/p because OID will be part of the
Table Entry. Please let me know



> The size of the data field shouldn't matter. Try stepping through
> the mib2c generated code that creates the varbind and see where the
> value in the varbind gets a bad value.
>

I found that the mib2c utility did not have a conversion for in_addr_t
type(that is used for ASN_IP_ADDRESS). Changing the VAR templates of mib2c,
fixed the issue.

Regards,
Gowtham



>
> Robert
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.