This tool will wait for hostnames to check their SSL certificates thanks to ssllabs with the given Warp10 endpoint and token, it will produce time series with the results of the tests.
For each host, 2 series will be produced:
# SSL Grade
// http.ssl.grade{host=1.ssl-checker.poke.io,domain=poke.io,zone=EU} 'A'
# SSL expiration date
// http.ssl.valid.until{host=1.ssl-checker.poke.io,domain=poke.io,zone=EU} 1522074886000000
ssl-go-agent will look for configuration files in this order:
- /etc/poke-ssl-agent/
- $HOME/.poke-ssl-agent
- . (current folder)
You can override every configuration entry with environement variables. Ex:
export POKE_SSL-AGENT_HOST=1.ssl-checker.poke.io
Needed configuration:
host: 1.ssl-checker.poke.io
zone: gra
kafka:
brokers:
- kafka.poke.io:9092
user: kafkaUser
password: kafkaPassword
topics:
- check-ssl
Local version:
make init
make dep
make build
Distribution version:
make dist