Do you want to monitor your SSL certificates expiration? Or if a Kubernetes service has enough endpoints?

You can use an Overseer  deployment (e.g. deployed on Kubernetes ) to test the conditions of multiple targets:

  • Do you want to be notified if an SSL certificate is about to expire?

    https://google.com must run ssl

  • Do you want to know if a service in your Kubernetes deployment has > 0 endpoints available (is healthy)?

    default/nginx must run k8s-svc

More examples ” available in the GitHub repository .

The following example shows how it is possible to deal with a test result (in this example the test has recovered from a failure):

Overseer [{{if .error}}ERR{{else}}OK{{end}}] ({{.tag}}): {{.input}}


{{if .error}}
Error{{if .isDedup}} (duplicated){{end}}: {{.error}}

Tag: {{.tag}}
Input: {{.input}}

Target: {{ .target }}
Type: {{ .type }}
Time: {{ .time | ParseUnixTime }}
Overseer [OK] (my-cluster): default/nginx must run k8s-svc


Tag: my-cluster
Input: default/nginx must run k8s-svc

Target: default/nginx
Type: k8s-svc
Time: 2019-08-14 15:39:08 +0300 EEST
  "error": null,
  "input": "default/nginx must run k8s-svc",
  "isDedup": false,
  "recovered": true,
  "tag": "my-cluster",
  "target": "default/nginx",
  "time": 1565786348,
  "type": "k8s-svc"

To show all possible statuses (error/duplicate/recovered) cases, a more verbose title could be:

Overseer [{{if .error}}ERR{{if .isDedup}}-DUP{{end}}{{else}}{{if .recovered}}RECOVERED{{else}}OK{{end}}{{end}}] ({{.tag}}): {{.input}}