question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[http_check] disable_ssl_validation: true stopped working after 5.14.0

See original GitHub issue

Log 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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stb2132commented, Jun 14, 2017

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.

0reactions
mascicommented, Jun 20, 2017

Fixed in 5.14.1

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found