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

Bugfix thresholds #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

merrykju
Copy link

@merrykju merrykju commented Mar 5, 2018

Hello,

check_docker returned ok when the user running the plugin did not have sufficient privileges to access the docker url, and critical when the user had them. The reason for this: True in python converts to 1 which surpasses the threshold of 0.

I adapted the thresholds according to https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT and converted the booleans to int for more usable performanc data.

Best

Patricia

Patricia Jung added 3 commits March 5, 2018 14:24
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.

1 participant