check_netapp_certificate

Monitors the expiry date of server- and other certificates.

Usage

$ check_netapp_certificate -H <host> [...] [--help]

Description

This plugin checks the SVMs certificates. Alarms if they are going to expire within a configurable period of days.

Important Parameters

--include / --exclude: Filter on the instance name <svm>.<certificate-name>.<svm> (e.g. svm1.mycert_1234567890.svm1). The SVM name is part of the instance name, so you can filter on it as well. Crafting the right expression for certificates can get tricky. You might want to take a look at Complex Examples in Global Help.

--warning / --critical: Thresholds for the expiration period in days - calculated from today. (e.g. --warning=20 will warn if at least one certificate is going to expire within the next 20 days)

--type - certificate type, defaults to server so that only server-certificates will get checked.

For all other parameters consult --help on the commandline.

Examples

./check_netapp_certificate -H sim96
NETAPP CERTIFICATE CRITICAL - 3 certificates checked, 3 CRITICAL
101 certificates skipped by type (server)
sim96cluster.sim96cluster_15C531AC49B9C240.sim96cluster: exp. 2021-09-16T12:04:21+02:00 (CRITICAL), type: server, invalid for 1897 days
vserv_b.vserv_b_15C5388782DAC910.vserv_b: exp. 2021-09-16T14:09:59+02:00 (CRITICAL), type: server, invalid for 1896 days
vserv_a.vserv_a_15C538857A9BF1EC.vserv_a: exp. 2021-09-16T14:09:51+02:00 (CRITICAL), type: server, invalid for 1896 days

Checks all SVMs for their server-certificates expiration period.

./check_netapp_certificate -H sim96 --warning=90 --critical=40

Same as above but set explicit warning- and critical thresholds (90 and 40 days).