|
|
|
|
|
SNMPOIDToString (Function) In french: SNMPOIDVersChaîne Converts an OID from its numeric representation to its text representation. Note This function can only be used after loading the MIB file (function SNMPLoadMIB), which describes the correspondence between OIDs in text and numerical format. bMIBLoaded is boolean
sPathMIBs is string = CompleteDir(fExeDir()) + "mibs\"
sMib is string
sMib = "RFC1382-MIB.mib"
sOID is string
bMIBLoaded = SNMPLoadMIB(sPathMIBs + sMib)
IF bMIBLoaded = False THEN
Error("MIB error: " + ErrorInfo())
ELSE
sOID = SNMPOIDToString("1.3.6.1.2.1.25.1.1.0")
END
Syntax
<Result> = SNMPOIDToString(<OID to convert>)
<Result>: Character string - String containing the value of the OID in text format,
- Empty string ("") if an error occurred.
<OID to convert>: Character string String containing the OID in numeric format to convert.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|