<?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[create event policy for certain network interface]]></title><description><![CDATA[<p dir="auto">hi, i have installed netxm and i have added some cisco 3750 switchs. On interface down policy i have configured an email alarm.</p>
<p dir="auto">The problem is that now i receive a lot of email when users shutdown their pc. Can i create (and how) a policy to monitor only some ports?</p>
<p dir="auto">thanks</p>
<p dir="auto">Andrea</p>
]]></description><link>https://forum.netxms.org/topic/5261/create-event-policy-for-certain-network-interface</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:11:45 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5261.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Sep 2017 14:04:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to create event policy for certain network interface on Tue, 10 Oct 2017 13:05:51 GMT]]></title><description><![CDATA[<p dir="auto">thank you, works fine</p>
]]></description><link>https://forum.netxms.org/post/23170</link><guid isPermaLink="true">https://forum.netxms.org/post/23170</guid><dc:creator><![CDATA[it_user1]]></dc:creator><pubDate>Tue, 10 Oct 2017 13:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to create event policy for certain network interface on Fri, 06 Oct 2017 07:10:06 GMT]]></title><description><![CDATA[<p dir="auto">thank you for reply, i will try</p>
<p dir="auto">regards</p>
<p dir="auto">Andrea</p>
]]></description><link>https://forum.netxms.org/post/23163</link><guid isPermaLink="true">https://forum.netxms.org/post/23163</guid><dc:creator><![CDATA[it_user1]]></dc:creator><pubDate>Fri, 06 Oct 2017 07:10:06 GMT</pubDate></item><item><title><![CDATA[Reply to create event policy for certain network interface on Wed, 04 Oct 2017 20:33:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can use filtering script. If you are handling SYS_IF_DOWN event then parameters of the event will be following:</p>
<ol>
<li>Interface object ID</li>
<li>Interface name</li>
<li>Interface IP address</li>
<li>Interface netmask</li>
<li>Interface index</li>
</ol>
<p dir="auto">They are accessible within script via $event-&gt;parameters[n]. For example, to process only events for interfaces Ge0/0 and Ge0/2:</p>
<pre><code>ifName = $event-&gt;parameters[2];
return (ifName == "Ge0/0") || (ifName == "Ge0/2");
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/23145</link><guid isPermaLink="true">https://forum.netxms.org/post/23145</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 04 Oct 2017 20:33:53 GMT</pubDate></item></channel></rss>