naparuba/shinken — Issue #86: Service-Perfdata-Autogenerated wrong template
Author: sprudhomme
Created: 2011-12-13 12:07:34+00:00
State: open

As written in the Nagios documentation for service_perfdata_file_template and host_perfdata_file_template, "a newline is automatically added after each write to the performance data file".

Shinken compatibility mode with Nagios config file doesn't take into account that new line in shinken/objects/config.py

Need to add '\n' to self.service_perfdata_file_template and self.service_host_file_template