1
0
mirror of https://github.com/ribbybibby/ssl_exporter.git synced 2024-11-19 20:31:51 +02:00
ssl_exporter/examples
jaroug 515b990f52
Add http_file prober (#144)
* feat: add remote_file probe

* fix: use tls module config

* chore: write http/https tests for probing remote file

* chore: get rid of useless lines

* fix: get rid of useless file download, check body directly

* fix: use checkCertificateMetrics to actually check values

* Rename remote_file to http_file

You can fetch remote content with a lot of different protocols, so I
think it's worth being specific here.

As part of this change I've fixed up some of the logic in the code. I've
also created a separate `http_file` block in the module config.

* Actually include renamed files

---------

Co-authored-by: Anthony LE BERRE <aleberre@veepee.com>
Co-authored-by: Rob Best <rob.best@jetstack.io>
2024-04-28 16:48:09 +01:00
..
example.prometheus.yml Add http_file prober (#144) 2024-04-28 16:48:09 +01:00
ssl_exporter.yaml Add http_file prober (#144) 2024-04-28 16:48:09 +01:00