Closed McRiverside closed 7 years ago
mod-gearman 3.0.0 and 3.0.3 also seem to have this issue. Newlines are not parsed and are appended as "\n" to the perfdata and plugin_output string... Example:
Status Information: OK - load average: 2.17, 2.02, 1.53
Performance Data: load1=2.170;25.000;30.000;0; load5=2.020;15.000;20.000;0; load15=1.530;10.000;15.000;0; \n
I don't have access to any nagios xi, maybe @hedenface want to have a look
I'll take a look.
Fixed in #118 PR.
Thanks Bryan! I hope it will be merged swiftly :)
Currently trying to track down an issue with nagios crashing - could this issue have such an impact? (https://github.com/NagiosEnterprises/nagioscore/issues/391)
Merged, thanks.
Hi,
We have a Nagios XI 5.4.2 alonside with gearmand 0.33 runnning. Every mod_gearman_worker runs the 3.0.1 version.
Mod_gearman doesn't parse multi lines returns in the long_ooutput field as Nagios would normally do, it puts everything into the output field.
Result with mod_gearman: output: ABC\nDEF\nGHI\n long_output: null Expected result: output: ABC Long_output:DEF\nGHI\n
Can anyone tell me where to change it in the NEB to parse it correctly and make use of the long_output field?
Thank you, Alexandre