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

metricbeat: fix zookeeper fetching file descriptor info incorrectly #5902

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

wangdisdu
Copy link
Contributor

Use zk_open_file_descriptor_count instead of open_file_descriptor_count to check whether the zookeeper is running on Unix platforms.

Because the output variable is zk_open_file_descriptor_count depending on the doc ZooKeeper Administrator's Guide

@elasticmachine
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Contributor

@exekias exekias left a comment

Choose a reason for hiding this comment

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

LGTM, could you please add a CHANGELOG entry?

@exekias
Copy link
Contributor

exekias commented Dec 18, 2017

ok to test

@exekias exekias added bug Metricbeat Metricbeat review needs_backport PR is waiting to be backported to other branches. v6.1.0 labels Dec 18, 2017
…correctly

Use `zk_open_file_descriptor_count` instead of `open_file_descriptor_count` to check whether the zookeeper is running on Unix platforms.

Because the output variable is `zk_open_file_descriptor_count` depending on the doc [ZooKeeper Administrator's Guide](http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_zkCommands)
@wangdisdu wangdisdu force-pushed the metricbeat-zookeeper-mntr branch from 0a24112 to f5bd084 Compare December 19, 2017 03:21
@wangdisdu
Copy link
Contributor Author

Hi @exekias , i have added a CHANGELOG entry.

@ruflin
Copy link
Contributor

ruflin commented Dec 19, 2017

jenkins, test it

@ruflin ruflin merged commit 66d4500 into elastic:master Dec 19, 2017
@ruflin
Copy link
Contributor

ruflin commented Dec 19, 2017

@wangdisdu Thanks for the fix.

@ruflin ruflin removed the needs_backport PR is waiting to be backported to other branches. label Dec 19, 2017
ruflin pushed a commit to ruflin/beats that referenced this pull request Dec 20, 2017
…correctly (elastic#5902)

Use `zk_open_file_descriptor_count` instead of `open_file_descriptor_count` to check whether the zookeeper is running on Unix platforms.

Because the output variable is `zk_open_file_descriptor_count` depending on the doc [ZooKeeper Administrator's Guide](http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_zkCommands)

(cherry picked from commit 66d4500)
andrewkroh pushed a commit that referenced this pull request Dec 21, 2017
…correctly (#5902) (#5917)

Use `zk_open_file_descriptor_count` instead of `open_file_descriptor_count` to check whether the zookeeper is running on Unix platforms.

Because the output variable is `zk_open_file_descriptor_count` depending on the doc [ZooKeeper Administrator's Guide](http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_zkCommands)

(cherry picked from commit 66d4500)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…correctly (elastic#5902) (elastic#5917)

Use `zk_open_file_descriptor_count` instead of `open_file_descriptor_count` to check whether the zookeeper is running on Unix platforms.

Because the output variable is `zk_open_file_descriptor_count` depending on the doc [ZooKeeper Administrator's Guide](http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_zkCommands)

(cherry picked from commit 8b253db)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants