Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

check_esxi_hardware and pywbem 0.10.x tested
Wednesday - Dec 21st 2016 - by - (0 comments)

Yesterday a new version (0.10.0) of pywbem was released. Will the monitoring plugin check_esxi_hardware continue to run without a glitch? It should, since the plugin was "made ready" for future releases of pywbem (see New version of check_esxi_hardware supports pywbem 0.9.x).

Let's try check_esxi_hardware with the new pywbem version. I used pip to upgrade pywbem to the latest available version:

 $ sudo pip install --upgrade pywbem
Downloading/unpacking pywbem from https://pypi.python.org/packages/9a/50/839b059c351c4bc22c181c0f6a5817da7ca38cc0ab676c9a76fec373d5f5/pywbem-0.10.0-py2.py3-none-any.whl#md5=1bc01e6fd91f5e7ca64c058f3e0c1254
  Downloading pywbem-0.10.0-py2.py3-none-any.whl (201kB): 201kB downloaded
Requirement already up-to-date: PyYAML in /usr/local/lib/python2.7/dist-packages (from pywbem)
Requirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from pywbem)
Requirement already up-to-date: ply in /usr/local/lib/python2.7/dist-packages (from pywbem)
Requirement already up-to-date: M2Crypto>=0.24 in /usr/local/lib/python2.7/dist-packages (from pywbem)
Requirement already up-to-date: typing in /usr/local/lib/python2.7/dist-packages (from M2Crypto>=0.24->pywbem)
Installing collected packages: pywbem
  Found existing installation: pywbem 0.9.0
    Uninstalling pywbem:
      Successfully uninstalled pywbem
Successfully installed pywbem
Cleaning up...

And then launched the plugin:

$ ./check_esxi_hardware.py -H esxiserver -U root -P secret -v
20161221 12:17:44 Connection to https://esxiserver
20161221 12:17:44 Found pywbem version 0.10.0
20161221 12:17:44 Check classe OMC_SMASHFirmwareIdentity
20161221 12:17:45   Element Name = System BIOS
20161221 12:17:45     VersionString = B200M4.3.1.2b.0.042920161158
[...]
20161221 12:17:49 Check classe VMware_SASSATAPort
OK - Server: Cisco Systems Inc UCSB-B200-M4 s/n: XXXXXXXX Chassis S/N: XXXXXXXX  System BIOS: B200M4.3.1.2b.0.042920161158 2016-04-29

As you can see, the new version works without problems. Go ahead and upgrade pywbem.

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

7487 Days
until Death of Computers
Why?