get_threshold
Obtains threshold information for a given target and metric.
Format
emcli get_threshold -target_name="tname" -target_type="ttype" [-metric="metric_group"] [ ] indicates that the parameter is optional
Options
-
target_name
Name of the target associated with the threshold.
-
target_type
Type of target associated with the threshold.
-
metric
Metric group associated with the threshold. The default without this option is to show the threshold of all metrics.
Examples
Example 1
This example gets the threshold data for the Load category on the host myhost.example.com.
emcli get_threshold -target_name="myhost.example.com" -target_type="host" -metric="Load"
Example 2
This example gets the DiskActivitybusy threshold for the Disk Activity on the host myhost.oracle.com.
emcli get_threshold -target_name="myhost.oracle.com" -target_type="host" -metric="DiskActivity"