<?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[watch service and start automatically]]></title><description><![CDATA[<p dir="auto">Hello,<br />
i want to watch a service called FileWaveWinClient.<br />
The Alarm works fine, but the Server action does not work.</p>
<p dir="auto">In agent´s config file I added this line:<br />
ActionShellExec = StartFileWaveService:"C:\Windows\system32\net.exe" start FileWaveWinClient</p>
<p dir="auto">I tried also:<br />
ActionShellExec = StartFileWaveService:net start FileWaveWinClient</p>
<p dir="auto">In Actions Configuration I added<br />
Name: Start_FileWaveWinClient_Service<br />
Type: Execute command on remote node via agent<br />
Remote host &lt;empty&gt;<br />
Agents´s action: StartFileWaveService<br />
(See attachment "Action Configuration.png")</p>
<p dir="auto">I create a Event Processing Policy<br />
Events: ... Process not running<br />
Alarm - this configuration works fine. The Alarm is working<br />
Server Actions: Start_FileWaveWinClient_Service - does not work<br />
(See attachment "Event Processing Policy.png")</p>
<p dir="auto">The Alarm works fine, but the Server action does not work.</p>
<p dir="auto">Thank you<br />
Rainer</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005769-Action_Configuration.png" alt="Action Configuration.png" class="img-markdown  img-fluid" width="324" height="503" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005770-Event_Processing_Policy.png" alt="Event Processing Policy.png" class="img-markdown  img-fluid" width="1104" height="549" /></p>
]]></description><link>https://forum.netxms.org/topic/7499/watch-service-and-start-automatically</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:55:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7499.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Aug 2022 07:00:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to watch service and start automatically on Thu, 25 Aug 2022 10:02:51 GMT]]></title><description><![CDATA[<p dir="auto">I was looking for a bug that isn't a bug at all. The system is already working fine. I just thought that this line is added after agent restart. You can check the success quite simply by reading out the "Supported actions" on the client, and the desired one is there</p>
<p dir="auto">Many many Thanks for this perfect support<br />
Rainer  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /> <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /> <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /> <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /> <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>https://forum.netxms.org/post/31804</link><guid isPermaLink="true">https://forum.netxms.org/post/31804</guid><dc:creator><![CDATA[rainerh]]></dc:creator><pubDate>Thu, 25 Aug 2022 10:02:51 GMT</pubDate></item><item><title><![CDATA[Reply to watch service and start automatically on Thu, 25 Aug 2022 09:48:20 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I did not mention this - config policies are not actually modifying the main agent config file. Each policy confiig is kept in a separate file in config_ap under agent's DataDirectory (by default C:\Windows\System32\ config\systemprofile\ AppData\Local\nxagentd on windows). When agent starts it reads these files. In recent agent versions it dumps actual configuration into it's log file, so your line should be visible there.</p>
]]></description><link>https://forum.netxms.org/post/31802</link><guid isPermaLink="true">https://forum.netxms.org/post/31802</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 25 Aug 2022 09:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to watch service and start automatically on Thu, 25 Aug 2022 04:49:52 GMT]]></title><description><![CDATA[<p dir="auto">I have made a Template with automatic bind to all clients with running service I need (FileWaveWinClient)<br />
In this Template I choose Agent Policies and created a new "Agent Configuration" policy called StartFileWaveClientService<br />
I only inserted this (1) line:<br />
ActionShellExec = StartFileWaveService:"C:\Windows\system32\net.exe" start FileWaveWinClient<br />
(see AgentPolicy.png)<br />
For test I removed 2 clients and poll "Automatic bind"<br />
The 2 (test) clients added automatically to this Template</p>
<p dir="auto">Until now every thing works perfect - thank you</p>
<p dir="auto">But the agent config file at the new clients is not modified and the line I need is not in agent´s config file<br />
I waited a long time</p>
<p dir="auto">Thank you<br />
Rainer</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005772-AgentPolicy.png" alt="AgentPolicy.png" class="img-markdown  img-fluid" width="720" height="113" /></p>
]]></description><link>https://forum.netxms.org/post/31797</link><guid isPermaLink="true">https://forum.netxms.org/post/31797</guid><dc:creator><![CDATA[rainerh]]></dc:creator><pubDate>Thu, 25 Aug 2022 04:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to watch service and start automatically on Wed, 24 Aug 2022 13:52:32 GMT]]></title><description><![CDATA[<p dir="auto">Have a look at "Agent policies" in templates. One of the option is "Agent configuration" policy, where you can specify agent config lines. When template is added to a node, these config lines will be sent to agent and will start working after agent restart.</p>
]]></description><link>https://forum.netxms.org/post/31795</link><guid isPermaLink="true">https://forum.netxms.org/post/31795</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 24 Aug 2022 13:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to watch service and start automatically on Wed, 24 Aug 2022 13:29:24 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much  <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="🙂" /> <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /><br />
No it works fine</p>
<p dir="auto">I have the problem to add this line to agent config file</p>
<p dir="auto">ActionShellExec = StartFileWaveService:"C:\Windows\system32\net.exe" start FileWaveWinClient</p>
<p dir="auto">To all of my clients.<br />
Only to add, not to send each client the same config file</p>
<p dir="auto">Please help and thank you so much<br />
Rainer</p>
]]></description><link>https://forum.netxms.org/post/31794</link><guid isPermaLink="true">https://forum.netxms.org/post/31794</guid><dc:creator><![CDATA[rainerh]]></dc:creator><pubDate>Wed, 24 Aug 2022 13:29:24 GMT</pubDate></item><item><title><![CDATA[Reply to watch service and start automatically on Wed, 24 Aug 2022 12:28:45 GMT]]></title><description><![CDATA[<p dir="auto">In action properties you need to specify hostname/ip address of the machine where your netxms agent is running. This is made so for greater flexibility, as event may be coming from one node, but you might need to execute the action on another system, for example.</p>
<p dir="auto">You can use %a macro in "Remote host" field - in this case IP address of node where the event is coming from will be used.</p>
]]></description><link>https://forum.netxms.org/post/31792</link><guid isPermaLink="true">https://forum.netxms.org/post/31792</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 24 Aug 2022 12:28:45 GMT</pubDate></item></channel></rss>