naparuba/shinken — pull request #301 by claneys (2012-04-24 16:16:33+00:00)
Title: Fix : Graphite broker improvements

Ok, webui-develop have been merged xD. Too late.

I do some improvements with graphite broker. Now, it will extract int/float part of all metric in perfdata instead of only the first. So, now if threshold exists but have unexpected character in it, the metric is valid. It is the case with check_oracle_health which have threshold in full nagios format 'Min:Max'.
Now regex used to avoid illegal character is compiled, a little improvement but still.
Graphstart and graphend parameters now reflect theirs effects on graph period.
I improve way to display metric with their thresholds, so now it will not display metric with the same beginning.
And a final bonus, to scale Y axis when metric is a percentage :D. This assume metric has a unit of measure in it.