display telemetry sensor

Function

The display telemetry sensor command displays sampling sensor group information.

Format

display telemetry sensor [ sensor-name ]

Parameters

Parameter Description Value
sensor-name

Specifies the name of a sampling sensor group.

The value is a string of 1 to 64 case-sensitive characters containing letters and digits. Spaces are not supported between letters or digits.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
telemetry read

Usage Guidelines

To view the name, subscription information, and subscription status of a sensor group, run the display telemetry sensor command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about all sampling sensor groups.
<HUAWEI> display telemetry sensor
----------------------------------------------------------
Sensor-name     Path-state Sensor-type          Path      
----------------------------------------------------------
group1          NA         sample               huawei-devm:devm/cpuInfos/cpuInfo
group1          NA         self-defined-event   huawei-devm:devm/cpuInfos/cpuInfo
group1          NA         event                huawei-mpls:TNLREROUTED
group1          NA         alarm                huawei-sem:hwCPUUtilizationResume
----------------------------------------------------------
# Display information about sampling sensor group group1.
<HUAWEI> display telemetry sensor group1
----------------------------------------------------------------------------------------
Sensor-name:group1      
 1. Sensor-path : huawei-devm:devm/cpuInfos/cpuInfo
    Sensor-type : sample
    Path-state  : NA 
    Op-field    : -
      Op-type1  : -
      Op-value1 : -
      Relation  : -
      Op-type2  : -
      Op-value2 : -
    Policy      : -
    Depth       : 1

 2. Sensor-path : huawei-devm:devm/cpuInfos/cpuInfo
    Sensor-type : self-defined-event
    Path-state  : NA 
    Op-field    : systemCpuUsage
      Op-type1  : le
      Op-value1 : 10
      Relation  : and
      Op-type2  : gt
      Op-value2 : 90
    Self defined event  :
      Level             : 7
      Suppress-period   : 20
      Description       : event1
    Depth       : 1

 3. Sensor-path : huawei-mpls:TNLREROUTED
    Sensor-type : event
    Path-state  : NA 
    Depth       : 1

 4. Sensor-path : huawei-sem:hwCPUUtilizationResume
    Sensor-type : alarm
    Path-state  : NA 
    Depth       : 1

----------------------------------------------------------------------------------------
Table 1 Description of the display telemetry sensor command output
Item Description
Sensor-name

Name of a sampling sensor group.

Path-state

Sampling sensor path status, which can be:

  • RESOLVED: subscribed.
  • NA: not subscribed.
Sensor-type

Sampling type.

  • sample: data sampling.
  • event: event sampling.
  • alarm: alarm sampling.
  • self-defined-event: customized event sampling.
  • alarm-or-event: alarm or event sampling.
  • OnChange: immediate sampling.
Path

Sampling sensor path.

Sensor-path

Sampling sensor path.

Op-field

Fields contained in the data reported.

Op-type1

Operator 1.

Op-value1

Value 1 after operation.

Relation

Operation relationship.

Op-type2

Operator 2.

Op-value2

Value 2 after operation.

Policy

Policy. The only policy supported is to clear all sampling paths during initial configuration.

Depth

Sampling path depth.

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