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

new options -nodes ALL #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zabojcaspamu
Copy link

This option "-n ALL" show if only on node is down (without list nodes in parameters)

This option "-n ALL" show if only on node is down (without list nodes in parameters)
@barryib
Copy link
Member

barryib commented Jun 18, 2018

@zabojcaspamu thanks for your PR.

nodes is not a required argument. When it's not given, check will be done on all nodes. So I think that you can get what you want by doing something like this:

Assume that you have a cluster of 3 nodes,

check_rabbitmq_cluster -H rabbit.example.com -w 3: -c 3:

This will rise alert if you have less than 3 nodes. See nagios threshold format for detail.

@zabojcaspamu
Copy link
Author

You are right when number nodes is constant
What If i will change the number of nodes in the cluster ? I will have to change numbers in check.

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.

None yet

2 participants