Monitoring plugin check_rancher2 version 1.2.0 released

Written by - 0 comments

Published on September 3rd 2019 - Listed in Rancher Monitoring Kubernetes


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!


Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.