Hey,
I added a check to my NEMS to check how long my SSL Certs are valid.
Its pretty useful if you are using Letsencrypt and dont have automated renews or even to see if a automated renew is working
This is the check I use
https://exchange.nagios.org/directory/Pl...rt/details
this is the command:
define command {
command_name check_ssl_cert
command_line $USER1$/check_ssl_cert -H $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$
}
ARG1=SSL Port
ARG2=days remaining [warn]
ARG3=days remaining [crit]
For the Advanced Service:
advanced service name: SSL validation
service description: SSL validation
check period: 24x7
notification period: 24x7
service template(s): generic-service
ARG1: 443
ARG2: 30
ARG3: 15
Best,
Zerant
I added a check to my NEMS to check how long my SSL Certs are valid.
Its pretty useful if you are using Letsencrypt and dont have automated renews or even to see if a automated renew is working
This is the check I use
https://exchange.nagios.org/directory/Pl...rt/details
this is the command:
define command {
command_name check_ssl_cert
command_line $USER1$/check_ssl_cert -H $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$
}
ARG1=SSL Port
ARG2=days remaining [warn]
ARG3=days remaining [crit]
For the Advanced Service:
advanced service name: SSL validation
service description: SSL validation
check period: 24x7
notification period: 24x7
service template(s): generic-service
ARG1: 443
ARG2: 30
ARG3: 15
Best,
Zerant