做為管理員,您可以為每個裝置項目的介面元件名稱設定別名。 介面別名是由管理員配置的名稱,會套用至 CA Performance Center 中的相關聯介面元件。 視您指派的角色權限而定,使用者可在其儀表板與檢視中看到介面別名。
附註:使用 REST Web 服務所設定的別名,其優先順序高於透過匯入 CSV 檔案所設定的別名。 如需匯入 CSV 檔案的詳細資訊,請參閱《CA Performance Center 管理員指南》。
下列 URL 顯示語法:
http://CA Performance Center 伺服器 IP 位址:8181/pc/center/webservice/devices
請依循下列步驟:
http://CA Performance Center 伺服器 IP 位址:8181/pc/center/webservice/devices/deviceItemId/device_id/interfaces
介面元件相關聯之受監控裝置的裝置項目識別號碼。
介面元件相關聯之網域的網域識別號碼。
<interfaces>
<interface>
<itemId>interface_item_id</itemId>
<nameAlias>alias_for_interface</nameAlias>
</interface>
...
</interfaces>
範例
若要將「Et0 - alias」和「Se0 - alias」設為兩個介面的介面別名,請在 [HTTP 要求] 窗格的 [內文] 索引標籤中輸入下列資訊:
<interfaces>
<interface>
<itemId>164</itemId>
<nameAlias>Et0 - alias</nameAlias>
</interface>
<interface>
<itemId>165</itemId>
<nameAlias>Se0 - alias</nameAlias>
</interface>
</interfaces>
附註:若要為多個裝置項目設定介面元件名稱的別名,請使用 update_alias_name.sh 指令檔。 如需使用指令檔設定別名的相關資訊,請參閱《CA Performance Center 管理員指南》。
Copyright © 2014 CA Technologies.
All rights reserved.
|
|