Improved authentication error timeout in check_esxi_hardware

Written by - 0 comments

Published on - Listed in Nagios VMware Hardware Virtualization Monitoring


A new version of check_esxi_hardware is available!

Carl R. Friend improved the authentication error handling. Before his change, the plugin took around 30 seconds to time out. Now a proper authentication error message is shown and exits (as UNKNOWN) in a few seconds.

See here some test results.

BEFORE:

time ./check_esxi_hardware.py.or -H myesxi -U wronguser -P wrongpass -V hp       
 : Authentication Error! - Server: 

real    0m29.512s
user    0m0.080s
sys     0m0.011s

AFTER:

time ./check_esxi_hardware.py -H myesxi -U wronguser -P wrongpass -V hp          
UNKNOWN: Authentication Error

real    0m2.011s
user    0m0.038s
sys     0m0.008s  

 

Besides that I'd also like to mention that I've created a repository on Github for check_esxi_hardware. The goal is to make community contributions easier and faster.


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