<?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[Syslog parser debugging is untestable]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I post in a separate message.<br />
I have this syslog parser rule:</p>
<pre><code>&lt;parser trace="1" name="ceph"&gt;
   &lt;macros/&gt;
   &lt;rules&gt;
      &lt;rule name="backup in errore"&gt;
         &lt;match repeatCount="0" repeatInterval="1"&gt;ERROR: Backup of (.*)&lt;/match&gt;
         &lt;event&gt;GIA_BACKUP_ERROR&lt;/event&gt;
         &lt;agentAction action=""&gt;&lt;/agentAction&gt;
      &lt;/rule&gt;
      &lt;rule name="eve4pve in errore"&gt;
         &lt;match repeatCount="0" repeatInterval="1"&gt;eve4pve-barc: (.*)&lt;/match&gt;
         &lt;event&gt;GIA_BACKUP_ERROR&lt;/event&gt;
         &lt;agentAction action=""&gt;&lt;/agentAction&gt;
      &lt;/rule&gt;
   &lt;/rules&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">First rule matches correctly. Second rule does not match but I am pretty sure that logline starts with "eve4-pve-barc:"<br />
I have tried also with process=1.<br />
Can you help me?<br />
Thanks,<br />
Mario</p>
]]></description><link>https://forum.netxms.org/topic/6841/syslog-parser-debugging-is-untestable</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:14:37 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6841.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jan 2021 16:59:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Mon, 04 Jan 2021 06:10:37 GMT]]></title><description><![CDATA[<p dir="auto">That makes sense!</p>
<p dir="auto">You don't actually have to have the agent installed, but it does need to be a node in NetXMS.  You should be able to use SNMP and not strictly have to install the agent.  However, the agent does give you a lot more control over the node.</p>
]]></description><link>https://forum.netxms.org/post/29180</link><guid isPermaLink="true">https://forum.netxms.org/post/29180</guid><dc:creator><![CDATA[Zebble]]></dc:creator><pubDate>Mon, 04 Jan 2021 06:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Mon, 04 Jan 2021 05:56:32 GMT]]></title><description><![CDATA[<p dir="auto">I solved the problem...<br />
... if you have not the node with agent installed syslogparser receive log messages but it does not generate events!!!!</p>
]]></description><link>https://forum.netxms.org/post/29179</link><guid isPermaLink="true">https://forum.netxms.org/post/29179</guid><dc:creator><![CDATA[mgiammarco]]></dc:creator><pubDate>Mon, 04 Jan 2021 05:56:32 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Mon, 04 Jan 2021 05:50:04 GMT]]></title><description><![CDATA[<p dir="auto">You gave me an idea.<br />
I reproduced the exact error message and resent it using "logger" bash utility.<br />
No alarms fired.<br />
So I tried it in another host and this time it works!<br />
It is incredible.<br />
I have tcpdump, this one from host called "pvehpbig" works:</p>
<p dir="auto">05:42:12.998464 IP 10.1.0.4.46393 &gt; mon-netxms.syslog: SYSLOG user.notice, length: 48<br />
        0x0000:  4500 004c 67fa 4000 4011 be5d 0a01 0004  E..Lg.@.@..]....<br />
        0x0010:  0a01 0044 b539 0202 0038 064b 3c31 333e  ...D.9...8.K&lt;13&gt;<br />
        0x0020:  4a61 6e20 2034 2030 363a 3434 3a31 3420  Jan..4.06:44:14.<br />
        0x0030:  7076 6568 7062 6967 2065 7665 3470 7665  pvehpbig.eve4pve<br />
        0x0040:  2d62 6172 633a 2070 726f 7661            -barc:.prova</p>
<p dir="auto">This one from host called siippve1 does not work:</p>
<p dir="auto">05:43:30.834995 IP 10.2.1.240.50964 &gt; mon-netxms.syslog: SYSLOG user.notice, length: 48<br />
        0x0000:  4500 004c 2b24 4000 3c11 fd46 0a02 01f0  E..L+$@.&lt;..F....<br />
        0x0010:  0a01 0044 c714 0202 0038 f1a6 3c31 333e  ...D.....8..&lt;13&gt;<br />
        0x0020:  4a61 6e20 2034 2030 363a 3435 3a33 3220  Jan..4.06:45:32.<br />
        0x0030:  7369 6970 7076 6531 2065 7665 3470 7665  siippve1.eve4pve<br />
        0x0040:  2d62 6172 633a 2070 726f 7661            -barc:.prova</p>
<p dir="auto">It seems the same message to me!<br />
Mario</p>
]]></description><link>https://forum.netxms.org/post/29178</link><guid isPermaLink="true">https://forum.netxms.org/post/29178</guid><dc:creator><![CDATA[mgiammarco]]></dc:creator><pubDate>Mon, 04 Jan 2021 05:50:04 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Mon, 04 Jan 2021 05:00:41 GMT]]></title><description><![CDATA[<p dir="auto">I'm new to NetXMS but just tried a test and faked a syslog push with your eve4pve-barc: string, and it worked fine.</p>
<p dir="auto">Mind you, I'm using the dev build of NetXMS (3.7/4.0) so it might have changed.</p>
<p dir="auto">You may want to do a tcpdump (with the A and/or X option) on the NetXMS server of your port 514 traffic when these packets are coming in and see if there any some special characters that might be messing things up?</p>
<p dir="auto">And thanks for the question, as it forced me to figure out how Syslog and custom events work in NetXMS.  <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>
<p dir="auto">-Zeb</p>
]]></description><link>https://forum.netxms.org/post/29177</link><guid isPermaLink="true">https://forum.netxms.org/post/29177</guid><dc:creator><![CDATA[Zebble]]></dc:creator><pubDate>Mon, 04 Jan 2021 05:00:41 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Sun, 03 Jan 2021 22:43:48 GMT]]></title><description><![CDATA[<p dir="auto">In syslog browser I find all log lines with "eve4pve-barc: %"</p>
]]></description><link>https://forum.netxms.org/post/29176</link><guid isPermaLink="true">https://forum.netxms.org/post/29176</guid><dc:creator><![CDATA[mgiammarco]]></dc:creator><pubDate>Sun, 03 Jan 2021 22:43:48 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog parser debugging is untestable on Sun, 03 Jan 2021 19:53:31 GMT]]></title><description><![CDATA[<p dir="auto">I also created a new event type for second rule.</p>
]]></description><link>https://forum.netxms.org/post/29175</link><guid isPermaLink="true">https://forum.netxms.org/post/29175</guid><dc:creator><![CDATA[mgiammarco]]></dc:creator><pubDate>Sun, 03 Jan 2021 19:53:31 GMT</pubDate></item></channel></rss>