Users Guide

https_port
https_user
https_password
https_validate_cert (its value must be true or false)
For SSH, the properties are:
ssh_port
ssh_user
ssh_password
ssh_validate_cert
For SNMPv1v2c, the property is snmp_community_string. (Required).
For SNMPv3, the properties are:
snmp_user (Required)
snmp_authentication_password
snmp_encryption_password
For WMI, the properties are:
wmi_domain
wmi_user
wmi_password
update_profile
Usage:
ompc_cli update_profile [-description <description>] [<pair of protocol property and
value options>] <profile_name> [<new_profile_name>]
The update_profile command updates an existing discovery profile identified by profile_name in OMPC. The semantics of
the command options are the same as those in add_profile. The protocol property set that can be updated depends on the
protocol supported by this profile. If new_profile_name is provided, the profile_name is updated to the new_profile_name.
add_device
Usage:
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 | HYPERVISOR> [-model <model>] [profile <profile-name>] [-
protocol <protocol_name>] [<pair of protocol property and value options>] [host_name or
ip]
The add_device command adds a device to OMPC by using the profile name-identified profile or by using related protocol
information directly supplied through the command option. You cannot enter profile and protocol at the same time.
The device_name is optional, and if not provided, OMPC generates a device_name (following the same rule as in network
discovery). For unsupported devices, the default auto-generated device_name is Unsupported. To ensure unique identifiers,
OMPC appends numbers to the device name.
The [host_name or ip] option is required, except when the device_type is Unsupported.
The -model option is valid only when the type is Unsupported.
Using OpenManage Power Center through Command Line Interface
29