sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

Extra newlines with naemon #57

Closed jmcook closed 10 years ago

jmcook commented 10 years ago

I'm seeing some extra newlines, specifically a ' \n' (space followed by \n) at the end of all services checked by mod_gearman. mod_gearman is built from the current nagios4 branch, naemon 0.8.0 (along with it's accompanying Thruk).

I can see it in log files and livestatus as well... Here's some sample output from livestatus. It looks like on the services with perf data, it's not displaying the \n, presumably because it's being attached to the perfdata?

host1;syslogd;2;(worker1) - Connection refused by host\n host2;crond;0;(worker2) - PROCS OK: 1 process with command name 'crond'\n host3;inventory;0;(worker1) - OK - inventory is 52546 seconds old and 529425 bytes\n

sni commented 10 years ago

could you try latest HEAD, it should be fixed now.