Set the Alias Name for a Device

You can set an alias name for a single monitored device. The alias name appears in the inventory list of devices and in the inventory list of interfaces.
capm370
You can set an alias name for a single monitored device. The alias name appears in the inventory list of devices and in the inventory list of interfaces.
An alias that is set using REST web services takes precedence over the alias that you can set by importing a CSV file.
To set an alias name for a single monitored device, run a PUT to the following URL:
http://
PC_host
:8181/pc/center/webservice/devices/deviceItemId/
device_id
/aliasName/
alias_name
  • device_id
    Is the device item identification number for the monitored device for which you are setting an alias name.
  • alias_name
    Is the alias name for the monitored device.
Example:
Run a PUT to the following URL to set 'Alias name for 96.24' as the alias name for a device with a device item ID of 119:
http://
PC_host
:8181/pc/center/webservice/devices/deviceItemId/119/aliasName/Alias name for 96.24
To set the aliases for multiple device items, use the
update_alias_name.sh
script.