<?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[Log Scrapping / Log Watch - Multiple Alerts]]></title><description><![CDATA[<p dir="auto">We are using the log watch feature to monitor the logs of our Interfaces in different file paths etc.</p>
<p dir="auto">Do within the nxagentd.conf file we are doing;</p>
<pre><code>[LOGWATCH]
Parser = C:\NetXMS\etc\interface1.xml
Parser = C:\NetXMS\etc\interface2.xml
</code></pre>
<p dir="auto">Then within Interface1.xml we are doing;</p>
<pre><code>&lt;parser&gt;
  &lt;file&gt;C:\inetpub\Interface1\logs\Log_%Y_%m_%d.txt&lt;/file&gt;
  &lt;rules&gt;
    &lt;rule&gt;
      &lt;match&gt;Error(.*)&lt;/match&gt;
      &lt;event&gt;100050&lt;/event&gt;
    &lt;/rule&gt;
  &lt;/rules&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">The trouble we are having is both Interface 1, 2 etc use the same event to fire on in NetXMS. Ideally we'd like to stick to the one event but be able to identify which interface/log directory has fired it.</p>
<p dir="auto">Is it possible to add something to the XMLS for us to be able to tell which Interface has fired the error? I.e. Interface 1 or Interface 2 using the same event? Or do we need to setup separate events for each one?</p>
]]></description><link>https://forum.netxms.org/topic/5944/log-scrapping-log-watch-multiple-alerts</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:42:48 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5944.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 May 2019 09:39:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Log Scrapping / Log Watch - Multiple Alerts on Tue, 21 May 2019 08:21:09 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Victor. That would be really handy.</p>
<p dir="auto">Any ideas of an ETA.</p>
]]></description><link>https://forum.netxms.org/post/25729</link><guid isPermaLink="true">https://forum.netxms.org/post/25729</guid><dc:creator><![CDATA[TICK_TEL]]></dc:creator><pubDate>Tue, 21 May 2019 08:21:09 GMT</pubDate></item><item><title><![CDATA[Reply to Log Scrapping / Log Watch - Multiple Alerts on Tue, 21 May 2019 05:56:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">currently it's not possible. I've added feature request for ability to pass extra parameters to generated event: <a href="https://track.radensolutions.com/issue/NX-1643" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1643</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25721</link><guid isPermaLink="true">https://forum.netxms.org/post/25721</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 21 May 2019 05:56:09 GMT</pubDate></item></channel></rss>