setDeviceInfo
Specify a network device and update its hardware details including Model, SoftwareVersion, OperatingSystem, RAM, HDD, and Manufacturer by providing metric-value pairs.
Instructions
setDeviceInfo
Category: Manage and query network devices
Key parameters:
deviceName/ipAddress/dnsName*: Either one of these three parameters can be used to update t
values*: The JSON array containing metricName and metricValue for Har
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| apiKey | Yes | OpManager API key for authentication | |
| values | Yes | The JSON array containing metricName and metricValue for Hardware details update: (a) metricName - The Hardware metric(s) that need to be changed. These metrics include Model, SoftwareVersion, OperatingSystem, RAM, HDD, and Manufacturer. [Note: These metrics are case-sensitive and must be used as it is] (b) metricValue - The value corresponding to the respective metricName to be changed. | |
| deviceName/ipAddress/dnsName | Yes | Either one of these three parameters can be used to update the device details. These parameters are the managed Entity name as seen in the URL of the device snapshot page (OR 'deviceName' property value in the listDevices API response), or the IP address of the device, or the DNS name of the device. |