monasca-agent/monasca_agent
Guang Yee e1d73c4b5d add X.509 certificate check plugin
Currently we don't have any capability to monitor the internal TLS/SSL
certificates. i.e. SSL certificates used by MySQL for replication, RabbitMQ for
distribution, etc. The cert_check plugin is not adequate for this purpose
becaue it can only check on certficates over HTTPS endpoints. Furthermore,
checking on these internal certificates over the network is cumbersome
because the agent plugin would have to speak specific protocols.

This patch adds a cert_file_check plugin to detect the certificate expiry
(in days from now) for the given X.509 certificate file in PEM format.
Similar to cert_check plugin, this plugin will a metric
'cert_file.cert_expire_days' which contains the number of days from now the
given certificate will be expired. If the certificate has already expired,
this will be a negative number.

Change-Id: Id95cc7115823f972e234417223ab5906b57447cc
Story: 2006753
2019-11-13 08:35:54 -08:00
..
collector add X.509 certificate check plugin 2019-11-13 08:35:54 -08:00
common Update api-ref location 2019-07-30 19:51:03 +02:00
forwarder Update hacking version to 1.1.x 2019-06-26 12:49:13 +05:30
hacking Define extra hacking rules to ensure code quality 2017-06-01 06:25:22 +02:00
statsd Fix python 3 compatibility in statsd 2019-09-24 09:26:51 +02:00
__init__.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
version.py Check version using pbr module 2017-06-19 10:25:04 +02:00