>>>>> On Tue, 8 Sep 2009 10:55:33 +0530 (IST), Sathish Chandrasekaran 
>>>>> <[email protected]> said:

SC> I had generated code using mib2c for the new mibs.while configuring
SC> I have specified my private mib as default mib.   

That only changes a few aspects of things, like how traps are reported
enterprise-wise, etc.

SC> 1) snmpwalk  doesnot retrieve my mib by default .

No, snmpwalk is hard-coded to walk the mibII tree by default.

SC> netsnmp_register_scalar(netsnmp_create_handler_registration( for every 
oid's ) 

That means you have a mib full of scalars.

SC> Am I missing any register  function for mib2 generated code for
SC> detecting as default mib ?

That's not a complete description of the problem.  Once you're done with
creating the code and filling it out so that it works, what is left that
you aren't getting results for?
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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

Reply via email to