<?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[Automatic Groups of Servers]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">How would I automatically create groups/views of servers/nodes?  For example: a view where I can see all the servers that are in maintenance mode.</p>
<p dir="auto">I'm guessing it may have something to do with the auto apply rules, but I'm not 100% sure. </p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.netxms.org/topic/4734/automatic-groups-of-servers</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:35:12 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4734.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Sep 2016 21:45:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Automatic Groups of Servers on Wed, 12 Oct 2016 21:50:18 GMT]]></title><description><![CDATA[<p dir="auto">Yes, just adding that as an auto apply rule to a container would work.<br />
As I said though, this will only update on configuration polls - there could be hours between them.</p>
<p dir="auto">And yes, nodes can be in multiple containers.</p>
]]></description><link>https://forum.netxms.org/post/21128</link><guid isPermaLink="true">https://forum.netxms.org/post/21128</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Wed, 12 Oct 2016 21:50:18 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic Groups of Servers on Tue, 11 Oct 2016 17:47:16 GMT]]></title><description><![CDATA[<p dir="auto">Maybe this could be added then?  And thanks for the info on the node status.  I would just put that as an auto apply rule to the container, right?</p>
<p dir="auto">Also, just to make sure, nodes can be in multiple folders at once, right?</p>
]]></description><link>https://forum.netxms.org/post/21119</link><guid isPermaLink="true">https://forum.netxms.org/post/21119</guid><dc:creator><![CDATA[MatthewDreher]]></dc:creator><pubDate>Tue, 11 Oct 2016 17:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic Groups of Servers on Mon, 03 Oct 2016 21:53:21 GMT]]></title><description><![CDATA[<p dir="auto">For systems with a certain status the following should work:</p>
<pre><code>if ( $node-&gt;status == 4 ) return true;
return false;
</code></pre>
<p dir="auto">See <a href="https://wiki.netxms.org/wiki/NXSL:NetObj" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:NetObj</a> for possible status values (the above is for "Critical").<br />
I couldn't actually see any way to get the actual Maintenance status, yet for all I recall NXSL does allow you to set/unset maintenance status on a node, so I would expect there to be a way to query the current status. However, the above $node-&gt;status does not give you that, e.g. it returned "Normal" on a node that was in Normal state when I put it into maintenance mode.</p>
<p dir="auto">Also keep in mind that this won't exactly give you a live view either. These rules are only applied when a configuration poll runs against a system, so there could be quite a delay.</p>
<p dir="auto">For that, maybe a Dashboard with a Status Map would be more suitable. You can select which severity you want to see. Grouping is available per container, but if you have lots of Critical systems. I am not sure about the refresh here - I can't configure it. But it seems to "flicker" all the time, so that seems more live?<br />
That map doesn't have an option for "Maintenance" though.</p>
]]></description><link>https://forum.netxms.org/post/21070</link><guid isPermaLink="true">https://forum.netxms.org/post/21070</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 03 Oct 2016 21:53:21 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic Groups of Servers on Mon, 03 Oct 2016 17:36:09 GMT]]></title><description><![CDATA[<p dir="auto">Any ideas how I would do that for servers in maintenance mode, and servers with a "problem" of some sort?</p>
]]></description><link>https://forum.netxms.org/post/21068</link><guid isPermaLink="true">https://forum.netxms.org/post/21068</guid><dc:creator><![CDATA[MatthewDreher]]></dc:creator><pubDate>Mon, 03 Oct 2016 17:36:09 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic Groups of Servers on Mon, 03 Oct 2016 01:23:31 GMT]]></title><description><![CDATA[<p dir="auto">As you suggested, I'd create Containers and use auto-apply rules/scripts on those.<br />
I've done similar things to group some systems at our end, not for maintenance though.</p>
]]></description><link>https://forum.netxms.org/post/21059</link><guid isPermaLink="true">https://forum.netxms.org/post/21059</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 03 Oct 2016 01:23:31 GMT</pubDate></item></channel></rss>