github.com/Luzifer/promcertcheck


Properties

Last built 7 months ago using go version go1.7.1 linux/amd64 and 118 seconds of time

Downloads
Filename
File Size
 
promcertcheck_master_darwin-386.zip
2.8MiB
promcertcheck_master_darwin-amd64.zip
2.9MiB
promcertcheck_master_linux-386.zip
2.7MiB
promcertcheck_master_linux-amd64.zip
2.9MiB
promcertcheck_master_linux-arm.zip
2.6MiB
promcertcheck_master_windows-386.zip
2.7MiB
promcertcheck_master_windows-amd64.zip
2.9MiB
Project-Readme for this version

Luzifer / PromCertcheck

License: Apache v2.0

This project contains a small monitoring tool to check URLs for their certificate validity. The URLs are polled once per hour and the certificates from that URLs are validated against the root certificates available to the program. (Provided by the operating systems distributor or manually set by you if you’re using a docker container.)

Features

  • Validates the certification chain including provided intermediate certificates
  • Warns before the certificates expires
  • Gives a handy overview over all monitored URLs
  • Data is made available in Prometheus readable format for monitoring

Usage

# ./certcheck --help
Usage of ./certcheck:
      --debug[=false]: Output debugging data
      --expire-warning="744h": When to warn about a soon expiring certificate
      --probe=[]: URLs to check for certificate issues

# ./certcheck --probe=https://www.google.com/ --probe=https://www.facebook.com/
PromCertcheck dev...
Starting to listen on 0.0.0.0:3000

URLs

  • / - Shows you a human readable version of the check data
  • /metrics - Prometheus compatible output of the check data
  • /results.json - Gives you a JSON version of the check results including certificate details