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

Output of tps too long #28

Closed
willemdh opened this issue May 15, 2020 · 7 comments · Fixed by #32
Closed

Output of tps too long #28

willemdh opened this issue May 15, 2020 · 7 comments · Fixed by #32
Assignees

Comments

@willemdh
Copy link

Hello,

Probably only in larger clusters, but when I run check_es_system.sh with tps type, I get a huge perfdata output. Not sure what would be a good workaround, maybe only return the sum of all queues? (with an option)

Grtz

Willem

@Napsty
Copy link
Owner

Napsty commented Jul 14, 2020

Yes, there can be many tps queues - the more cluster nodes, the more queues you get (for the whole cluster).
We could add a parameter to limit the queues to certain? Like an "inclusive list"?

@Napsty Napsty self-assigned this Aug 17, 2020
@Napsty
Copy link
Owner

Napsty commented Aug 17, 2020

Working on a PR now. Will re-use the already existing -i parameter.

@Napsty
Copy link
Owner

Napsty commented Aug 17, 2020

@willemdh Please test with the PR #32
Example:

$ ./check_es_system.sh -H myescluster -u user -p secret -t tps -i "watcher"
ES SYSTEM OK - Found 3 thread pools in cluster|tp_elastic02-p-watcher_active=0;;;; tp_elastic02-p-watcher_queue=0;;;; tp_elastic02-p-watcher_rejected=0;;;;  tp_elastic01-p-watcher_active=5;;;; tp_elastic01-p-watcher_queue=0;;;; tp_elastic01-p-watcher_rejected=0;;;;  tp_elastic03-p-watcher_active=0;;;; tp_elastic03-p-watcher_queue=0;;;; tp_elastic03-p-watcher_rejected=0;;;; 

@Napsty
Copy link
Owner

Napsty commented Sep 15, 2020

@willemdh Were you able to test the PR #32? Working on your environment?

@Napsty
Copy link
Owner

Napsty commented Sep 16, 2020

Assuming OK, could not find any issues on my own Elasticsearch instances. Going forward with PR.

@willemdh
Copy link
Author

@Napsty Please give me a few weeks, very busy atm...

@Napsty
Copy link
Owner

Napsty commented Sep 18, 2020

@willemdh no problem - i already released it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants