ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Reading a value of an agent Hide the details
Value of the OID returned by the agent. The type of the value is retrieved in an integer variable (<Returned Type>).Empty string ("") if an error occurred.
Identifier of SNMP session, returned by SNMPStartSession.
Identifier of the SNMP object to read. This string can correspond to the identifier in numeric format or in text format (the MIB file that describes the OID must have been loaded by SNMPLoadMIB).
If this parameter is specified, the variable will be assigned with the type of the retrieved value. The following constants are available:snmpTypeIPAddressThe OID contains an IP address.snmpTypeBitsThe OID contains bits.snmpTypeStringThe OID contains a string.snmpTypeCounter32The OID is a counter (signed integer on 32 bits).snmpTypeCounter64The OID is a counter (signed integer on 64 bits).snmpTypeUnsignedIntegerThe OID contains an unsigned integer.snmpTypeIntegerThe OID contains an integer.snmpTypeProgressBarThe OID contains a progress bar.snmpTypeNullThe OID is not associated with a value (a branch with child elements but without value by itself for example).snmpTypeOIDThe OID contains an OID.snmpTypeOpaqueThe OID contains a value that cannot be interpreted directly.snmpTypeTicksThe OID contains a number of ticks.
Reading several values of an agent Hide the details
True if all the values have been returned, False if at least one error occurred.
Array of strings containing the OIDs to read. Each OID can correspond to the identifier in numeric format or in text format (the MIB file that describes the OID must have been loaded by SNMPLoadMIB).
Array of integers. At least one dimension of this array must be equal to <Array of OIDs to Read>. Once the function has been run, this array will contains the types of the returned values. The following constants are available:snmpTypeIPAddressThe OID contains an IP address.snmpTypeBitsThe OID contains bits.snmpTypeStringThe OID contains a string.snmpTypeCounter32The OID is a counter (signed integer on 32 bits).snmpTypeCounter64The OID is a counter (signed integer on 64 bits).snmpTypeUnsignedIntegerThe OID contains an unsigned integer.snmpTypeIntegerThe OID contains an integer.snmpTypeProgressBarThe OID contains a progress bar.snmpTypeNullThe OID is not associated with a value (a branch with child elements but without value by itself for example).snmpTypeOIDThe OID contains an OID.snmpTypeOpaqueThe OID contains a value that cannot be interpreted directly.snmpTypeTicksThe OID contains a number of ticks.
Array of strings. At least one dimension of this array must be equal to <Array of OIDs to Read>. Once the function has been run, this aray will contain the values returned by the SNMP agent.
Limitation
Last update: 10/23/2020
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: