Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated httpd_check to include new attributes. #276

Merged
merged 10 commits into from
Dec 16, 2016
Merged

Updated httpd_check to include new attributes. #276

merged 10 commits into from
Dec 16, 2016

Conversation

aepod
Copy link
Contributor

@aepod aepod commented Dec 14, 2016

This PR adds support for new attributes in the http_check

skip_event is needed to squelch the following error
Warning: Using events for service checks is deprecated in favor of monitors and will be removed in future versions of the Datadog Agent.
check_certificate_expiration is used for checking the validity of certificates and has the following two options. (days_warning and days_critical)

More info on these:
https://github.com/DataDog/dd-agent/blob/master/conf.d/http_check.yaml.example

@aepod
Copy link
Contributor Author

aepod commented Dec 14, 2016

Sorry for the multple PR's, finally got this one right and it passed the checks. This should be good to go, has the spec test, and works well on several of my production sites.

Thanks!

@truthbk
Copy link
Member

truthbk commented Dec 16, 2016

Thank you very much @aepod! Very much appreciated, kudos for updating the tests. This looks good! 🙇

@truthbk truthbk merged commit 1322079 into DataDog:master Dec 16, 2016
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Jan 31, 2018
* Update http_check.yaml.erb

* Updated httpd check to include several variables

Added support for skip_event,check_certificate_expiration,days_warning,days_critical

* Updated puppet code for addition attributes.

* Formatting fixes

* Deplurilazation

* Update http_check.yaml.erb

* Added Spec for http_check additions

* Update datadog_agent_integrations_http_check_spec.rb

* Update http_check.yaml.erb

* Fixed trailing whitespace issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants