Python script check_esxi_hardware.py shows unknown

Issues related to applications and software problems
Post Reply
gnoovy
Posts: 13
Joined: 2009/02/15 11:14:32

Python script check_esxi_hardware.py shows unknown

Post by gnoovy » 2014/10/28 22:50:36

Hi everybody,

i hopy somebody can help me. I use centos as a Monitoring System with icinga. In this case i use the plugin check_esxi_hardware.py. Under my current produktive System with centos 5.9 the plugin works sucessfully. When i type in the Shell ./check_esxi_hardware.py -H <hostname> -U <user> -P <PWD> i get the message "WARNING : Memory - Server:...."
On the future System with centos 7 i only get UNKNOWN:. I don't know why. The plugin Needs python with pywbem. Are there differences between the Versions from centos 5.9 and 7? Do you see a solution in the code from the plugin?
The plugin can be downloaded here: http://www.claudiokuenzler.com/nagios-p ... FAdT-ktCUl

My Environment:

centos 5.9:
python 2.4.3-56 with pywbem 0.7.0-3

centos 7.0:
python 2.7.5-16 und pywbem 0.7.0-25

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Python script check_esxi_hardware.py shows unknown

Post by aks » 2014/10/31 16:03:14

So what happens if you pass the -v (verbose) flag? So reading the code, it seems to use CIM to retrieve status.

Please expand. State the WHOLE command line and ALL the output. Also state what hardware it's querying aginst (I note many "workarounds" in the code for Dell servers for example).

Post Reply