<?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[Traps not being matched with events]]></title><description><![CDATA[<p dir="auto">Server OS = Redhat (RHEL4 / Update 6)<br />
NetXMS = 0.2.19</p>
<p dir="auto">Console = 0.2.19 running on Windows XP.</p>
<p dir="auto">I am trying to match SNMP Traps to NetXMS events. I managed to get this to work once, but now all traps show up in the Event logs as 'SNMP_UNMATCHED_TRAP'.</p>
<p dir="auto">Steps followed (using <a href="http://tinyurl.com/25249y" rel="nofollow ugc">http://tinyurl.com/25249y</a> as a reference):</p>
<ul>
<li>Copied the mib file into the NetXMS mibs directory and run nxmibc sucessfully</li>
<li>Set LogAllSNMPTraps = 1</li>
<li>Confirmed that I can see traps arriving from a test host in SNMP Trap Log</li>
<li>Created a new NetXMS event, providing a 'Name', checked the 'Write to event log' checkbox, set 'Message template' to %2 (to match the contents of a returned parameter with the trap)</li>
<li>Created a new Trap Configuration, providing a 'Description', pasting the 'Trap OID' as taken from the SNMP Trap Log (and confirmed in the MIB Browser), selecting the previously created event, not entering anything in 'Tag', and finally adding one 'Parameter Binding' using the contents of one of the variables returned by the trap</li>
</ul>
<p dir="auto">At this point I was expecting any matching traps arriving at the box to be matched to the corresponding event, but instead they still show up as 'SNMP_UNMATCHED_TRAP' in the event log.</p>
<p dir="auto">I have gone on to provide a matching rule in the 'Event Processing Policy' and restarted all components, but this has no effect. I can see nothing in the netxms log file (last entry refers to the server starting).</p>
<p dir="auto">I did get the first trap working as expected. I could see no difference in the subsequent traps that I set up that did not work. I finally deleted all configs, to start again, and now none work.</p>
<p dir="auto">Please can anybody point me in the direction of what I am missing?</p>
<p dir="auto">Cheers Stooo.</p>
]]></description><link>https://forum.netxms.org/topic/245/traps-not-being-matched-with-events</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:26:39 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/245.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Mar 2008 14:42:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Traps not being matched with events on Wed, 12 Mar 2008 09:39:04 GMT]]></title><description><![CDATA[<p dir="auto">Victor - sorry for wasting your time.  :-[ I had looked at those OID's over and over again yesterday and could not spot the typo. Of course now i have corrected it, everything works fine.</p>
<p dir="auto">I have been looking at a bunch of software in this area and NetXMS has been head and shoulders above everything else I have tried. I am looking forward to what you have planned for future releases. Thanks.</p>
]]></description><link>https://forum.netxms.org/post/1211</link><guid isPermaLink="true">https://forum.netxms.org/post/1211</guid><dc:creator><![CDATA[stoo]]></dc:creator><pubDate>Wed, 12 Mar 2008 09:39:04 GMT</pubDate></item><item><title><![CDATA[Reply to Traps not being matched with events on Tue, 11 Mar 2008 20:04:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">Looks like typo or bug in MIB file if you select trap OID from MIB browser: in the trap log, trap OID is .1.3.6.1.4.1.674.<strong>10892</strong>.1.0.1354 while in trap configuration window it is .1.3.6.1.4.1.674.<strong>10982</strong>.1.0.1354.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1210</link><guid isPermaLink="true">https://forum.netxms.org/post/1210</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 11 Mar 2008 20:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Traps not being matched with events on Tue, 11 Mar 2008 16:53:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Thanks for getting back to me. Here are the screen grabs you requested. The event at 15:33:09 is the one I am interested in.</p>
<p dir="auto">Event &amp; Traps Logs:</p>
<p dir="auto"><img src="http://www.doofertronics.co.uk/netxms_images/event_and_traps_logs.jpeg" alt="" class="img-markdown  img-fluid" /></p>
<p dir="auto">Trap Configuration:</p>
<p dir="auto"><img src="http://www.doofertronics.co.uk/netxms_images/trap_config.jpeg" alt="" class="img-markdown  img-fluid" /></p>
<p dir="auto">Event Configuration:</p>
<p dir="auto"><img src="http://www.doofertronics.co.uk/netxms_images/event_config.jpeg" alt="" class="img-markdown  img-fluid" /></p>
<p dir="auto">For reference, the complete 'Varbinds' field from the Traps logs reads:</p>
<pre><code>.1.3.6.1.4.1.674.10982.1.5000.10.1.0=='netxms_test'; .1.3.6.1.4.1.674.10892.1.5000.10.2.0=='.1.3.6.1.4.1.674.10892.1.600.12.1.2.1.2'; .1.3.6.1.4.1.674.10982.1.5000.10.3.0=='Power supply detected a failure Sensor location: Power Supply 2 Chassis locati
</code></pre>
<p dir="auto">Cheers Stoo.</p>
]]></description><link>https://forum.netxms.org/post/1209</link><guid isPermaLink="true">https://forum.netxms.org/post/1209</guid><dc:creator><![CDATA[stoo]]></dc:creator><pubDate>Tue, 11 Mar 2008 16:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to Traps not being matched with events on Tue, 11 Mar 2008 14:59:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">From the description looks like you have correctly configured everything. Could you please post screenshots of your trap configuration and actual traps from trap log (you can wipe out IP addresses if needed - I don't think they are important in this case)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1208</link><guid isPermaLink="true">https://forum.netxms.org/post/1208</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 11 Mar 2008 14:59:18 GMT</pubDate></item></channel></rss>