<?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[skip modem from monitoring]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am using NetXMS for 2 weeks now and my compliments. Works better and faster than expected with low workload. Good job. 1 thing I miss is a good manual. I made some event policies which works, but 1 thing is driving me crazy.<br />
What I want to achieve is the following:<br />
On a couple of servers I have a tool which creates a virtual modem, so I can use 1 modem over multiple servers.<br />
With scripting I can turn the modem on and off and connect to remote modems...<br />
When I do this I get e-mail that interface blablabla is up..when connection is finished I get mail from the server that the modem is down.<br />
I don't want these e-mails if modem is up or down...<br />
What I tried was. in the event processing policy editor -&gt; rule 1 -&gt; source (subnet modem and server where virtual modem is installed)<br />
event -&gt; any, serverty -&gt; any, script -&gt; EVENT_TEXT = Interface "{5757FA85-B187-42A4-981C-7443B4ECFC90}" alarm none, email none.<br />
I thought when I make above rule as rule 1 that I wouldnt get emails, but I still get e-mail when modem gets turned on...<br />
Any advice or better (the solution) how to keep the virtual modem out of polling?<br />
modem interface "{5757FA85-B187-42A4-981C-7443B4ECFC90}" IP 192.168.1.2/24 &lt;- always the same...</p>
<p dir="auto">Hope to hear from you soon... ??? ???</p>
]]></description><link>https://forum.netxms.org/topic/858/skip-modem-from-monitoring</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:40:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/858.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Mar 2010 14:32:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to skip modem from monitoring on Thu, 04 Mar 2010 09:45:12 GMT]]></title><description><![CDATA[<p dir="auto"> ;D<br />
Your advise worked like a charm...<br />
I only narrowed it down to the virtual servers where I have virtual modems (just in case..)</p>
<p dir="auto">I see now what you mean with the event...This will be no issue anymore, thx...</p>
<p dir="auto">And now two thumbs up for everyone who reads this forum:<br />
Monitoring 40 locations in the south of the Netherlands throu snmp, netxmsagent and internal, with absolutly no problems running on Hyper-V Windows 2008.<br />
Best and easiest monitoring system I ever used...very scalable...Keep up the good work!<br />
great, fast and perfect reply on questions in the forum, support pokes out the eyes from commercial apps...</p>
<p dir="auto">Thx</p>
]]></description><link>https://forum.netxms.org/post/4023</link><guid isPermaLink="true">https://forum.netxms.org/post/4023</guid><dc:creator><![CDATA[iwi]]></dc:creator><pubDate>Thu, 04 Mar 2010 09:45:12 GMT</pubDate></item><item><title><![CDATA[Reply to skip modem from monitoring on Wed, 03 Mar 2010 09:55:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwi" aria-label="Profile: iwi">@<bdi>iwi</bdi></a> said in <a href="/post/4018">skip modem from monitoring</a>:</p>
<blockquote>
<p dir="auto">I thought I read the manual, but I only see %1-%99 events parameter numbers 1..99, but how can I determin what which number does? Is this the ID from Event Editor?</p>
</blockquote>
<p dir="auto">Numbered parameters are event-dependent, you can open Control Panel -&gt; Events, open event of interest, and look at the description - for all predefined events there are list of parameters.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4019</link><guid isPermaLink="true">https://forum.netxms.org/post/4019</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 03 Mar 2010 09:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to skip modem from monitoring on Wed, 03 Mar 2010 09:43:02 GMT]]></title><description><![CDATA[<p dir="auto">Victor,</p>
<blockquote>
<p dir="auto">If you need to compare two values in NXSL, you should use == operator. Operator = is an assignment</p>
</blockquote>
<p dir="auto">Doh, I feel stupid...this is like all script languages...</p>
<blockquote>
<p dir="auto">any event passes all rules, except if matching rule contains "stop processing" option</p>
</blockquote>
<p dir="auto">Didn't know this, but I should...like firewall rules...</p>
<blockquote>
<p dir="auto">interface name always passed as parameter number 2</p>
</blockquote>
<p dir="auto">I thought I read the manual, but I only see %1-%99 events parameter numbers 1..99, but how can I determin what which number does? Is this the ID from Event Editor?</p>
<p dir="auto">I have changed the rule to what u suggested...I will post tomorrow the results...</p>
<p dir="auto">Thank you and keep up the superb work.</p>
]]></description><link>https://forum.netxms.org/post/4018</link><guid isPermaLink="true">https://forum.netxms.org/post/4018</guid><dc:creator><![CDATA[iwi]]></dc:creator><pubDate>Wed, 03 Mar 2010 09:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to skip modem from monitoring on Tue, 02 Mar 2010 17:26:01 GMT]]></title><description><![CDATA[<p dir="auto">If you need to compare two values in NXSL, you should use == operator. Operator = is an assignment. So, if your script really uses = instead of ==, it's one mistake. Also, don't forget that any event passes <strong>all</strong> rules, except if matching rule contains "stop processing" option. You have to add it to your rule. Also, interface name always passed as parameter number 2 with SYS_IF_DOWN and SYS_IF_UP events, so you can compare just it's value to {5757FA85-B187-42A4-981C-7443B4ECFC90} instead of comparing full message text. So, I suggest the following rule:</p>
<p dir="auto">event:<br />
SYS_IF_DOWN<br />
SYS_IF_UP</p>
<p dir="auto">source:<br />
any</p>
<p dir="auto">severity:<br />
any</p>
<p dir="auto">script:<br />
$2 == "{5757FA85-B187-42A4-981C-7443B4ECFC90}"</p>
<p dir="auto">alarm:<br />
none</p>
<p dir="auto">actions:<br />
none</p>
<p dir="auto">options:<br />
stop processing</p>
<p dir="auto">Should work <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">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4011</link><guid isPermaLink="true">https://forum.netxms.org/post/4011</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 02 Mar 2010 17:26:01 GMT</pubDate></item></channel></rss>