<?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[Triggerhappy "Node Down" alarm]]></title><description><![CDATA[<p dir="auto">Have been running netxms 1.2.9 stable for a long time now, but feel the urge to upgrade and get new functions.</p>
<p dir="auto">From 1.2.15 we have been running test servers, but keep getting the same problem with "Node Down" alarm even if the node is not having problem.</p>
<p dir="auto">Production server have not this problem.<br />
Production and test server are on same VMWare<br />
Test server is a copy of production and then upgraded.</p>
<p dir="auto">Removed all custom templates, only using ICMP ping and still problem both with agent and non-agent nodes.<br />
If i decrease the amount of nodes, problem goes away.</p>
<p dir="auto">Do other have the same problem?<br />
What could i do to debug?</p>
]]></description><link>https://forum.netxms.org/topic/3459/triggerhappy-node-down-alarm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:58:54 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3459.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Nov 2014 08:48:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Triggerhappy "Node Down" alarm on Fri, 28 Nov 2014 15:33:20 GMT]]></title><description><![CDATA[<p dir="auto">Tried a dirty patch to icmp.cpp, which improved the situation a lot. Idea is to do a random delay before pinging, otherwise a lot of pings will be fired almost simultaneously.</p>
<pre><code>--- icmp.cpp_bak        2014-11-28 09:23:44.559231668 +0100
+++ icmp.cpp    2014-11-28 09:28:48.212833890 +0100
@@ -227,8 +227,15 @@

    // Do ping
    nBytes = dwPacketSize - sizeof(IPHDR);
+   UINT32 seed = time(0) * dwAddr; // attempt to create different seeds for each call to each node
+   int iNumRetriesOrig = iNumRetries;
    while(iNumRetries--)
-   {
+   {  // random delay before start pinging
+      int min = 500 * (iNumRetriesOrig - iNumRetries+1); // min = 0 in first run, then wait longer and longer
+      int max = 1000 + min;  // increased random window between retries
+      int delay = min + (rand_r(&amp;seed) % (int)(max - min + 1));
+      ThreadSleepMs(delay);
+
       dwRTT = 0;  // Round-trip time for current request
       request.m_icmpHdr.m_wId = ICMP_REQUEST_ID;
       request.m_icmpHdr.m_wSeq++;
@@ -364,7 +371,7 @@
 #endif
       }

-      ThreadSleepMs(500);     // Wait half a second before sending next packet
+      // ThreadSleepMs(500);     // Wait half a second before sending next packet // We do random delay in beginning of loop instead
    }

 stop_ping:
</code></pre>
<p dir="auto">This feels like a workaround rather than a fix to the original problem, but it can at least help in pinpointing the problem. Looks like it is something outside NetXMS boundaries that doesn't keep up, like linux kernel, wmware hosts, network switches...</p>
<p dir="auto">Worth to note that this installation contains a lot of nodes with neither netxms or snmp agents, guess this will cause a lot more icmp pinging during status polls than in installations with mostly agent-running nodes?</p>
]]></description><link>https://forum.netxms.org/post/15431</link><guid isPermaLink="true">https://forum.netxms.org/post/15431</guid><dc:creator><![CDATA[KjellO]]></dc:creator><pubDate>Fri, 28 Nov 2014 15:33:20 GMT</pubDate></item><item><title><![CDATA[Reply to Triggerhappy "Node Down" alarm on Wed, 19 Nov 2014 13:46:06 GMT]]></title><description><![CDATA[<p dir="auto">This is what shows up when a node is detected down but are pingable</p>
<p dir="auto">If you want more of the log i can mail you.</p>
<pre><code>[19-Nov-2014 14:40:22.297] [DEBUG] Node 3404 "NODE-001-UNIT" queued for status poll
[19-Nov-2014 14:40:22.298] [DEBUG] Starting status poll for node NODE-001-UNIT (ID: 3404)
[19-Nov-2014 14:40:32.802] [DEBUG] StatusPoll(NODE-001-UNIT): bAllDown=true, dynFlags=0x00001001
[19-Nov-2014 14:40:32.802] [DEBUG] Node::checkNetworkPath(NODE-001-UNIT [3404]): cannot find interface object for primary IP
[19-Nov-2014 14:40:32.802] [DEBUG] Node::checkNetworkPath(NODE-001-UNIT [3404]): trace available, 0 hops, incomplete
[19-Nov-2014 14:40:32.802] [DEBUG] Node::checkNetworkPath(NODE-001-UNIT [3404]): will do second pass
[19-Nov-2014 14:40:32.802] [DEBUG] Finished status poll for node NODE-001-UNIT (ID: 3404)
[19-Nov-2014 14:40:32.803] [DEBUG] CorrelateEvent: event SYS_NODE_DOWN id 3267062 source NODE-001-UNIT [3404]
[19-Nov-2014 14:40:32.803] [DEBUG] EVENT 28 (ID:3267062 F:0x0001 S:4 TAG:"") FROM NODE-001-UNIT: RSE081: Node down
[19-Nov-2014 14:40:32.803] [DEBUG] CorrelateEvent: event SYS_IF_DOWN id 3267061 source NODE-001-UNIT [3404]
[19-Nov-2014 14:40:32.804] [DEBUG] EVENT 5 (ID:3267061 F:0x0001 S:2 TAG:"" CORRELATED) FROM NODE-001-UNIT: Interface "unknown" changed state to DOWN (IP Addr: 10.120.29.84/255.255.255.192, IfIndex: 1)
[19-Nov-2014 14:40:32.804] [DEBUG] CorrelateEvent: event SYS_NODE_CRITICAL id 3267063 source NODE-001-UNIT [3404]
[19-Nov-2014 14:40:32.804] [DEBUG] EVENT 10 (ID:3267063 F:0x0001 S:4 TAG:"") FROM NODE-001-UNIT: Node status changed to CRITICAL
</code></pre>
]]></description><link>https://forum.netxms.org/post/15379</link><guid isPermaLink="true">https://forum.netxms.org/post/15379</guid><dc:creator><![CDATA[Borgso]]></dc:creator><pubDate>Wed, 19 Nov 2014 13:46:06 GMT</pubDate></item><item><title><![CDATA[Reply to Triggerhappy "Node Down" alarm on Tue, 18 Nov 2014 22:05:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">could you please run server with debug 6 for some time and then send me the log (pointing to fake node down moments)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15363</link><guid isPermaLink="true">https://forum.netxms.org/post/15363</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 18 Nov 2014 22:05:06 GMT</pubDate></item><item><title><![CDATA[Reply to Triggerhappy "Node Down" alarm on Tue, 18 Nov 2014 17:50:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/borgso" aria-label="Profile: borgso">@<bdi>borgso</bdi></a> said in <a href="/post/15300">Triggerhappy "Node Down" alarm</a>:</p>
<blockquote>
<p dir="auto">Anyone having same problem?</p>
</blockquote>
<p dir="auto">Yep. Its quite random. Seems like if it misses 1 ping, it calls it down.</p>
]]></description><link>https://forum.netxms.org/post/15345</link><guid isPermaLink="true">https://forum.netxms.org/post/15345</guid><dc:creator><![CDATA[trinidadrancheria]]></dc:creator><pubDate>Tue, 18 Nov 2014 17:50:54 GMT</pubDate></item><item><title><![CDATA[Reply to Triggerhappy "Node Down" alarm on Tue, 11 Nov 2014 13:35:27 GMT]]></title><description><![CDATA[<p dir="auto">Anyone having same problem?</p>
]]></description><link>https://forum.netxms.org/post/15300</link><guid isPermaLink="true">https://forum.netxms.org/post/15300</guid><dc:creator><![CDATA[Borgso]]></dc:creator><pubDate>Tue, 11 Nov 2014 13:35:27 GMT</pubDate></item></channel></rss>