1
0
mirror of https://github.com/ribbybibby/ssl_exporter.git synced 2025-07-15 23:54:18 +02:00
Commit Graph

39 Commits

Author SHA1 Message Date
dc001f0c32 feat: add http_file prober 2024-01-05 16:41:43 +00:00
67a8b2d393 Update README.md (#90)
* Update README.md

Added the Example for type - kubernetes

* Update README.md

Co-authored-by: Rob Best <robertbest89@gmail.com>
2022-05-09 17:56:42 +01:00
65249bc2e7 added pop3 STARTTLS queryResponse (#84)
* added pop3 STARTTLS queryResponse

* implemented pop3 test, added pop3 starttls parameter to README

Co-authored-by: Timo Boldt <tb@teuto.net>
2021-12-31 13:47:05 +00:00
02d61835e8 Add default_module and target options
If default_module is set then the exporter will use that when the module
parameter isn't set.

If target is set for a module then the module will use that target,
ignoring the target parameter completely.
2021-12-23 15:28:41 +00:00
087c407585 Move grafana dashboard to contrib
I'm not actively maintaining this and a contrib diredctory indicates
that.
2021-12-23 13:36:54 +00:00
d475f3abd2 Update release instructions 2021-12-23 13:22:10 +00:00
43dee906c6 Support TLS renegotiation (#83)
* Support TLS renegotiation

* Bump version

* Revert version bump

* Extend TLSConfig with renegotiation support

* Update config/config.go - comment formatting

Co-authored-by: Rob Best <robertbest89@gmail.com>

* add dedicated renegotiation example

* Create local NewTLSConfig in order to incorporate local extentions

* go mod tidy

* Move TLS renegotiation parsing into UnmarshalYAML

Co-authored-by: Rob Best <robertbest89@gmail.com>
2021-12-09 08:34:59 +00:00
78306b97c9 actions: push to Docker Hub 2021-09-11 13:06:47 +01:00
a94845ae5d Add support for postgresql protocol (#77)
With postgresql to initiate SSL-encrypted connection specific combination
of bytes must be sent to the server.

Message flow is described on following page
https://www.postgresql.org/docs/13/protocol-flow.html#id-1.10.5.7.11

And SSLRequest message format is described on
https://www.postgresql.org/docs/13/protocol-message-formats.html

The value of SSLRequest message becomes to bytes that is used in the code
2021-08-23 08:39:40 +01:00
d5cbd64f94 Update README.md
- Remove TOC (Github provides one)
- Add quicker links at the top of the doc
2021-05-05 22:48:07 +01:00
5265251777 Support getting certificate information from a kubeconfig file (#61)
* Support getting certificate information from a kubeconfig file

* Support relative paths for cluster CA and user certificate in kubeconfig

* Determine relative using filepath.IsAbs

* Make relative path logic actually work, add test. Move all kubeconfig parsing into parsing specific function
2021-04-02 10:53:31 +01:00
8cde56ce6a Fix examples in the README 2020-11-16 08:47:52 +00:00
fdda9c3eca Add prober column to metrics table 2020-11-16 08:40:48 +00:00
f4782e3093 Make the description in the README more succinct 2020-11-15 22:28:36 +00:00
63dcb9aff1 Add kubernetes prober 2020-11-15 22:12:18 +00:00
0506638f63 Add file prober 2020-11-15 13:59:51 +00:00
e05745b959 Export OCSP stapling metrics (#54)
* Export OCSP stapling metrics

* Add ocsp_response_stapled boolean

* Add missing ocsp_this_update metric to README
2020-10-27 09:10:42 +00:00
119d3cd200 Add a configurable timeout to the module configuration (#55) 2020-10-09 16:47:21 +01:00
17aa4e2d2d Add metrics for certificates in the verified chains (#48) 2020-09-11 18:20:41 +01:00
89eff28fac Add starttls for smtp, imap and ftp (#36) 2020-06-22 16:50:21 +01:00
1c8bd16057 Add proxy_url parameter to https configuration (#35)
This supports the use of more than one proxy server per exporter instance.
2020-06-17 16:48:59 +01:00
801179eae7 Move to a modules/probers model, like the blackbox_exporter. (#34)
There are a number of reasons for this change:
- Modules allow a single instance of the exporter to be configured with numerous
different tls configs. Previously you had to run a different exporter for each
combination.
- Adding new and more complicated options to the exporter should be easier with
modules than if I was to go down the route of accepting configuration directly through url params
- I prefer defining a specific prober (https,tcp) over using the URL to guess
what the user wants
2020-06-17 16:29:21 +01:00
b7cdf62493 update release process notes in README 2020-03-13 10:26:31 +00:00
66ae153296 add a grafana dashboard (#25) 2020-03-12 18:06:37 +00:00
13519dd2da add goreleaser
This makes cutting a new release infinitely easier
2020-03-12 17:40:03 +00:00
e3477cf63c add TLS version metric (#24) 2020-03-08 18:50:25 +00:00
11e3e4c216 move metadata out of metrics and into labels 2020-01-24 17:47:51 +00:00
874f02f403 fix docker instructions in README 2019-12-18 10:48:50 +00:00
5b927d85bd fix example queries in README 2019-12-08 20:40:43 +00:00
f91d97c220 Add TOC to README 2019-09-21 10:28:49 +01:00
cfab972f8f Use https or tcp client based on target address
There are some advantages to using a http client over tcp. For instance,
using http allows you to take advatange of a http proxy, which may be necessary
in some environments.

This commit puts the http client back, alongside tcp, and decides which one to use
based on the target address.
2019-09-21 10:28:49 +01:00
d1bbe73a08 Update README and examples for tls changes 2019-03-20 18:07:18 +00:00
f17849f9b2 Update documentation for client authentication 2019-03-11 18:43:21 +00:00
41450add27 Update docs 2019-01-25 09:56:38 +02:00
1fab18aeb0 Update docker instructions in the README 2017-12-03 12:51:40 +00:00
1bc71085ad It looks like there's a standard approach most Prometheus exporters use when building Dockerfiles, so I'm going to adhere to that. Rather than building the binary inside the container, it's built outside and then copied into the bin dir. 2017-12-02 19:03:36 +00:00
a3d8b34adf Add a Makefile that adheres to the Prometheus conventions 2017-12-02 18:55:31 +00:00
a28d8f7be1 Switch to kingpin flags 2017-10-08 18:28:48 +01:00
57063a77df Initial commit 2017-08-20 19:41:00 +01:00