There is a new version of the monitoring plugin check_rancher2, a plugin to monitor Kubernetes clusters managed by Rancher2, available. The new version 1.2.0 contains a bug fix and an enhancement:
Bugfix: When an invalid address was given using the -H parameter, the plugin would fail yet report "OK" in the final output. This was reported in issue #3 and the plugin will now return an UNKNOWN message:
# /usr/lib/nagios/plugins/check_rancher2.sh -H localhost -S -U token-xxxxx -P secret -t info
CHECK_RANCHER2 UNKNOWN - Invalid host address detected: localhost. Use valid IP or DNS name on which the Rancher 2 API is accessible.
Enhancement: New parameter -s added. This switch tells check_rancher2 to allow self-signed certificates on the Rancher 2 API.
Thanks to Jim Johnson for pointing this out.
Documentation was updated accordingly.
Enjoy!
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