Configuring the Data to Be Sampled or a Customized Event

When you configure static telemetry subscription to the data sampled or a customized event, you need to create a sampling sensor group and specify a sampling path and filter criteria.

Context

When static subscription is configured, a device functions as a client and a collector functions as a server. To statically subscribe to the data sampled or a customized event, you need to configure a source of the data to be sampled.

You can configure a telemetry customized event. If a performance indicator of a resource object that telemetry monitors exceeds the user-defined threshold, the customized event is reported to the collector in time for service policy determination.

Procedure

  • Configure the data to be sampled.
    1. Run system-view

      The system view is displayed.

    2. Run telemetry

      The telemetry view is displayed.

    3. Run sensor-group sensor-name

      A sampling sensor group is created, and the sensor-group view is displayed.

    4. Run sensor-path path

      A sampling path is configured for the telemetry sensor group.

      A maximum of 64 sampling paths can be configured for a sampling sensor group, including sampling paths configured using the sensor-path and sensor-path self-defined-event commands. When the number of sampling paths reaches the upper limit, the device displays a message indicating that the maximum number of paths is reached.

      A sampling path name can be configured in a maximum of 10 sampling sensor groups at the same time. When the number of sampling sensor groups for which a sampling path name is configured reaches the upper limit, the device displays a message indicating that the maximum number of sampling sensor groups is reached.

    5. (Optional) Run depth depth-value

      A sampling depth is configured for the sampling path.

    6. (Optional) Run policy reset-when-start

      A sampling path is cleared during initial configuration.

      Only the sampling path huawei-qos:qos/global-query/default-queue-statisticss/default-queue-statistics can be cleared during initial configuration.

    7. Run filter filter-name

      A filter is created for the sampling path, and the filter view is displayed.

      If the sampling sensor group is subscribed to and configured with redundancy suppression, sampling paths with filter criteria specified cannot be configured in this sampling sensor group.

    8. Run op-field field op-type { eq | gt | ge | lt | le } op-value value

      A filter criterion is configured.

    9. (Optional) Run condition-relation { and | or }

      A logical operation mode between filter criteria is configured.

    10. Run commit

      The configuration is committed.

  • Configure a customized event.
    1. Run system-view

      The system view is displayed.

    2. Run telemetry

      The telemetry view is displayed.

    3. Run sensor-group sensor-name

      A sampling sensor group is created, and the sensor-group view is displayed.

    4. Run sensor-path path self-defined-event

      A telemetry customized event is configured.

      A maximum of 64 sampling paths can be configured for a sampling sensor group, including sampling paths configured using the sensor-path self-defined-event and sensor-path commands. When the number of sampling paths reaches the upper limit, the device displays a message indicating that the maximum number of paths is reached.

      A sampling path name can be configured in a maximum of 10 sampling sensor groups at the same time. When the number of sampling sensor groups for which a sampling path name is configured reaches the upper limit, the device displays a message indicating that the maximum number of sampling sensor groups is reached.

    5. (Optional) Run description event-description

      A description is configured for the customized event.

    6. (Optional) Run suppress-period period

      A suppression period is configured for the customized event.

    7. (Optional) Run level level-value

      A level is configured for the customized event.

    8. (Optional) Run depth depth-value

      A sampling depth is configured for the sampling path.

    9. Run filter filter-name

      A filter is created for the sampling path, and the filter view is displayed.

      If the sampling sensor group is subscribed to and configured with redundancy suppression, sampling paths with filter criteria specified cannot be configured in this sampling sensor group.

    10. Run op-field field op-type { eq | gt | ge | lt | le } op-value value

      A filter criterion is configured.

    11. (Optional) Run condition-relation { and | or }

      A logical operation mode between filter criteria is configured.

    12. Run commit

      The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >