> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of xiao ren
> Sent: Tuesday, June 24, 2008 2:07 AM

> And yes, I do install net-snmp lib from source, so I guess I 
> have installed the MIB files already.

        Part of "installed" involves locatability.  This is usually done by 
setting the environment variables MIBDIRS and MIBS in a startup file (.bashrc, 
Windows "environment variables" dialog, etc.), but one can set those locally or 
use -M/-m flags.

> And read_objid function doesn't report error after I changed 
> the oids structure according to your advice. Maybe I should 
> always explicitly write the MIB name from which the oid originated?

        You should always fully qualify your OIDs so the library can find them. 
 Generally, the MIB::name reliably, produces fully qualified OIDs, but you can 
also use full numeric OIDs, depending on the situation.


        HTH,

Mike

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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