Mixed line endings in agent config file

Started by kmradke, May 25, 2010, 12:03:58 AM

Previous topic - Next topic

kmradke

I used the Windows NetXMS 1.01 console on my windows server to edit the agent config file on a windows client machine.  After doing so, it appears the new nxagentd.conf file on the client had some lines with dos line endings and some line with unix line endings.  The line endings should probably be normalized for the platform.

I'm not sure, but the mixed line endings may have been causing the agent to not honor my changes.  (I modified the file to have only dos line endings and restarted the agent and it then saw my changes.)

Victor Kirhenshtein

Hi!

Agent should work without problem with mixed line endings. Do you use "Save & Apply" after editing configuration via management console?
But anyway, I agree that line endings should be normalized. I'll add this as an issue in our bugtracker.

Best regards,
Victor

kmradke

I had not noticed "save and apply".  I just pressed ctrl-s to save the file.  That means my manual restart fixed the problem, not my normalization of the line endings.  It would be nice to normalize the line endings, but is not as big of a problem as I first thought.

Thanks!