AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones del protocolo SNMP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SNMPOIDDescription (Function)
In french: SNMPOIDDescription
Returns the description of an OID.
Remark: This function cannot be used as long as the MIB file that describes the correspondence between the OIDs in text and numeric format has not been loaded (SNMPLoadMIB).
Example
MIBLoaded is boolean
PathMIBs is string = CompleteDir(fExeDir()) + "mibs\"
Mib is string
Mib = "RFC1382-MIB.mib" // MIB of X25 protocol
MyDescription is string
MIBLoaded = SNMPLoadMIB(PathMIBs + Mib)
IF MIBLoaded = False THEN
Error("Error MIB: " + ErrorInfo())
ELSE
MyDescription = SNMPOIDDescription("
dod.internet.mgmt.mib-2.
transmission.x25.x25AdmnInterruptTimer
")
END
Syntax
<Result> = SNMPOIDDescription(<OID to process>)
<Result>: Character string
Description of the OID. This description is stored in the MIB file.
<OID to process>: Character string
String containing the OID in text or numeric format.
Component: wd290com.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local