Mixed line endings in agent config file
-
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.)
-
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 -
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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login