<?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 Eventlog  - No SendTrap() from Agent]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">i'm using hier NetXMS V1.2.7 in a windows environment (NetXMS server is a Win7 machine, NetXMS Agent runs on a Win2008R2 Server). I'm having here a problem with the monitoring from the Windows server. The NetXMS Agent don't send any events to the NetXMS syslog server (syslog server is up an running...)</p>
<p dir="auto">My agent config looks like this:<br />
--------------------------------------------<br />
MasterServers = 10.10.9.40<br />
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
#LogFile = {syslog}<br />
LogFile = c:\netxms\var\netxms.log<br />
FileStore = C:\NetXMS\var<br />
SubAgent = logwatch.nsm<br />
SubAgent = winperf.nsm<br />
DebugLevel = 9</p>
<p dir="auto">*LOGWATCH<br />
Parser = c:\netxms\etc\eventlog_system_parser.xml<br />
--------------------------------------------</p>
<p dir="auto">Logwatch Parser File:<br />
--------------------------------------------<br />
&lt;parser trace="9"&gt;<br />
  &lt;file&gt;*System&lt;/file&gt;<br />
  &lt;rules&gt;<br />
    &lt;rule&gt;<br />
      &lt;match&gt;(.*)&lt;/match&gt;<br />
    &lt;/rule&gt;<br />
  &lt;/rules&gt;<br />
&lt;/parser&gt;<br />
--------------------------------------------</p>
<p dir="auto">With these configs i can see the following in the NetXMS Agent Log:</p>
<p dir="auto">--------------------------------------------<br />
[28-Apr-2015 15:45:27.877] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 48)<br />
[28-Apr-2015 15:45:43.492] [DEBUG] LogWatch: publisher name is Service Control Manager<br />
[28-Apr-2015 15:45:43.492] [DEBUG] Match event: source="Service Control Manager" id=7036 level=4 text="Dienst "Software Protection" befindet sich jetzt im Status "Beendet"."<br />
[28-Apr-2015 15:45:43.492] [DEBUG] checking rule 1 ""<br />
[28-Apr-2015 15:45:43.492] [DEBUG]   rule has no context<br />
[28-Apr-2015 15:45:43.492] [DEBUG]   matching against regexp (.*)<br />
[28-Apr-2015 15:45:43.492] [DEBUG]   matched<br />
[28-Apr-2015 15:45:43.492] [DEBUG] rule 1 "" matched<br />
[28-Apr-2015 15:45:43.492] [DEBUG] processing stopped at rule 1 ""; result = true<br />
[28-Apr-2015 15:45:48.250] [DEBUG] [session:0] Message dump:<br />
--------------------------------------------</p>
<p dir="auto">By searching for infos on Google i can take a look at other NetXMS Agent Dumps with logwatch active. At all other Dumps i can see an</p>
<p dir="auto">SendTrap(): event ....</p>
<p dir="auto">after the line "processing stopped at...". Where is my fault? Can anyone help me, please?</p>
<p dir="auto">Greets<br />
Marco</p>
<p dir="auto">PS: By the way, thanx for this great piece of software</p>
]]></description><link>https://forum.netxms.org/topic/3737/windows-eventlog-no-sendtrap-from-agent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:55:35 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3737.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Apr 2015 16:26:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows Eventlog  - No SendTrap() from Agent on Wed, 29 Apr 2015 14:55:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">works perfect... thanks for the hint...</p>
<p dir="auto">Greets<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/16679</link><guid isPermaLink="true">https://forum.netxms.org/post/16679</guid><dc:creator><![CDATA[Spheron]]></dc:creator><pubDate>Wed, 29 Apr 2015 14:55:36 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Eventlog  - No SendTrap() from Agent on Tue, 28 Apr 2015 19:57:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">thanks for the fast reply... i will try it tomorrow...</p>
<p dir="auto">Greets<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/16663</link><guid isPermaLink="true">https://forum.netxms.org/post/16663</guid><dc:creator><![CDATA[Spheron]]></dc:creator><pubDate>Tue, 28 Apr 2015 19:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Eventlog  - No SendTrap() from Agent on Tue, 28 Apr 2015 19:20:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you miss &lt;event&gt; tag in your parser - so there is nothing to send. You should create new event and your parser should look like this:</p>
<p dir="auto">&lt;parser trace="9"&gt;<br />
  &lt;file&gt;*System&lt;/file&gt;<br />
  &lt;rules&gt;<br />
    &lt;rule&gt;<br />
      &lt;match&gt;(.*)&lt;/match&gt;<br />
      &lt;event params="1"&gt;MY_EVENT&lt;/event&gt;<br />
    &lt;/rule&gt;<br />
  &lt;/rules&gt;<br />
&lt;/parser&gt;</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16655</link><guid isPermaLink="true">https://forum.netxms.org/post/16655</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 28 Apr 2015 19:20:30 GMT</pubDate></item></channel></rss>