<?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[Scripting to create Events and SNMP Traps]]></title><description><![CDATA[<p dir="auto">I was hoping to write a script to create new SNMP Traps and corresponding events but the Scripting Guide on the wiki is a little light on details. Is this possible? Are there any scripts out there I can work from or some more documentation?</p>
]]></description><link>https://forum.netxms.org/topic/4236/scripting-to-create-events-and-snmp-traps</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 19:33:55 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4236.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Jan 2016 07:57:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scripting to create Events and SNMP Traps on Sat, 27 Aug 2016 06:59:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">looks like you need nxshell - it's Python scripts with API access. Basic description is here: <a href="https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations" rel="nofollow ugc">https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations</a>. You will also need Java API documentation: <a href="https://www.netxms.org/documentation/javadoc/latest/" rel="nofollow ugc">https://www.netxms.org/documentation/javadoc/latest/</a>. Look for createSnmpTrapConfiguration and related methods in NXCSession class.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/20799</link><guid isPermaLink="true">https://forum.netxms.org/post/20799</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 27 Aug 2016 06:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to Scripting to create Events and SNMP Traps on Fri, 26 Aug 2016 17:22:55 GMT]]></title><description><![CDATA[<p dir="auto">I would like to use a script because doing it manually will take a long time for a large number of events.</p>
]]></description><link>https://forum.netxms.org/post/20797</link><guid isPermaLink="true">https://forum.netxms.org/post/20797</guid><dc:creator><![CDATA[Staj]]></dc:creator><pubDate>Fri, 26 Aug 2016 17:22:55 GMT</pubDate></item><item><title><![CDATA[Reply to Scripting to create Events and SNMP Traps on Tue, 19 Jan 2016 10:35:52 GMT]]></title><description><![CDATA[<p dir="auto">You dont write script to work with SNMP Traps.</p>
<p dir="auto">Go to Configuration &gt; SNMP Trap Configuration.<br />
Here you can create trap mappings and specify OIDs of parameters that the trap contains.</p>
<p dir="auto">Events you can configure in Configuration &gt; Event Configuraration.<br />
Here you just create an event and how many parameters it has (which it will receive when the trap generates the event).</p>
<p dir="auto">In EPP, you can then do things based on that event (create Alarm, send email, etc.).<br />
This is in Configuration &gt; Event Processing Policy. You can find many examples already there and base your EPPs on those.</p>
<p dir="auto">If you have any specific questions, feel free to ask <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>
]]></description><link>https://forum.netxms.org/post/18892</link><guid isPermaLink="true">https://forum.netxms.org/post/18892</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Tue, 19 Jan 2016 10:35:52 GMT</pubDate></item></channel></rss>