get_threshold
指定したターゲットとメトリックに関するしきい値情報を取得します。
書式
emcli get_threshold -target_name="tname" -target_type="ttype" [-metric="metric_group"] [ ] indicates that the parameter is optional
オプション
-
target_name
しきい値に関連付けられているターゲットの名前。
-
target_type
しきい値に関連付けられているターゲットのタイプ。
-
metric
しきい値に関連付けられているメトリック・グループ。このオプションを指定しない場合のデフォルトでは、すべてのメトリックのしきい値を表示します。
例
例1
この例では、ホストmyhost.example.comで、Loadカテゴリのしきい値データを取得します。
emcli get_threshold -target_name="myhost.example.com" -target_type="host" -metric="Load"
例2
この例では、ホストmyhost.oracle.comのディスク・アクティビティについて、DiskActivitybusyしきい値を取得します。
emcli get_threshold -target_name="myhost.oracle.com" -target_type="host" -metric="DiskActivity"