<?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[Node down and situation setup]]></title><description><![CDATA[<p dir="auto">I'm trying to get NetXMS to email me when a PRIMARY interface NODE is down and not the SECONDARY interface NODE. I created a node called NIC01 and a node called NIC02. The secondary NIC02 will not work if the primary NIC01 is down. I want NIC02 to report only if NIC01 is still up.</p>
<p dir="auto">I used the following link and other posts and could not get it figured out. <a href="https://www.netxms.org/forum/configuration/node-down-config-question/" rel="nofollow ugc">https://www.netxms.org/forum/configuration/node-down-config-question/</a></p>
<p dir="auto">Below is what i have now:</p>
<ol>
<li>
<p dir="auto">Open Situations and Create situation called "NodeDown"</p>
</li>
<li>
<p dir="auto">Using the SYS_NODE_DOWN event in Event Configuration</p>
</li>
<li>
<p dir="auto">Open Event Processing Policy</p>
</li>
<li>
<p dir="auto">Created  Event Processing Policy</p>
</li>
</ol>
<ul>
<li>Event: SYS_NODE_DOWN</li>
<li>Situtation object: NodeDown</li>
<li>Instance: %n</li>
<li>Attribute: NAME: status  VALUE: 1</li>
</ul>
<ol start="5">
<li>Created  Event Processing Policy</li>
</ol>
<ul>
<li>Event: SYS_NODE_DOWN</li>
<li>Filtering Script: SEE BELOW</li>
</ul>
<p dir="auto">sub main()<br />
{<br />
   s1 = FindSituation("NodeDown", "NIC01");<br />
   isDownA = (s1 != null) ? s1-&gt;status : 0;<br />
   s2 = FindSituation("NodeDown", "NIC02");<br />
   isDownB = (s2 != null) ? s2-&gt;status : 0;<br />
   return s1 &amp;&amp; s2;<br />
}</p>
<p dir="auto">What am I missing? Do i need that 2nd Policy at step 5? or do I add the script on the first policy, where i defined the situation.</p>
<p dir="auto">Any help on this would be great. I love NetXMS and I have been tasked with figuring this out. Figuring this part out would be a great achievement for me.</p>
<p dir="auto">Thanks for any help on this<br />
Cheers!</p>
]]></description><link>https://forum.netxms.org/topic/3640/node-down-and-situation-setup</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:18:46 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3640.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Mar 2015 01:16:49 GMT</pubDate><ttl>60</ttl></channel></rss>