jjmartres / Zabbix

A great collection of Zabbix scripts and templates
GNU General Public License v2.0
878 stars 584 forks source link

Zabbix 3.0 - Dell PowerConnect Template issues #105

Open greavette opened 8 years ago

greavette commented 8 years ago

Hello,

I've been using the Dell PowerConnect templates in Zabbix 2.2 without issue for a few months but now that Zabbix 3.0 is out I'm eager to move to the new platform. I've install CentOS 7 as my Base O/S and successfully install Zabbix 3.0 on CentOS 7.

First issue I found was that value map 'host status' won't work any longer. I was able to solve the import by modifying the Dell PowerConnect template to use Host availability instead.

Second issue has not been easy to solve. In Zabbix 2.2 I imported all 3 PowerConnect templates and was quickly receiving updates from my two Dell PowerConnect 5548 in Zabbix 2.2 (all 96 ports).

In Zabbix 3.0 I'm not receiving all the information I used too. Only one of my PowerConnect switches is displayed and I receive no interface traffic data in Zabbix 3.0?

Any advice you can provide on what needs to change in these PowerConnect Templates to get them to work in Zabbix 3.0?

Thank you.

akoscomp commented 8 years ago

I use only the INTERFACE template, and I need to change the tag for ifName: the new value is:

discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]

For me the if.speed script don't work, but I use only 5424 switch and I enter a fix speed in template.

I rewrite the IF-MIB::ifInOctets.{#SNMPINDEX} to IF-MIB::ifHCInOctets.{#SNMPINDEX} and for Out to IF-MIB::ifHCOutOctets.{#SNMPINDEX} because in case of huge traffic, the graph is incorrect.

greavette commented 8 years ago

Thank you akoscomp for your comments. I'd like to confirm a few things with you please.

Regarding the ifName update. I currently have on my Discovery Rule for Name=Network Interfaces on my PowerConnect Interfaces Template the following: SNMP OID = .1.3.6.1.2.1.31.1.1.1.1 SNMP community = {$SNMP_COMMUNITY}

Is your comment saying to replace $SNMP_COMMUNITY with #SNMPVALUE instead?

Secondly...where do I update the: IF-MIB::ifInOctets.{#SNMPINDEX} to IF-MIB::ifHCInOctets.{#SNMPINDEX} and IF-MIB::ifoutOctets.{#SNMPINDEX} to IF-MIB::ifHCOutOctets.{#SNMPINDEX}

My PowerConnect Template that I've downloaded from jjmartres doesn't have graphing for interfaces from what I can see?

Thank you for your assistance and any help you can provide me.

akoscomp commented 8 years ago

Change the SNMP OID = discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1] Leave SNMP community intact. You can update in Item Prototypes Incoming and Outgoing traffic, change the SNMP OID to: IF-MIB::ifHCInOctets.{#SNMPINDEX} and IF-MIB::ifHCOutOctets.{#SNMPINDEX}

If you have huge traffic on interface, the graph isn't correct. Try to generate 1 Gbps traffic for 5 minutes on one of the interfaces, and you can see, that in graph the interface usage remain under 500 Mbps. This happens because the IF-MIB::ifOutOctets is only a 32 bit integer value, and can store only 4 GB traffic information, but the zabbix read this data only at 60 seconds, and if you copy with 1 Gbps you can reach this limit in 20 seconds, this means, that your graph in optimal condition display only 30% of real traffic or in worst case random data. If you use 100 Mbps switch, this is not a very huge problem. If use IF-MIB::ifHCOutOctets the traffic I think is represented on 64 integer.

My template version: zbx-dell-powerconnect-interfaces.xml.txt

I use with PowerConnect 5424 switch. I remove some parts, that don't work with this switch.