<?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[Windows Event Log Monitoring Configuration]]></title><description><![CDATA[<p dir="auto">Windows Event Log config on client seems OK, but how to configure it on the server?</p>
<p dir="auto">On a NetXMS Agent I have:<br />
In nxagentd.conf:<br />
<code>SubAgent = logwatch.nsm</code></p>
<p dir="auto">In nxagentd.conf.d\custom.conf I have:</p>
<pre><code>[LOGWATCH]
Parser = C:\NetXMS\etc\parser1.xml
</code></pre>
<p dir="auto">In c:\netxms\etc\parser1.xml I have:</p>
<pre><code>&lt;parser&gt;
	&lt;name&gt;parser1&lt;/name&gt;
	&lt;!-- *SYSTEM means Windows System Event Log --&gt;
	&lt;file&gt;*SYSTEM&lt;/file&gt;
	&lt;!-- more &lt;file&gt; tags can follow --&gt;
	&lt;rules&gt;
		&lt;rule&gt;
			&lt;match&gt;(.*)&lt;/match&gt;
			&lt;id&gt;7&lt;/id&gt;
			&lt;level&gt;3&lt;/level&gt;
			&lt;!-- use this for testing, then comment out and uncomment 'disk' below for production --&gt;
			&lt;source&gt;blueberries&lt;/source&gt;
			&lt;!--
			&lt;source&gt;disk&lt;/source&gt;
			--&gt;
			&lt;event&gt;SYS_NODE_CRITICAL&lt;/event&gt;
		&lt;/rule&gt;
	&lt;!-- more &lt;rule&gt; tags can follow --&gt;
	&lt;/rules&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">Then I generate an event from the command prompt with:<br />
<code>eventcreate /t error /id 7 /l System /d "Test-Ignore" /SO "blueberries"</code></p>
<p dir="auto">When I do this, in the nxagentd log I get:</p>
<pre><code>2020.04.16 11:03:13.673 *D* [                   ] PostEvent(): event_code=0, event_name=SYS_NODE_CRITICAL, timestamp=1586995393, num_args=7, arg[0]="Test-Ignore", arg[1]="blueberries", arg[2]="7", arg[3]="1", arg[4]="266817", arg[5]="1", arg[6]="Test-Ignore"

</code></pre>
<p dir="auto">And on the NetXMS server, I get no indication in the GUI that anything happened.  In the server log, I do see:</p>
<pre><code>2020.04.17 15:29:47.966 *D* [agent.conn.4       ] Received message CMD_TRAP (0) from agent at 192.168.16.111
2020.04.17 15:29:47.966 *D* [agent.conn.4       ] AgentConnectionEx::onTrap(): Received trap message from agent at 192.168.16.111, node ID 187
2020.04.17 15:29:47.966 *D* [agent.conn.4       ] AgentConnectionEx::onTrap(): trapID is valid
2020.04.17 15:29:47.966 *D* [agent.conn.4       ] Event from trap: 10
2020.04.17 15:29:47.966 *D* [event.corr         ] CorrelateEvent: event SYS_NODE_CRITICAL id 56588 source gordon.odcvu.local [187]
2020.04.17 15:29:47.966 *D* [event.corr         ] CorrelateEvent: finished, rootId=0
2020.04.17 15:29:47.966 *D* [event.proc         ] EVENT SYS_NODE_CRITICAL [10] (ID:56588 F:0x0001 S:4 TAGS:"NodeStatus") FROM gordon.odcvu.local: Node status changed to CRITICAL

</code></pre>
<p dir="auto">I think I have the client configured correctly.  And the server is receiving the CMD_TRAP.  What do I need to do on the server to have it register these and show alarms, and have the node actually get changed to 'CRITICAL'?</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://forum.netxms.org/topic/6498/windows-event-log-monitoring-configuration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:18:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6498.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Apr 2020 00:32:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows Event Log Monitoring Configuration on Tue, 19 May 2020 05:28:14 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, that was it.</p>
<p dir="auto">The client and server were working correctly. I *thought* I'd configured an Event Configuration item, but I hadn't.  Thank you.</p>
]]></description><link>https://forum.netxms.org/post/27899</link><guid isPermaLink="true">https://forum.netxms.org/post/27899</guid><dc:creator><![CDATA[tfines]]></dc:creator><pubDate>Tue, 19 May 2020 05:28:14 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Event Log Monitoring Configuration on Fri, 17 Apr 2020 17:17:33 GMT]]></title><description><![CDATA[<p dir="auto">You probably miss the server configuration part:</p>
<p dir="auto">Go to "Configuration &gt; Event Processing Policy" and add the behavior you would like to have. To send an e-mail for example you have also to add specific action from "Configuration &gt; Actions Configuration"</p>
<p dir="auto">I suggest also to go to "Configuration &gt; Event Configuration" and add your custom event to be posted by the log monitoring agent (adjust the EPP accordingly to respond to this event).</p>
<p dir="auto">Hope it helps.</p>
<p dir="auto">Regards,<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/27762</link><guid isPermaLink="true">https://forum.netxms.org/post/27762</guid><dc:creator><![CDATA[Jmp_3f8h]]></dc:creator><pubDate>Fri, 17 Apr 2020 17:17:33 GMT</pubDate></item></channel></rss>