Releases: Napsty/check_rancher2
1.13.0
Version 1.13.0 adds a new check type api-token
. This check is used to monitor the expiry of the used API token (used by check_rancher2
).
Background
In newer Rancher2 versions, API tokens must be created with an expiry. The tokens are no longer valid without expiration date (such as in Rancher 2.5). When the API token expired, the monitoring checks with check_rancher2
run into an authentication error. With the new api-token
check type, the plugin will alert in advance, prior to the expiry of the token, when used in combination with --expiry-warn
.
Furthermore the --cert-warn
parameter, used for the local-certs
certificate check, is now DEPRECATED. Please use --expiry-warn
for this check as well.
The local-certs
check type received a bug fix in the output.
Launching the plugin with --help
no longer shows unrecognized option '--help'
at the top.
1.12.1
1.12.0
This release adds a new check type to the plugin.
The "local-certs" check type allows to check for valid certificates deployed by Rancher in the "local" cluster, under the "System" project. These certificates are deployed as Kubernetes secrets in the "cattle-system" namespace.
These certificates are by default created with a one year validity (Rancher, whyyyy?!). When these local certificates expire, this can create some issues in the background of Rancher, e.g. when RBAC actions are used. It's therefore important to verify these certificates have not expired.
1.11.0
1.10.0
1.9.0
1.8.0
Version 1.8.0 adds a lot of additional performance data to the plugin. The cluster and node performance data now show more information, including percentages of resources used (for example CPU used in percent).
The plugin now also supports long parameters (-H
and --apihost
).
Additional parameters were added to specifically trigger alerts when certain performance thresholds are reached on a node or cluster level: CPU Usage, Memory Usage or Pod Usage.
Kudos and credits to @steffeneichler for this large PR!
1.7.1
1.7.0
Version 1.7.0 adds additional internal checks to the -t node check. Prior to 1.7.0, only the node status was checked. This could either be Active, Unavailable, Drained or Cordoned (if I remember correctly). Release 1.7.0 adds additional checks on pressure conditions, such as Disk Pressure.