-
Notifications
You must be signed in to change notification settings - Fork 14
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
Added reverse_check_levels function #5
base: master
Are you sure you want to change the base?
Conversation
./jboss7.py -H 10.xxx.xxx.xx -A datasource -P 9990 -u user -p password -d dsname -s ActiveCount -W 15 -C 30 My problem is the following of the ActiveCount value is correct, but I get the critical output message when I actually return an OK, any idea? |
I can't reproduce your issue. It works as expected:
|
Ok, change the warning by 0 to see if the output changes to Warning your ActiveCount is set to 0 right now I should show you a warning |
I'm pretty sure your problem is not from this pull requests. Can you check your issue with master?
Works as expected. Check is not well working only using strange values:
|
My version is the same as the master, I just cloned with command git clone, the same problem looking at the code I do not see the error when it enters check_levels def. |
.. so your problem is not related to this Pull Request. I think you have to open a new Issue for that. |
fix the problem by touching the code, thanks |
Happy you have solved your problem. Appreciated if you will push a new PullRequest :-) |
Thanks, already create a pull request |
Adding reverse_check_levels function to be used when CRITICAL value should be lower than WARNING value