Closed mpounsett closed 9 years ago
Original comment by Christian Kauhaus (Bitbucket: ckauhaus, GitHub: ckauhaus).
Always keep perfdata on a single line
Some systems swallow multi-line performance data even if output style is perfectly ok w.r.t. the Nagios plugin specs.
So we restrict ourselves to single line performance data even in multi-line mode.
Fixes #11
Original report by Onur Yalazı (Bitbucket: yalazi, ).
Nagios and icinga2 uses only a single line output to get check results and performance data. In case of multiple metrics output.py:format_perfdata method joins metrics with newlines. This breaks perf data collection. This should join with spaces.
Sample output: