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.