Skip to content

The Sensu Cert Check is a cross-platform Sensu Metrics Check that provides certificate metrics in prometheus format.

License

Notifications You must be signed in to change notification settings

elfranne/cert-checks

 
 

Repository files navigation

Sensu Bonsai Asset Go Test goreleaser

Check Certs

Overview

The Sensu Cert Check is a cross-platform Sensu Metrics Check that provides certificate metrics in prometheus or InlfuxDB format.

Output Metrics

Name Description
cert_days_left Number of days until certificate expiry. Expired certificates produce a negative number.
cert_seconds_left Number of seconds until certificate expiry. Expired certificates produce a negative number.
cert_issued_days Number of days the certificate has been issued.
cert_issued_seconds Number of seconds the certificate has been issued.

Usage Examples

Help Output

Inspects certificate data

Usage:
  cert-checks [flags]
  cert-checks [command]

Available Commands:
  help        Help about any command
  version     Print the version number of this plugin

Flags:
  -c, --cert string         URL or file path to certificate
  -h, --help                help for cert-checks
  -s, --servername string   optional TLS servername extension argument
  -i, --influx boolean      output in InfluxDB compatible format (default: false) 

Use "cert-checks [command] --help" for more information about a command.

About

The Sensu Cert Check is a cross-platform Sensu Metrics Check that provides certificate metrics in prometheus format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%