Random Project

Define class CIM_Card failing on IBM ESXi for version 6.0

This plugin is working with most of version of ESXi and DELL, HP and IBM manufacturers.
But I was unable to use it for IBM System X3650 M4 installed with version 6.0 of ESXi.
I had to uncomment the class CIM_Card in the source of the plugin in order to make it work properly. Otherwise I got the following error:
Check classe CIM_Card
Traceback (most recent call last):
File “./check_esxi_hardware.py”, line 561, in ?
verboseoutput(” Element Name = “+elementName)
TypeError: cannot concatenate ‘str’ and ‘NoneType’ objects