Users Guide

snmp_user (Required)
snmp_authentication_password
snmp_encryption_password
对于 WS-Man,该属性为:
wsman_port
wsman_user
wsman_password
wsman_validate_cert(其值必须为 true false
对于 HTTPS,该属性为:
https_port
https_user
https_password
https_validate_cert(其值必须为 true false
对于 SSH,该属性为:
ssh_port
ssh_user
ssh_password
update_profile
用法:
ompc_cli update_profile [-description <description>] [<pair of protocol
property and value options>] <profile_name> [<new_profile_name>]
update_profile 命令更新 OMPC 中现有的查找配置文件,目标文件由 profile_name 来确定。其命令选项
的语义与 add_profile 命令中的选项一致。而可以更新的协议属性集则取决于该配置文件所支持的协议。如果
提供了 new_profile_name,则 profile_name 被更新为 new_profile_name
add_device
用法:
ompc_cli add_device [-device_name <device_name>] [-description <description>] [-
size <size>] [-estimated_max_power <estimated_max_power>] device_type <SERVER
| PDU | UPS | UNSUPPORTED|CHASSIS> [-model <model>] [profile <profile-name>]
[-protocol <protocol_name>] [<pair of protocol property and value options>]
[host_name or ip]
add_device 命令通过使用由配置文件名称确定的配置文件,或使用通过命令选项直接提供的相关协议信息,
来将设备添加到 OMPC。您无法同时输入 profile protocol
device_name 为可选项,如果未提供该选项,则 OMPC 将生成一个 device_name(遵循与网络查找中一样
的规则)。对于不支持的设备,默认情况下自动生成的 device_name
不支持
。为了确保标识的唯一性,
OMPC 会在设备名称后面附加上编号。
32