Page 1 of 1

Monitor base 64 certificate format expiry

Posted: Mon Mar 14, 2016 3:42 am
by raydha
Hi,

Has anyone try to monitor / have script to monitor base64 certificate ?
normally in .cer or .crt format.
I would like to monitor the certificate expiry date.

note: it is not SSL certificate. It is a end user certificate.

regards,

Re: Monitor base 64 certificate format expiry

Posted: Mon Mar 14, 2016 5:52 am
by nozlaf
If you look at this plugin

https://exchange.nagios.org/directory/P ... te/details

then read the comments

someone has extended the script to read files

https://subversion.ceres.auckland.ac.nz ... ertificate

I have not tested it
but should work for you

Re: Monitor base 64 certificate format expiry

Posted: Mon Mar 14, 2016 11:03 am
by rkennedy
Thanks @nozlaf!

Let us know if that helps.

Alternatively, here's the link to our exchange which has a few more results returned for 'client cert' -
https://exchange.nagios.org/index.php?o ... ent%20cert

Re: Monitor base 64 certificate format expiry

Posted: Tue Mar 15, 2016 9:33 pm
by raydha
rkennedy wrote:Thanks @nozlaf!

Let us know if that helps.

Alternatively, here's the link to our exchange which has a few more results returned for 'client cert' -
https://exchange.nagios.org/index.php?o ... ent%20cert
thanks nozlaf & rkennedy. i failed to get the revised version made by Mr. vladimir.mencl.

this is the link to grab the revised plugin "You are welcome to grab my version from https://subversion.ceres.auckland.ac.nz ... ertificate"

however, i did try one of the script shared https://gallery.technet.microsoft.com/s ... iscussions but still in configuration mode. may require assistance from creator.

Re: Monitor base 64 certificate format expiry

Posted: Wed Mar 16, 2016 9:47 am
by hsmith
Let us know what you come up with.

Re: Monitor base 64 certificate format expiry

Posted: Fri Mar 18, 2016 4:53 am
by raydha
i am stuck. the status show "CHECK_NRPE : Error - Could not complete SSH handshake."

Re: Monitor base 64 certificate format expiry

Posted: Fri Mar 18, 2016 10:33 am
by rkennedy
Can you show us the full command your inputting to receive that?