Sign inSign up

imitatop/ssl-exporter

By imitatop

Updated over 1 year ago

check certificate and push metcis to prometheus

Image
Monitoring & observability
0

401

imitatop/ssl-exporter repository overview

🛡️ SSL Exporter

Prometheus-compatible exporter that scans domains for SSL Certificate Monitoring for WEB and FTP Services Monitors the expiration dates of SSL certificates and detects expired or soon-to-expire certificates for both websites (HTTPS) and FTP servers with TLS/SSL (FTPS).


Grafana Dashboard

https://github.com/kiimiki/ssl-exporter.git
dashboard.json

📦 Docker Image

Image: imitatop/ssl-exporter:latest
Size: ~15MB
Exposes: :9115 (Prometheus metrics)


🚀 Usage

🔹 Docker Run (standalone)
docker run -d \
  --name ssl-exporter \
  -p 9115:9115 \
  -v $(pwd)/domains.json:/app/domains.json \
  imitatop/ssl-exporter:latest

🔹 Docker Service (Docker Swarm)
docker service create \
  --name ssl-exporter \
  --network proxy-net \
  --mount type=bind,source=/path/to/domains.json,target=/app/domains.json,readonly \
  -p 9115:9115 \
  imitatop/ssl-exporter:latest

🔹 Docker Compose (Swarm-compatible)
version: '3.9'

services:
  ssl-exporter:
    imitatop/ssl-exporter:latest
    deploy:
      mode: replicated
      replicas: 1
      restart_policy:
        condition: on-failure
    ports:
      - "9115:9115"
    networks:
      - monitoring
    configs:
      - source: domains
        target: /app/domains.json

networks:
  monitoring:
    external: true

configs:
  domains:
    external: true

📈 Prometheus Configuration

scrape_configs:
  - job_name: 'ssl-exporter'
    static_configs:
      - targets: ['ssl-exporter:9115']

Tag summary

Content type

Image

Digest

sha256:c3410bad1

Size

7.3 MB

Last updated

over 1 year ago

docker pull imitatop/ssl-exporter