Pandora FMS community forums
Agent stops working if conf file format is not UTF8 - Printable Version

+- Pandora FMS community forums (https://pandorafms.com/community-forums)
+-- Forum: Pandora FMS (https://pandorafms.com/community-forums/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (https://pandorafms.com/community-forums/forum-11.html)
+--- Thread: Agent stops working if conf file format is not UTF8 (/thread-12047.html)



Agent stops working if conf file format is not UTF8 - grasshoper - 06-15-2018

Hi,

We discovered a bug that affects the agent. 

We edited the conf file in an editor and it changed the formatting from UTF-8 to UCS-2 LE.  The file contents appear identical in notepad however the Agent stops reporting and does not output to either the agent or debug log even though the service starts without error.  We have to manually specify to save in UTF-8 for it to work.

At the surface the agent appeared to be working fine in the console because other modules such as ping report the agent is up.  However on further inspection none of the agent based modules are working.

I think the agent would be improved if there was an error message or output to the debug log if it is unable to load the conf file.

Thank you!