Re: How to NOT populate some OID in the mib2c.mfd.conf generated

This is a discussion on Re: How to NOT populate some OID in the mib2c.mfd.conf generated within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, 9 Dec 2005 10:08:46 -0600 Emi.Yanagi@radisys.com wrote: EYC> I have a question ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-09-2005
Robert Story
 
Posts: n/a
Default Re: How to NOT populate some OID in the mib2c.mfd.conf generated

On Fri, 9 Dec 2005 10:08:46 -0600 Emi.Yanagi@radisys.com wrote:
EYC> I have a question about mib2c.mfd.conf generated template. If I want to
EYC> NOT populate ifOutQLen in ifTable for example, what is the graceful way
EYC> to do this in the subagent?
EYC>
EYC> I tried to let ifOutQLen_get() return MFD_SKIP, but then if I do a
EYC> "snmpwalk ifOutQLen", I got "Timeout: No Response from 10.1". The worse is
EYC> when I do a "snmpwalk ifTable", it times out at ifOutQLen without
EYC> populating ifSpecific.

MFD_SKIP is the right way. Are you using 5.2.x, or 5.3.pre? I'd suggest
generating the code from 5.3.pre, as many enhancements have been made.

EYC> How to NOT populate some OID in the mib2c.mfd.conf generated subagent?

If you *never* have a value for an object, you can also set up valid_columns
and exclude it. See the ipSystemStats code for an example of that.

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0