No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Network Management and Monitoring

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, NETCONF, ECA, Intelligent Video O&M, eMDI, and Network Deception.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Performance Statistics Collection Task

Configuring a Performance Statistics Collection Task

Context

To collect and analyze performance data of services in the system, configure a performance statistics collection task and bind the task to instances. In the performance statistics collection task, you can configure the performance statistics collection cycle and parameters for statistics file generation.

NOTE:

If the performance statistics collection task is busy writing collected statistics into a file, you may need to wait for a while before performance management configurations are successfully delivered. In this situation, a message is displayed indicating that the performance statistics collection task is busy.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pm

    The performance management (PM) view is displayed.

  3. Run statistics enable

    The performance statistics collection function is enabled.

    By default, the performance statistics collection function is disabled.

  4. Run statistics-task task-name

    A performance statistics collection task is created, and the performance statistics collection task view is displayed.

  5. Run binding instance-type instance-type { all | instance instance-name &<1-5> }

    An instance is bound to the performance statistics collection task.

    After an instance is bound to a performance statistics collection task, the system collects the performance statistics about the instance.

    When all is specified, instance-type can only be ipfpm.

  6. (Optional) Run measure disable measure-name

    Measurement is disabled for a statistics counter of the instance bound to the performance statistics collection task.

    By default, all statistics counters of the instance bound to a performance statistics task are measured.

    To add one or more indicators that have been disabled to the performance statistics task again, run the measure enable [ measure-name ] or undo measure disable [ measure-name ] command to enable these indicators.

    To view statistics counters of the instance bound to a performance statistics task, run the display pm measure-info [ instance-type instance-type ] command.

  7. (Optional) Run statistics-cycle cycle

    The performance statistics collection cycle is set.

    The default cycle is 15 minutes.

  8. (Optional) Run sample-interval interval

    The sampling interval for a performance statistics collection task is set.

    By default, the sampling interval varies with the performance statistics collection cycle:

    • If the performance statistics collection cycle is 5 minutes, the default sampling interval is 1 minute.
    • If the performance statistics collection cycle is 10 minutes, the default sampling interval is 2 minutes.
    • If the performance statistics collection cycle is 15 minutes, the default sampling interval is 3 minutes.
    • If the performance statistics collection cycle is 30 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 60 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 1440 minutes, the default sampling interval is 15 minutes.

  9. (Optional) Configure statistics file generation.

    • Run the record-file disable command to disable the generation of a performance statistics file.

      By default, the system saves performance statistics in a performance statistics file automatic.

      Run this command when you do not want the system memory to be occupied by many performance statistics files. After disabling the generation of a performance statistics file, you can still run the display pm statistics task-name data-index index [ instance-type instance-type [ measure measure-name | instance instance-name &<1-5> ] * ] command to view performance statistics.

    • If the performance statistics file generation function is left enabled, you can run the record-interval interval command to set the number of performance statistics collection cycles after which the system generates a statistics file.

      By default, the interval at which the system generates performance statistics files is determined by the performance statistics collection cycle:
      • If a short performance statistics collection cycle (5, 10, 15, 30, or 60 minutes) is set, the system generates performance statistics files every four intervals.
      • If a long performance statistics collection cycle (1440 minutes) is set, the system generates performance statistics files at every one interval.

      After the command is executed, the system generates performance statistics files every cycle x interval minutes and automatically saves the performance statistics in the files. The system generates a maximum of four performance statistics files for each performance statistics collection task. If the system generates a new performance statistics file when four performance statistics files already exist, the latest performance statistics file will replace the earliest one.

  10. (Optional) Configure the function of reporting alarms when the performance statistics exceed the threshold
    1. Run the threshold-alarm enable command to enable the threshold alarm.

      By default, the threshold alarm is disabled.

      The threshold alarm can be used to monitor running services and performance statistics indicators and send alarms to the NMS.

    2. Run the threshold-alarm measure measure-name operation { ge | le } trigger-value trigger-value-val clear-value clear-value-val command to configure the monitoring rules for the threshold alarm.

      By default, no monitoring rules are created for threshold alarms about performance statistics tasks.

      After the monitoring rules for the threshold alarm are configured, the system starts to monitor instances. The system checks whether the number of instances exceeds the threshold based on the monitoring rules in a week. If the number of instances exceeds the threshold, the system will send alarms to users.

      If measure-name of the command is the same as measure-name of the measure disable measure-name command which is disabled, the command configuration is invalid.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065680

Views: 53182

Downloads: 504

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next