modify_collection_schedule

Modifies the collection schedule of a collection setup for metrics and policies for the specified set of targets. Combining all the metrics, running a script, and collecting the data is referred to as a collection. The collection has various attributes associated with it, such as the collection schedule, upload frequency, and so forth.

Format

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';  

Note:

All of the parameters and choices are case-insensitive

Options

  • targetType

    You must specify a single target type value, and it should be the same as specified in the repository.

    Note:

    Only individual target types are currently supported.

  • targetNames

    The target name should be the same as exists in the repository. All of the targets should be the same target type you specified in the targetType parameter. Use a semicolon ( ; ) to separate the names. Changes to the collection schedule will be executed for only valid target name and target type combinations. For example:

    host1;host2;host3

Example

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';