Bertrand Jomin found a bug when the Nagios plugin check_esxi_hardware was used in combination with IBM Blade Center HS21 and HS22 where the serial number doesn't contain a dot or doesn't exist. This fact broke the plugin at the point of executing and would not continue.
The error message would look like this:
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 661, in ?
SerialNumber = SerialNumber.split('.')[1]
AttributeError: 'NoneType' object has no attribute 'split'
This bug has now been fixed thanks to Bertrand's contribution. Merci!
No comments yet.
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 OpenSearch 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