sni/Thruk — pull request #225 by awiddersheim (2013-10-31 17:21:58+00:00)
Title: Improved perf data bars to handle more types of perfdata

Updated the logic that builds the perfdata bars to be able to handle almost all of the thresholds specified in the Nagios Plugins Development Guidlines. The only thing these changes don't support is when the '@' symbol is used to do inclusive thresholds. Another thing to note is that the regex to pull apart data was not only modified to handle these other thresholds but to also allow the UOM to be any number of characters long. Previously, this was limited to only allowing two characters however there isn't anything in the guidelines that talks about the max length the UOM can be.

I've done a small amount of testing on these changes but more testing by someone other than myself would be greatly appreciated.