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

ZOOKEEPER-3935: Handle float metrics in check_zookeeper #1452

Closed
wants to merge 1 commit into from
Closed

ZOOKEEPER-3935: Handle float metrics in check_zookeeper #1452

wants to merge 1 commit into from

Conversation

paurkedal
Copy link
Contributor

After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

thank you @paurkedal

@symat @phunt PTAL

Copy link
Contributor

@symat symat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code modification looks good to me
I am not able to test this, hopefully someone already tested it.

@paurkedal
Copy link
Contributor Author

I did, or rather, we're using the patched version in production.

@symat
Copy link
Contributor

symat commented Sep 14, 2020

I'll merge it now to master and branch-3.6
@paurkedal Am I correct that this is not an issue for 3.5?

@symat
Copy link
Contributor

symat commented Sep 14, 2020

hmm.. I see no Jira issue for this ticket, I created ZOOKEEPER-3935
@paurkedal please create ZooKeeper Jira tickets first next time, before you would submit a PR. See: https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute

@symat symat changed the title Handle float metrics in check_zookeeper. ZOOKEEPER-3935: Handle float metrics in check_zookeeper Sep 14, 2020
@asfgit asfgit closed this in efe83ba Sep 14, 2020
asfgit pushed a commit that referenced this pull request Sep 14, 2020
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Author: Petter A. Urkedal <paurkedal@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes #1452 from paurkedal/check_zookeeper-float

(cherry picked from commit efe83ba)
Signed-off-by: Mate Szalay-Beko <symat@apache.org>
@symat
Copy link
Contributor

symat commented Sep 14, 2020

pushed, thanks @paurkedal for your contribution! 🎉

@paurkedal
Copy link
Contributor Author

Will create a ticket first next time. Thanks for merging.

@paurkedal paurkedal deleted the check_zookeeper-float branch September 14, 2020 07:43
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Author: Petter A. Urkedal <paurkedal@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1452 from paurkedal/check_zookeeper-float
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Author: Petter A. Urkedal <paurkedal@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1452 from paurkedal/check_zookeeper-float
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Author: Petter A. Urkedal <paurkedal@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1452 from paurkedal/check_zookeeper-float
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings.

Author: Petter A. Urkedal <paurkedal@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1452 from paurkedal/check_zookeeper-float
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants