Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Check for SSL Cert expiring

#1
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
 Reply
 
Messages In This Thread
Check for SSL Cert expiring - by Zerant - 01-25-2019, 06:07 AM
RE: Check for SSL Cert expiring - by Robbie Ferguson - 01-25-2019, 03:02 PM
RE: Check for SSL Cert expiring - by Robbie Ferguson - 01-25-2019, 03:03 PM
RE: Check for SSL Cert expiring - by Zerant - 01-25-2019, 05:16 PM
RE: Check for SSL Cert expiring - by Robbie Ferguson - 02-05-2019, 09:06 PM
 
Forum Jump:

Users browsing this thread: 1 Guest(s)