Previous Topic: availabilityWithSysUptime FunctionNext Topic: mapVendor Function


mapModel Function

This function uses the value of an objectID (sysObjectID) and maps the system OID to a model name string. Use this function to certify devices.

Syntax

This function has the following format:

String  mapModel ( ObjectID sysObjectID )

Parameters

sysObjectID

The object ID value to parse.

Return Values

Returns the string containing the mapped model name.

Examples

The following expression produces the following result for an OID value of 1.3.6.1.4.1.9.1.223:

Expression:

mapModel (oid )

Result:

Cisco7204VXR

The same expression produces the following result for an OID value of 1.3.6.1.4.1:

Result:

Unknown 1.3.6.1.4.1

Advanced Example

The following expression is taken from “System Statistics” Vendor Certification:

Model=mapModel (sysObjectID)