enable_metric_data_load

Reenables the metric data loading for targets or metrics where data loading was disabled due to a quarantine process.

This verb supports bulk operation for the following cases:

  • All metrics of specified targets for a specified target type

  • Specified metrics of all targets for a specified target type

Format

emcli enable_metric_data_load 
        [-target_type="host"]
        [-targets="host1;host2;"]
        [-metrics="Load;Filesystems;"]

[ ]  indicates that the parameter is optional.

Options

  • -target_type

    Target type that you are reenabling metric data loading for. If you want to perform the operation on all targets, then skip this option.

  • -targets

    Semicolon separated list of targets for a specified target type. You must use the target_type option with this option. If you want to perform the operation on all targets for a specified target type, then skip this option.

  • -metrics

    Semicolon separated list of metrics for a specified target type. You must use the target_type option with this option. If you want to perform the operation on all metrics for the specified target type, then skip this option.

Examples

Example 1

The following command reenables the metric data loading for all metrics of all the host targets.

 emcli enable_metric_data_load 
       -target_type="host"

Example 2

The following command reenables the metric data loading for all metrics of the myhost1.example.com and myhost2.example.com host targets.

 emcli enable_metric_data_load 
          -target_type="host"
          -targets="myhost1.example.com;myhost2.example.com;"