Hi, I am having issues with HUAWEI stack snmp polling.
In my template from zabbix share Huawei_S5700-CE6800_SNMPv3
There are items:
Discovery: Stack Health: Stack Cable Connectivity [0.0]
Discovery: Stack Health: Stack Cable Connectivity [0.1]
Discovery: Stack Health: Stack Cable Connectivity [1.0]
Discovery: Stack Health: Stack Cable Connectivity [1.1]
snmp poll:
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.0.0 returns "1"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.0.1 returns "2"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.0 returns "2"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.1 returns "1"
but on the switch
Logic Port Phy Port Online Status
----------------------------------------------------------------------------
stack-port0/1 40GE0/0/5 present up
40GE0/0/6 present up
stack-port1/2 40GE1/0/5 present up
40GE1/0/6 present up
user@server:~$ snmpwalk -c public -v2c ipofswitch 1.3.6.1.4.1.2011.5.25.183.1.21.1
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.0.0 = STRING: "STACK 1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.0.1 = STRING: "STACK 2"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.1.0 = STRING: "STACK 1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.1.1 = STRING: "STACK 2"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.0.0 = STRING: "1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.0.1 = STRING: "None"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.1.0 = STRING: "None"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.1.1 = STRING: "0"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.0.0 = INTEGER: 1
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.0.1 = INTEGER: 2
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.1.1 = INTEGER: 1
Switch: Huawei S6730-S24X6Q VRP 5
Can you help ? Zabbix is sending triggers because the snmp is returning value is 2 altough the stack is up. Thanks
In my template from zabbix share Huawei_S5700-CE6800_SNMPv3
There are items:
Discovery: Stack Health: Stack Cable Connectivity [0.0]
Discovery: Stack Health: Stack Cable Connectivity [0.1]
Discovery: Stack Health: Stack Cable Connectivity [1.0]
Discovery: Stack Health: Stack Cable Connectivity [1.1]
snmp poll:
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.0.0 returns "1"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.0.1 returns "2"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.0 returns "2"
1.3.6.1.4.1.2011.5.25.183.1.21.1.5.1.1 returns "1"
but on the switch
Logic Port Phy Port Online Status
----------------------------------------------------------------------------
stack-port0/1 40GE0/0/5 present up
40GE0/0/6 present up
stack-port1/2 40GE1/0/5 present up
40GE1/0/6 present up
user@server:~$ snmpwalk -c public -v2c ipofswitch 1.3.6.1.4.1.2011.5.25.183.1.21.1
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.0.0 = STRING: "STACK 1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.0.1 = STRING: "STACK 2"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.1.0 = STRING: "STACK 1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.3.1.1 = STRING: "STACK 2"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.0.0 = STRING: "1"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.0.1 = STRING: "None"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.1.0 = STRING: "None"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.4.1.1 = STRING: "0"
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.0.0 = INTEGER: 1
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.0.1 = INTEGER: 2
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.2011.5.25.183.1.21.1.5.1.1 = INTEGER: 1
Switch: Huawei S6730-S24X6Q VRP 5
Can you help ? Zabbix is sending triggers because the snmp is returning value is 2 altough the stack is up. Thanks
Comment