Skip to content

Bugfix thresholds#4

Open
merrykju wants to merge 3 commits intojsmartin:masterfrom
merrykju:bugfix-thresholds
Open

Bugfix thresholds#4
merrykju wants to merge 3 commits intojsmartin:masterfrom
merrykju:bugfix-thresholds

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

Comments