Comments (3)
Hi @maniker, based on the inline docs of the prometheus check's config (https://github.com/DataDog/integrations-core/blob/bdf9216ba605ac7a60d1047cf8afc381d0fa1208/prometheus/datadog_checks/prometheus/data/conf.yaml.example#L90-L101), given that your certificate and your private key are in 2 different files, you should set ssl_cert
to the path of your certificate and ssl_private_key
to the path of your private key.
I'll go ahead and close this issue, but if you still have issues please contact our support and send them your logs, thanks!
from dd-agent.
Hi @olivielpeau, i have given the path to my .crt and .key and it worked i reckon, so after that I get the below error,
2019-05-08 10:34:39 CDT | ERROR | (runner.go:289 in work) | Error running check prometheus: [{"message": "HTTPSConnectionPool(host='Servername.com', port=9000): Max retries exceeded with url: /minio/prometheus/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)'),))", "traceback": "Traceback (most recent call last):\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/base.py", line 387, in run\n self.check(copy.deepcopy(self.instances[0]))\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/prometheus/base_check.py", line 108, in check\n ignore_unmapped=True\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/prometheus/mixins.py", line 394, in process\n for metric in self.scrape_metrics(endpoint):\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/prometheus/mixins.py", line 358, in scrape_metrics\n response = self.poll(endpoint)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/prometheus/mixins.py", line 523, in poll\n verify=verify)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/api.py", line 75, in get\n return request('get', url, params=params, **kwargs)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/api.py", line 60, in request\n return session.request(method=method, url=url, **kwargs)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/sessions.py", line 533, in request\n resp = self.send(prep, **send_kwargs)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/sessions.py", line 646, in send\n r = adapter.send(request, **kwargs)\n File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/adapters.py", line 514, in send\n raise SSLError(e, request=request)\nSSLError: HTTPSConnectionPool(host='servername.com', port=9000): Max retries exceeded with url: /minio/prometheus/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)'),))\n"}]
from dd-agent.
@maniker just checking do you end up getting DataDog working with pulling data from the exposed minio prometheus metric's. If you did would you be willing to share your script or post it here?
We're wanting to do the same thing and so it would be nice to know if you got it all working
Thanks
Hass
from dd-agent.
Related Issues (20)
- Datadog not honoring DD_COLLECT_EC2_TAGS when ec2 integration is turned on
- Unable to run check 'container' HOT 6
- [systemd] opening of /run/systemd/private causes errors in system journal
- ImportError: No module named checks HOT 3
- DataDog intermittent failure when install using PowerShell script HOT 1
- Permission denied: '/sys/kernel/debug/tracing' HOT 2
- dd-agent NOt sending logs after file roatations HOT 3
- Proxy Certificate Expired HOT 2
- Cleanup: remove `set_win32_cert_path()` unused function.
- doesn't work with image tomcat:9 HOT 3
- sampleRate from dd-trace-js is not taken into account in statistics HOT 1
- use_mount not working on Windows with volumes mapped to drive path HOT 1
- High CPU use by datadog agent (CentOS) HOT 1
- Docker: Datadog agent stops sending default JMX metrics after adding bean HOT 2
- Datadog agent installation issue HOT 2
- synthetic monitoring for endpoint HOT 2
- Unbound: unable to import module 'unbound': No module named 'unbound'
- Is it possible to run dd-agent inside same docker container as my application? HOT 2
- Issue with setup_agent.sh file
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 dd-agent.