Huawei Switch Traps Test

In business-critical environments, Huawei switches provide connectivity for applications, users, and services that require high availability and reliable performance. Often, administrators may encounter issues such as an unexpected switch reboot, active-standby control board synchronization failure, configuration changes, traffic drops due to interface rate limiting, or automated deployment failures. If these events remain undetected, they can lead to service disruption, performance degradation, and a poor user experience. To proactively identify and address these issues, administrators should continuously monitor the SNMP traps that were generated on the Huawei switches. The Huawei Switch Traps test helps administrators in this regard!

This test intercepts the failure SNMP traps sent by the target Huawei Switch, extracts relevant information related to the failures from the traps, and reports the count of these trap messages to the eG manager. By monitoring these SNMP traps, administrators can rapidly detect critical events, investigate potential faults, minimize service disruptions, maintain device health, and improve overall network reliability and operational efficiency.

Target of the test : A Huawei Switch

Agent deploying the test : An external agent

Outputs of the test : One set of results for each of the traps configured for the target Huawei Switch being monitored

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Source Address

Specify a comma-separated list of IP addresses or address patterns of the hosts from which traps are considered in this test. For example, 10.0.0.1,192.168.10.*. A leading '*' signifies any number of leading characters, while a trailing '*' signifies any number of trailing characters.

OID Value

By default, this parameter is pre-configured with a comma-separated list of Display name:OID pairs returned by the traps for specific failure events/conditions.

The DisplayName in every pair will appear as descriptors of this test in the monitor interface.

You can, if you so wish, override this default specification by appending more DisplayName:OID pairs to the pre-configured list. This way, you can instruct the test to receive traps for failure conditions that are of interest to you. For example, say you want to capture the traps generated for powered off status of the system on the target Huawei Switch, to achieve this, you need to append an entry of the following format: DisplayName:OID-any. Typically, the DisplayName can be any meaningful text string that qualifies the failure condition that is to be captured. Since our example seeks to capture a powered off status, let us use 'System Power Off' as the appropriate DisplayName. The OID that reports the powered off status of the system is .1.3.6.1.4.1.2011.6.3.8.3.1.0.7. Therefore, the entry you need to append to the default list will be: System Power Off:.1.3.6.1.4.1.2011.6.3.8.3.1.0.7-any. Similarly, you can append more entries. However, make sure that the new entries are also comma-separated.

ShowOID

Specifying True against ShowOID will ensure that the detailed diagnosis of this test shows the OID strings along with their corresponding values. If you enter False, then the values alone will appear in the detailed diagnosis page, and not the OIDs.

TrapOIDs

By default, this parameter is set to all, indicating that the eG agent considers all the traps received from the specified Source Addresses. To make sure that the agent considers only specific traps received from the Source Address, then provide a comma-separated list of OIDs in the TrapOIDs text box. A series of OID patterns can also be specified here, so that the test considers only those OIDs that match the specified pattern(s). For instance, *94.2*,*.1.3.6.1.4.25*, where * indicates leading and/or trailing spaces.

DD Frequency

Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Traps received

Indicates the number of SNMP traps of this type that were generated by the target switch during the last measurement period.

Number

Ideally, the value of this measure should be 0. A sudden/gradual increase in the value of this measure may indicate network or service issues such as connectivity failures, excessive latency, packet loss, or application outages and hence requires the immediate attention of the administrators.

Use the detailed diagnosis of this measure to identify the Sender, Trap time, Trap type, and Trap details.