Mapping instances to devices

To map the instances to devices, add the following information to the first line of your script:

<metadata>I2D=true</metadata>

If the device mapping is enabled, all the instances based on the script output must be defined as:

FQDN/IPAddress*InstanceName

where, FQDN/IPAddress the instance is mapped to the console as a device based on the FQDN/IPAddress; InstanceName is the instance display name of the device. FQDN/IPAddress is used as the instance name if you do not provide the InstanceName.

For example, here is a portion of a script that monitors the response code and response time for web servers:
<metadata>I2D=true</metadata>

WebServer=finance.domain.com/10.10.10.11*FinanceApp,ResponseTime=2,ResponseCode=200

WebServer=callCenter.domain.com/10.10.10.12*CallCenterApp,ResponseTime=3,ResponseCode=200

Based on this script, two new devices would be created in the console: finance.domain.com and callCenter.domain.com and their instances would be: FinanceApp and CallCenterApp.


Note

If one or more of the script instances names are not defined as (FQDN/IPAddress*InstanceName), the script does not populate the instances and the associated attributes and you would get an error message.



Was this page helpful? Yes No Submitting... Thank you

Comments