Monitoring plugin check_rancher2 1.6.1 released: Bugfix in cluster and project lookup

Written by - 0 comments

Published on - Listed in Docker Kubernetes Rancher Internet Network Cloud Monitoring

A new version of check_rancher2, an open-source monitoring plugin to monitor Rancher 2 managed Kubernetes clusters, is available!

Release 1.6.1 contains a bug fix in the cluster and project check types. When a single cluster (using -c) or project (-p) was given, the plugin checked the Rancher 2 API for errors. When a non-existing cluster or project name was requested, the Rancher 2 API responds with the following error:

{"baseType":"error","code":"NotFound","message":" \"c-qvf7pxxx\" not found","status":404,"type":"error"}

Before 1.6.1, the check_rancher2 plugin simply grepped for "error" to catch this error. However the Rancher 2 API can also contain the string "error" in a normal response, e.g. for special Ingress configurations:

"options": {
    "custom-http-errors": "404,503",
    "use-forwarded-headers": "true"

Release 1.6.1 of the plugin now changes this and looks for the string "NotFound" instead. This applies to both cluster and project checks.

This bug was documented on GitHub in issue #24.

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   Icingaweb   Icingaweb2   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   

Update cookies preferences