modify_metric_data_load_limits

Modifies the metric data loading limits for a specified set of inputs.

This verb supports bulk operation for the following cases:

  • All metrics of all targets

  • All metrics of all targets for a specified target type

  • All metrics of specified targets for a specified target type

  • Specified metrics of all targets for a specified target type

  • All metrics of targets with a specified property name and property values

Format

emcli modify_metric_data_load_limits 
        [-num_rows="1000"]
        [-num_bytes="1024"]
        [-num_collections="10"]
        [-target_type="host"]
        [-prop_name="lifecycle"]
        [-prop_values="production;staging"]
        [-targets="host1;host2;"]
        [-metrics="Load;Filesystems;"]

[ ]  indicates that the parameter is optional.

Options

  • -num_rows

    Limit set for the number of data rows. If you want to retain the existing value, then skip this option.

  • -num_bytes

    Limit set for the number of bytes. If you want to retain the existing value, then skip this option.

  • -num_collections

    Limit set for the number of collections. If you want to retain the existing value, then skip this option.

  • -target_type

    Target types that you want to specify. If you want to perform the operation on all targets, then skip this option.

  • -prop_name

    Global target property name.

  • -prop_values

    Semicolon separated list of property values for a specified property name. Unless you want to set the data loading limits of targets based on target properties, skip this option.

  • -targets

    Semicolon separated list of targets of 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 of 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 a specified target type, then skip this option.

Examples

Example 1

The following command modifies the number of rows, number of bytes, and metric data loading limits for all metrics of "myhost1.oracle.com" and "myhost2.oracle.com" host targets.

 emcli modify_metric_data_load_limits
         -num_rows="1000"
         -num_bytes="1024"
         -target_type="host"
         -prop_name="lifecycle"
         -prop_values="production;staging"

Example 2

The following command modifies the number of rows, number of bytes, and metric data loading limits for the Load and Filesystems metrics of all host targets.

 emcli modify_metric_data_load_limits
         -num_rows="1000"
         -num_bytes="1024"
         -target_type="host"
         -metrics="Load;Filesystems;"