Open SmitaPatankar opened 4 years ago
Hmm, that is an issue I had not considered. Thanks for sharing.
I just want to ensure my change makes sense to you. All I am doing is updating the help string and documentation to remove the suggestion of a 0-100% range. That seems like it should be enough as well as being a bit more accurate since I do allow values bigger than 100.
Does that sound right to you?
Yes, sounds good. Thanks.
Steps to Reproduce:
check_docker --connection /var/run/docker.sock --containers all --cpu 80:95
My Setup:
Output at times, initially:
Reason behind the output:
It seems that when CPU utilization exceeds the limit slightly, it gets under control i.e. there is some margin.
Additional logs:
Issue: The documentation(README file) only talks about the values from 0-100, not beyond that.
In this case, we should ideally set the warning:critical to something like 110:125 instead.