Commit Graph
5 Commits
Author SHA1 Message Date
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
Rob Best 63dcb9aff1 Add kubernetes prober 2020-11-15 22:12:18 +00:00
Rob Best 0506638f63 Add file prober 2020-11-15 13:59:51 +00:00
Rob Best d1bbe73a08 Update README and examples for tls changes 2019-03-20 18:07:18 +00:00
Rob Best 57063a77df Initial commit 2017-08-20 19:41:00 +01:00