<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Default property-file for Debian/Ubuntu (/etc/default/netxms-agent)]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I most often monitor Ubuntu Linux installations and tend to keep my: <em>nxagentd.conf</em> configuration file, scripts etc. under the path: <em>/etc/netxms</em>. By default the init-file for the netxms-agent looks for the configuration file under: <em>/etc/nxagentd.conf</em>.</p>
<p dir="auto">I'd like to have a default property file under: <em>/etc/default/netxms-agent</em> (or <em>/etc/default/nxagentd</em>) where I can override startup options without having to modify the original init-file (<em>/etc/init.d/nxagentd</em>), specially as it gets overwritten every time there is a new release of the agent.</p>
<p dir="auto">Thanks for a fantastic product!</p>
<p dir="auto">Anders</p>
]]></description><link>https://forum.netxms.org/topic/2898/default-property-file-for-debian-ubuntu-etc-default-netxms-agent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:23:54 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2898.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Feb 2014 07:49:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Default property-file for Debian/Ubuntu (/etc/default/netxms-agent) on Sat, 08 Mar 2014 11:13:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi Tatjana,</p>
<p dir="auto">Thanks but it really doesn't solve my problem. I was looking for a way to override the executing parameters in the init-script without having to modify the actual init-script, simply because the /etc/init.d/nxagentd gets overwritten each time you upgrade the agent software (considering I have about 80 machines, that creates allot of undesirable work each upgrade).</p>
<p dir="auto">But I think I've found a working solution to my problem. The great people developing NetXMS has used the standard debian/ubuntu init-script which automatically loads and overrides init-script variables from: /etc/default/nxagentd... so basically if anyone else has the same needs as me, they can simply execute the following command to get an parameter override that doesn't get overwritten:</p>
<pre><code>echo "DAEMON_ARGS=\"-d -c /etc/netxms/nxagentd.conf\"" &gt; /etc/default/nxagentd
</code></pre>
<p dir="auto">I suppose this means that my feature request has already been fulfilled <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/13138</link><guid isPermaLink="true">https://forum.netxms.org/post/13138</guid><dc:creator><![CDATA[Anders]]></dc:creator><pubDate>Sat, 08 Mar 2014 11:13:33 GMT</pubDate></item><item><title><![CDATA[Reply to Default property-file for Debian/Ubuntu (/etc/default/netxms-agent) on Fri, 07 Mar 2014 12:51:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You can run nxagentd with -c &lt;file&gt; parameter: Use configuration file &lt;file&gt;.</p>
<p dir="auto">Like:<br />
nxagentd -c /etc/default/netxms-agent/nxagentd.conf</p>
]]></description><link>https://forum.netxms.org/post/13129</link><guid isPermaLink="true">https://forum.netxms.org/post/13129</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Fri, 07 Mar 2014 12:51:40 GMT</pubDate></item></channel></rss>