<?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[Mute emails during scheduled down time]]></title><description><![CDATA[<p dir="auto">I'm looking for a good way to mute email notifications and still perform actions on the server.</p>
<p dir="auto">Here is the situation: I have a large group of Windows servers that perform very similar functions. After a reboot, there are two of the same services on each server that do not start. I have an action in NetXMS that will start the service when it is down and that works. When I do monthly down time on the servers, I put them into maintenance mode, but then of course, the service restart actions do not process. I only put the servers into maintenance mode to mute the notifications, meaning, I don't care if there are alarms generated during the downtime as long as I don't receive email alerts.</p>
<ol>
<li>I could just change the configuration to an invalid STMPServer. But I will lose alerts on servers not in maintenance</li>
<li>Create two Event Processing Policies for each service, one that starts the service and another that sends the email. Group the start and email policies together with a stop processing event in the middle of them</li>
<li>Get clever with scripting</li>
<li>???</li>
</ol>
<p dir="auto">Thank you for any suggestions/assistance.</p>
]]></description><link>https://forum.netxms.org/topic/5087/mute-emails-during-scheduled-down-time</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:39:04 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5087.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 May 2017 18:45:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mute emails during scheduled down time on Mon, 19 Jun 2017 18:04:04 GMT]]></title><description><![CDATA[<p dir="auto">I was up against my upcoming maintenance window and decided to put in something quick and dirty based on your suggestion.</p>
<p dir="auto">I separated the email and agent action Event Processing Policies<br />
I added an unmanaged node, "Patch".<br />
Set a custom attribute on the "Patch" node, "PatchTime".<br />
If I set "PatchTime" on node "Patch" to something other than 0, that means I am in maintenance mode and do not want to see email alerts<br />
In the email event processing policies I added this to the Filtering Script:</p>
<pre><code>$patch = FindNodeObject($node, "Patch");
$patchtime = GetCustomAttribute($patch, "PatchTime");
if ($patchtime == 0) return true;
else
return false;
</code></pre>
<p dir="auto">I can manually change the value easy enough and this meets my needs on a basic level. However, I am planning on taking this further and walking from the topmost parent down to the node with a similar (or same) custom attribute setup. That way I can be granular with my "maintenance light" mode. Open to any further suggestions for improvements/functionality.</p>
]]></description><link>https://forum.netxms.org/post/22503</link><guid isPermaLink="true">https://forum.netxms.org/post/22503</guid><dc:creator><![CDATA[gdodd]]></dc:creator><pubDate>Mon, 19 Jun 2017 18:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to Mute emails during scheduled down time on Wed, 31 May 2017 22:10:57 GMT]]></title><description><![CDATA[<p dir="auto">Haven't tried this (and our server is currently rather unstable, so can't test it), so I could be completely wrong.</p>
<p dir="auto">Would it be possible to create an object tool that sets a custom attribute on a node, similar to enabling maintenance mode?<br />
The event processing policy for notifications then filters based on that attribute.<br />
You would still need to split the email notification from the rest in your event processing policies.</p>
<p dir="auto">Kind of a "maintenance light"?</p>
<p dir="auto">I'd actually love to test this, if I could.  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--confused" style="height:1.4em;width:auto;vertical-align:middle" title=":-\" alt="😕" /></p>
]]></description><link>https://forum.netxms.org/post/22444</link><guid isPermaLink="true">https://forum.netxms.org/post/22444</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Wed, 31 May 2017 22:10:57 GMT</pubDate></item></channel></rss>