Database Reference
In-Depth Information
[-config_search="Configuration Search UI Name"]
[-unmanaged]
Description:
Obtain status and alert information for targets.
Options:
-targets=name:type
Name or type can be either a full value or a pattern match
using "%". Also, name is optional, so the type may be
specified alone.
-config_search="Configuration Search UI Name"
Search UI Name should be the display name of the configuration search.
-alerts
Shows the count of critical and warning alerts for each target.
-noheader
Display tabular output without column headers.
-script
This option is equivalent to -format="name:script".
-format
Format specification (default is -format="name:pretty").
-format="name:pretty" prints the output table
in a readable format but is not intended to be parsed by scripts.
-format="name:script" sets the default column separator
to a tab and the default row separator to a newline.
The column and row separator strings may be specified
to change these defaults.
-format="name:csv" sets the column separator to a comma
and the row separator to a newline.
-unmanaged
Get unmanaged targets (no status or alert information)
Output columns:
Status ID Status Target Type Target Name Critical Warning
Examples:
emcli get_targets
Shows all targets. Critical and Warning columns are not shown.
emcli get_targets
-alerts
Shows all targets. Critical and Warning columns are shown.
emcli get_targets
-targets="oracle_database"
Shows all "oracle_database" targets.
emcli get_targets
-targets="%oracle%"
Shows all targets whose type contains the string "oracle".
Search WWH ::




Custom Search