However in the “detail view” of my service I have 4 rows of graphs. The first row is labeled “5”, the next row is labeled “min”, next is “avg” and the last row labeled “load” is finally containing the graphs for my only value (all the graphs in the other rows are empty).
Currently I don’t have a means to change the label to something without spaces… but anyway, isn’t this a bug?
Hi slashdoom,
thank you for your reply. You mean the “OK: missing” before the pipe?
Well, I agree that this is not good style. But in the end, it’s the return value of the plugin that marks something “OK, CRITICAL OR WARNING”… before the pipe is just text.
My issue happens after the pipe: I believe that something in the libre-code is not handing over the single quotes around the label, which would explain the issue.
I see what you’re saying. Sorry about that. The way the forum has highlighted parts of the before pipe text I thought you were saying you thought those were affecting the output.
I think I can confirm what you’re saying. See:
Line 235 splits the text first by the pipe, then the line 238 splits the perf string by space. It doesn’t look like there is currently logic built in for single quoted labels contain spaces.