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

New (modified) Nagios plugin to check hardware on ESXi
Thursday - May 13th 2010 - by - (0 comments)

This is actually not a new Nagios plugin at all, it is a modification of the check_esx_wbem.py script, written in Python by David Ligeret.

But yesterday I ran into the following two problems using the original plugin:
- For a host I received only an output (null)
- The hardware check didn't at all work on a HP ProLiant 460c where a Battery issue was reported on vSphere Client

On the internet I found two newer versions, one which solves the first problem, another one which solves the second one. To use both advantages you either have to use two different checks with both different versions of the plugin OR you combine both modifications in one script. And that's basically what I did. But I also added a hardware type switch (either 'dell' or 'hp') to determine the type of the host server. In my tests I sometimes got an OK message when there was a hardware problem due to different responses from HP and DELL servers. So this switch is necessary - at least for certain hardware failures.

All you need now is the plugin: check_esxi_wbem.py

 

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]

7367 Days
until Death of Computers
Why?