[http_check] disable_ssl_validation: true stopped working after 5.14.0
See original GitHub issueLog excerpt
Jun 14 08:43:15 app dd.collector[988]: WARNING (__init__.py:700): Skipping SSL certificate validation for https://veryimportantserver:8443/login based on configuration
Jun 14 08:43:15 app dd.collector[988]: ERROR (network_checks.py:161): Failed to process instance ''.#012Traceback (most recent call last):#012 File "/opt/datadog-gent/agent/checks/network_checks.py", line 147, in _process#012 statuses = self._check(instance)#012 File "/opt/datadog-agent/agent/checks.d/http_check.py", line 323, in _check#012 status, days_left,msg = self.check_cert_expiration(instance, timeout, instance_ca_certs)#012ValueError: need more than 2 values to unpack
Config snippet
- name: Server Login page
url: https://veryimportantserver:8443/login
timeout: 10
content_match: 'Login Page'
collect_response_time: true
allow_redirects: true
skip_event: true
disable_ssl_validation: true
Seems to be caused by #249. Issue appeared after upgrading datadog-agent to 5.14.0.
Please fix, this is breaking our monitoring.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
dd-agent/CHANGELOG.md at master - GitHub
A packaging issue led to issues with the Spark integration when running Agent 5.9.0. This release fixes the issue. Updated integrations. Kubernetes; Spark ......
Read more >How to ignore SSL cert trust errors in Feign? - Stack Overflow
httpclient.disableSslValidation = true is not worked for me. Create Client bean in Configuration by the following code is worked: import feign.
Read more >HTTP Check - Datadog Docs
The HTTP check searches for this value in the response and reports as DOWN if the string or expression is not found. reverse_content_match,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @stetskevych,
We actually have a merged fix ( #461 ) that we’re hoping to get out in 5.14.1.
If you would like to use this fix in the meantime, you can take the updated check file from #461 and put it in your /etc/dd-agent/checks.d directory with the name http_check.py. Doing this will have this http_check.py file be used by the agent instead of the one currently bundled with it.
Otherwise, we should hopefully have 5.14.1 released with this update sometime soon.
Fixed in 5.14.1