New (modified) Nagios plugin to check hardware on ESXi

Written by - 0 comments

Published on - Listed in Nagios VMware Virtualization Monitoring


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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder