|
|
|
|
SNMPLoadMIB (Function) In french: SNMPChargeMIB Loads a MIB file in memory and analyzes it. This file contains the OID definitions used to convert the numeric identifiers into string. It also contains a text that describes the OIDs. MIBLoaded is boolean PathMIBs is string = CompleteDir(fExeDir()) + "mibs\" Mib is string Mib = "RFC1382-MIB.mib" // MIB of X25 protocol MIBLoaded = SNMPLoadMIB(PathMIBs + Mib) IF MIBLoaded = False THEN Error("MIB error:" + ErrorInfo()) END
Syntax
<Result> = SNMPLoadMIB(<Name of MIB file>)
<Result>: Boolean - True if the file was successfully loaded and analyzed,
- False if an error occurred. ErrorInfo returns more information on the error.
<Name of MIB file>: Character string Full path of the MIB file. This path can be a full path or a path relative to the current directory. Remarks - In Windows, some MIB files are supplied in the system32 directory.
- Several MIB files can be loaded. The searches will be performed in all the loaded MIB files.
- If a MIB file accesses another MIB file in its code, the second MIB file is automatically loaded (if the name specified in the MIB file is identical to the physical name of the MIB file).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|