Hi,
Is it possible to monitor the status of ssl certs on a website so that you can set up an alert to warn you when it is near to expiry.
Regards
Miron
You can do it with a script:
Denny,
Unless im mistaken it looks like this is a script that that runs on the target server rather than on the orion server.
Is this right.
Correct, assumption is that the certificate you are trying to verify is "installed" on the APM poller.
Sham,
Nope personally would find very little use of that. Looking for script to query remote urls and determine cert status. Similar to the one available for nagios.
Since you have found the Nagios script that does what you need, you can use the External Script processing functionality in APM to execute the Nagios script.
Here is some info Roger pulled out about our External Script Processing functionality
Thanks mate but;
The problem with the method above is that it relies on a script run on the target server itself rather than
the script running on APM. A large number of scripts for nagios are written in Perl and those that run from the poller do not lend themselves to being run on APM due to issues between WScript and Perl(with external calls to libraries etc)
Thanks anyway :-)
Sorry if it's a bit late, but I had a similar problem myself recently. I have coded a solution (though it's not as neat as it could be). It relies on having the openssl binary installed, and uses that to retrieve the certificate from a remote server. The number of days till expiry is returned as the Statistic (so it's a kind of boring graph ), but means you can put a warning and critical alert in to prompt you to renew the cert.
It's uploaded to thwack, so you can take a look if you like. It's not neat, but I can try to provide support if required.
Cheers,
Grant.