Home > other >  The SNMP protocol to monitor huawei s5720 switches
The SNMP protocol to monitor huawei s5720 switches

Time:09-15

Node information

Corresponding node OID

Note

Equipment condition monitoring

CPU utilization

1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5

Cassette equipment to obtain the size of the CPU utilization and memory utilization can also use another node HUAWEI DEVICE - MIB,

For V100R003 version using this node, please install V100R003SPH009 more patches,

CPU utilization: 1.3.6.1.4.1.2011.6.3.4.1.2

Memory size: 1.3.6.1.4.1.2011.6.3.5.1.1.2

(the two nodes are not recommended)

Involved in the MIB tables: HUAWEI - the ENTITY - among other - MIB

Memory utilization

1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7

Memory size

1.3.6.1.4.1.2011.5.25.31.1.1.1.1.9

Equipment operation temperature

1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11

Light module temperature

1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5

Light module voltage

1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6

Light module bias current

1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7

Light module to receive light power

1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8

Light module luminous power

1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9

The trap

1 equipment temperature alarm and alarm recovery:

1.3.6.1.4.1.2011.5.25.129.2.2.1

1.3.6.1.4.1.2011.5.25.129.2.2.2

2 storage capacity with alarm and recovery:

1.3.6.1.4.1.2011.5.25.129.2.6.1

1.3.6.1.4.1.2011.5.25.129.2.6.2

3 fan alarm and recovery:

1.3.6.1.4.1.2011.5.25.219.2.6.5

1.3.6.1.4.1.2011.5.25.219.2.6.6

4 power supply alarm and recovery:

1.3.6.1.4.1.2011.5.25.219.2.5.5

1.3.6.1.4.1.2011.5.25.219.2.5.6

The ENTITY - TRAP

Port traffic monitoring

Port traffic statistics

1.3.6.1.2.1.2.2.1, please refer to the manual MIB

This table includes port access port flow, unicast, group reporting statistics counting information, please see the MIB reference manual IF - MIB,

Temporary does not support VLANIF and TRUNK traffic statistics,

Port state of updown

1.3.6.1.2.1.2.2.1.8

-

The trap

The trap port bandwidth utilization:

The corresponding MIB node:

HwIfMonitorInputRateThreshold 1.3.6.1.4.1.2011.5.25.41.1.7.1.1.9

HwIfMonitorOutputRateThreshold 1.3.6.1.4.1.2011.5.25.41.1.7.1.1.113

CRC growing alarm trap: 1.3.6.1.4.1.2011.5.25.41.4.1 hwIfMonitorCRCErrorRising

Under the corresponding port can configure the parameters of the CRC

The trap - threshold error - statistics * * *

For S3300 & amp; 5300 or S3700 & amp; S5700 V100R005 and later versions, S9300 & amp; S7700 V100R003 and later to support the port utilization reaches the alarm threshold, the default bandwidth utilization rate of 100%, can be observed by setting the threshold value related to the alarm monitoring,

Command line mode of Settings: interface view

The trap - threshold {input to | the output to} bandwidth - in - use [resume - rateresume - threshold]

Warning the trap to the growth of CRC, cassette V100R005C01SPC100 and later versions support,

Involving the MIB table name: the IF - MIB

MAC vlans ARP monitoring

MAC address

1.3.6.1.2.1.17.4.3.1.1

Involving the MIB table name is: the BRIDEG - MIB, HUAWEI - ETHARP - MIB, HUAWEI - L2MAN - MIB

Dynamic query MAC

1.3.6.1.4.1.2011.5.25.42.2.1.3.1

Static MAC query

1.3.6.1.4.1.2011.5.25.42.2.1.2.1

Dynamic arp query

1.3.6.1.4.1.2011.5.25.123.1.17

Static arp query

1.3.6.1.4.1.2011.5.25.123.1.18.1

Business related monitoring

LLDP mib node visit

1.0.8802.1.1.2.1.4.1.1

LLDP mib node access use note:

Must have the command-line SNMP agent mib - the view that included iso - view iso

Relevant explanation: these two commands only allow to read the Internet node by default, to the as: iso (1). Org. (3) dod (6). The Internet (1) x others is not permitted to visit. But the LLDP mib oidis: iso (1) STD (0). Iso8802 (8802). Ieee802dot1 (1) ieee802dot1mibs (1) lldpMIB (2)

It does not include the LLDP mib oid, so we must use the command to include LLDP mib subtree.

- agent SNMP mib - the view that included iso - view iso

The state of the STP port

1.3.6.1.2.1.17.2.15.1.3

RRPP ring attribute table

1.3.6.1.4.1.2011.5.25.113.2.2.1.4

Master of Vrrp native state

1.3.6.1.2.1.68.1.3.1.3

Configuration save, more nodes with packaging for example

By related nodes automatically save the configuration

Steps: create an instance of 1, for example, the following two nodes with packaging:

1,1.3. 6.1.4.1.2011.6.10.1.2.4.1.2 this setting has a value of 1 (operation type 1, save the configuration file for the boot file),

2,1.3. 6.1.4.1.2011.6.10.1.2.4.1.9 this value is set to 4 (4: create the and go) before each create first remove existing instances (6: destory), pack the two nodes, you can through the network to complete the file save action

Involving the table name: HUAWEI - CONFIG - MAN - MIB


To detect whether there is data output OID:
Use the command snmpwalk - v the SNMP protocol version number - c community (community) host address OID (such as: snmpwalk - v 2 c - c public X.X.X.X 1.3.6.1.2.1.2.2.1), this command is to get all s5720 switch port traffic information, please visit the website of the specific parameters: http://www.net-snmp.org/docs/mibs/interfaces.html
Add or modify the cacti monitoring templates:
The most important thing is to modify the data template OID,
  • Related