>>>>> On Wed, 1 Dec 2004 12:40:49 -0800 (PST), Shobana Sampath <[EMAIL 
>>>>> PROTECTED]> said:

Shobana> I am using the netsnmp library mainly to create pdus and add
Shobana> vars to pdus and parse pdus. But if I do not call init_snmp
Shobana> my oids come out as "0.0" eventhough I do not actually load
Shobana> my MIB. Do I need to make the init_snmp call and how can I
Shobana> disable mib loading so it does not print to the console
Shobana> saying it could not load a bunch of MIBs.

init_snmp() does a lot of work besides just loading MIBs.  It
initializes many components of the library.  I'm afraid you really
should call it.

In theory, you could just call the lower level init routines you
needed to but determining which ones are the correct ones to call will
be difficult.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to