Users Guide

Table Of Contents
list_groups
Usage:
ompc_cli list_groups [-unique] [GROUP_PATH]
The list_groups command lists all child groups for the GROUP_PATH (immediate only). If no GROUP_PATH is supplied, the CLI lists all group
paths or all unique groups in OMPC. Properties include the fully-qualied group name, group type, and member_count. The member_count
property is the number of devices and groups immediately under the child group.
[-unique] has no impact if GROUP_PATH is provided.
If “/” is provided as GROUP_PATH, then the CLI lists the groups at root level.
A group might have multiple fully-qualied group names. When [-unique] is provided, the CLI lists all unique groups; otherwise, the CLI
lists all group paths.
Example output for list_groups:
group_name, group_type, member_count
myservers/mygroup, Room, 20
list_report_groups
Usage:
ompc_cli list_report_groups
The list_report_groups command is used to list all report groups. Each report group is output in one row containing these elds:
report_group_name, description and created_by.
list_reports
Usage:
ompc_cli list_reports [REPORT_GROUP]
The list_reports command is used to list user dened reports. REPORT_GROUP is the name of a report group. If no REPORT_GROUP
is supplied, all reports are listed. Else, only those belonging to the specied REPORT_GROUP are listed.
Each report is output in one row containing these elds: report_name, description, format, report_group_name,
created_by and status (running or not).
run_report
Usage:
ompc_cli run_report [-start_date <start_date>] [-end_date <end_date>] [-format <CSV|XML>] [-
file_name <file_name>] [-detail] REPORT_NAME
The run_report command is used to run a saved report and export the result to the console or to a le.
40
Using OpenManage Power Center through Command Line Interface