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

Healthcheckresults #11

Merged
merged 2 commits into from
Jul 20, 2016
Merged

Conversation

andrelaszlo
Copy link
Contributor

Pull Request Checklist

This pull request fixes the second part of #9. The health checks are included in the result.

General

  • Update Changelog following the conventions laid out on Keep A Changelog
  • Update README with any necessary configuration snippets
  • Binstubs are created if needed
  • RuboCop passes
  • Existing tests pass

Purpose

Make the plugin more reliable by including Marathon's health checks in the result.

Known Compatablity Issues

None

André Laszlo added 2 commits July 20, 2016 17:28
There is a typo in the url used for the tasks API call. The state
parameter doesn't exist and is replaced by this commit with status,
which is the correct parameter name [0].

Also fixed: A dependency pulls json > 2.0 which depends on ruby > 2.0.
This breaks the 1.9.3 build, so an explicit requirement of json < 2.0
is added.

[0]: https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-tasks
This change checks the health check results for each task and reports
running but unhealthy tasks as failures. Previously, the health check
results where ignored, only the state was considered.
@eheydrick eheydrick merged commit 2eb4a50 into sensu-plugins:master Jul 20, 2016
@eheydrick
Copy link
Contributor

Thanks!

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