This function uses the value of an objectID (sysObjectID) and maps the system OID to a vendor name string. Use this function to find the vendor of a device.
Syntax
This function has the following format:
String mapVendor( ObjectID sysObjectID )
Parameters
The object ID value to parse.
Return Values
Returns the string containing the mapped vendor name. If a vendor is not found, returns "".
Examples
The following expression produces the following result for an OID value of 1.3.6.2.1.2.2636.0:
Expression:
mapVendor (oid )
Result:
Juniper
The same expression produces the following result for an OID value of 1.3.6.2.1.2.1234567.0:
Result:
Unknown
Advanced Example
The following expression is taken from “System Statistics” Vendor Certification:
Model=mapVendor (sysObjectID)
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|