Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.08 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.08 KB

SSL agent for Poke

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.

Produced metrics

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

Configuration

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

Build

Local version:

make init
make dep
make build

Distribution version:

make dist