Comments (4)
Would you like to send a PR adding a TLSConfig
to the http module?
from blackbox_exporter.
Hi,
i just played around a bit. Before sending a pull-request, what's better in your opinion?
- new option for the http prober
modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_status_codes: [] # Defaults to 2xx
.....
tls_config:
insecure_skip_verify: true
- using the tcp prober to tell the module how to handle insecure CAs
modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_status_codes: [] # Defaults to 2xx
...
no_follow_redirects: false
tcp:
tls: true
tls_config:
insecure_skip_verify: true
Gerhard
from blackbox_exporter.
Definitely the former. Probers shouldn't depend on each other.
from blackbox_exporter.
Looks like this is supported already. This is not documented in this repository, but I noticed you can set "ca_file" under the "tls_config".
e.g.
modules:
http_2xx:
probe: http
timeout: 5s
http:
method: GET
tls_config:
ca_file: <path_to_custom_ca.pem>
from blackbox_exporter.
Related Issues (20)
- Inconsistent support of IPv6 literals HOT 3
- Feature request: probe to prometheus.io is not helpful, should make options or pulldowns HOT 2
- packaged deb version of blackbox_exporter
- Implement DHCP HOT 2
- Recent Probes List - add timestamp or log id as label and column for better identification
- Twistlock CVE's Found 1/24/23 HOT 2
- Cut a new release? HOT 1
- Same blackbox.yml to monitor different proxies
- source_ip_address option enhancement
- Incorrect State in Prometheus HOT 1
- RFE: Expose DNS prober metrics for the queried name and query type
- Blackbox ICMP probe getting failed for the servers which are pinging. HOT 2
- Allow setting fail_if_body_matches_regexp dynamically
- Feature request: DNS RRSIG signature validity time
- Inconsistent alerts triggered by the Prometheus alert manager
- unknown cipher: TLS_RSA_WITH_AES_128_CBC_SHA HOT 1
- TPC Prober only returns 0 values
- Probe fails with "target" as URL parameter in URL to probe.
- feature: param to not resolve target address
- feature request: please sign your releases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blackbox_exporter.