modify_collection_schedule

指定されたターゲットのセットで、メトリックおよびポリシーの収集設定の収集スケジュールを変更します。収集とは、すべてのメトリックを結合し、スクリプトを実行して、データを収集することです。収集には、関連する様々な属性(収集スケジュールやアップロード頻度など)があります。

書式

emcli modify_collection_schedule
select metric_group_label, coll_name as collection_name, disabled, frequency_code, 
interval, time_unit, upload_frequency    
from mgmt$target_collections   
where target_type ='host' and target_name = '<target name>'and metric_group_label = 'Load';  

ノート:

すべてのパラメータと選択肢で、大/小文字が区別されます。

オプション

  • targetType

    単一のターゲット・タイプ値を指定する必要があります。ターゲット・タイプ値は、リポジトリで指定したものと同じである必要があります。

    ノート:

    現在のところ、個々のターゲット・タイプのみがサポートされます。

  • targetNames

    ターゲット名は、リポジトリに存在する名前と同じにする必要があります。ターゲットは、すべてtargetTypeパラメータで指定したターゲット・タイプと同じである必要があります。セミコロン(;)を使用して各名前を区切ります。収集スケジュールの変更が実行されるのは、ターゲット名とターゲット・タイプの組合せが有効な場合のみです。たとえば:

    host1;host2;host3

emcli modify_collection_schedule
select metric_group_label, coll_name as collection_name, disabled, frequency_code, 
interval, time_unit, upload_frequency    
from mgmt$target_collections   
where target_type ='host' and target_name = 'host.subnet.example.com'and metric_group_label = 'Load';