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

[dev.icinga.com #10454] elasticsearch check doesn't support prerelease elasticsearch version #3545

Closed
icinga-migration opened this issue Oct 25, 2015 · 4 comments
Labels
area/itl Template Library CheckCommands bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10454

Created by roji on 2015-10-25 12:23:58 +00:00

Assignee: (none)
Status: Rejected (closed on 2015-10-26 16:03:41 +00:00)
Target Version: (none)
Last Update: 2015-10-26 16:03:41 +00:00 (in Redmine)

Icinga Version: 2.3.11
Backport?: Not yet backported
Include in Changelog: 1

I'm trying to monitor Elasticsearch 2.0.0-rc1, but the icinga2 ITL elasticsearch command fails with:

Unhandled Python exception: ValueError("invalid literal for int() with base 10: '0-rc1'",)

It seems pretty clear that when parsing the ES version, the check doesn't expect a prerelease version...

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-10-26 07:00:42 +00:00

  • Status changed from New to Feedback
  • Assigned to set to roji

Have you verified that this isn't actually a problem with the elasticsearch check plugin? All Icinga 2 does is provide a command definition ("ITL") which tells Icinga which parameters the plugin uses. We're in no way affiliated with the author of the elasticsearch check script itself. :)

@icinga-migration
Copy link
Author

Updated by roji on 2015-10-26 10:08:51 +00:00

You're absolutely right, the problem is with the check plugin itself. The division of labor wasn't clear in my mind, sorry...

@icinga-migration
Copy link
Author

Updated by roji on 2015-10-26 10:29:13 +00:00

Have submitted a pull request to the elasticsearch plugin (anchor/nagios-plugin-elasticsearch#35), please close this issue

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-10-26 16:03:41 +00:00

  • Status changed from Feedback to Rejected
  • Assigned to deleted roji

Ok, then I'll close the issue.

@icinga-migration icinga-migration added bug Something isn't working area/itl Template Library CheckCommands labels Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/itl Template Library CheckCommands bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant