<?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[SLACK driver, use text formatting?]]></title><description><![CDATA[<p dir="auto">We've been using the SLACK notification driver for a while to send basic text, with the most advanced formatting to date being simple bold highling of certain text elements. This is done by just putting * around text i.e.<br />
*this part is bold* this part is not</p>
<p dir="auto">But I want to actually post with different colours, perhaps even with fancy attachments, but for now I just want to stick with colors</p>
<p dir="auto">Is it possible with the included SLACK driver?<br />
I've tried simply parsing this as text<br />
{"attachments": [{"color": "#ad03fc","text": "Optional text that appears within the attachment"}]}<br />
which pasting it in here shows is valid syntax <a href="https://api.slack.com/docs/messages/builder" rel="nofollow ugc">https://api.slack.com/docs/messages/builder</a><br />
but I just get the literal text in the SLACK channel. I don't know how the included driver actually works to perhaps further modify the syntax so it works</p>
<p dir="auto">Any help?</p>
<p dir="auto">Alternatively can NetXMS do a HTTP Put? because if so I know how to make that work, we already do fancy formatting with Solarwinds that way</p>
]]></description><link>https://forum.netxms.org/topic/6552/slack-driver-use-text-formatting</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:22:32 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6552.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 May 2020 04:33:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SLACK driver, use text formatting? on Tue, 02 Jun 2020 10:18:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for sharing</p>
]]></description><link>https://forum.netxms.org/post/27991</link><guid isPermaLink="true">https://forum.netxms.org/post/27991</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 02 Jun 2020 10:18:47 GMT</pubDate></item><item><title><![CDATA[Reply to SLACK driver, use text formatting? on Tue, 02 Jun 2020 02:12:25 GMT]]></title><description><![CDATA[<p dir="auto">I know nothing about curl or executing commands from NetXMS. So is this the correct syntax to put into the 'command' box?</p>
<pre><code class="language-curl">
Was close. This is the correct syntax

curl -d 'payload={"attachments": [{"color": "#36a64f","text": "Text example from node %n message is %m %M"}]}' -X PUT https://{SLACK WEBHOOK URL}</code></pre>
]]></description><link>https://forum.netxms.org/post/27988</link><guid isPermaLink="true">https://forum.netxms.org/post/27988</guid><dc:creator><![CDATA[Millenium7]]></dc:creator><pubDate>Tue, 02 Jun 2020 02:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to SLACK driver, use text formatting? on Mon, 01 Jun 2020 05:59:58 GMT]]></title><description><![CDATA[<p dir="auto">You can create action that "executes command on the management server" and call curl in that action.</p>
]]></description><link>https://forum.netxms.org/post/27984</link><guid isPermaLink="true">https://forum.netxms.org/post/27984</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 01 Jun 2020 05:59:58 GMT</pubDate></item><item><title><![CDATA[Reply to SLACK driver, use text formatting? on Mon, 01 Jun 2020 05:34:33 GMT]]></title><description><![CDATA[<p dir="auto">Ok so the SLACK driver is not going to be able to support fancy formatting beyond anything that can be expressed in regular text, i.e. bolding</p>
<p dir="auto">However can NetXMS do a HTTP PUT? As that would allow me to post whatever I want. As mentioned before this is how we get fancy formatting from Solarwinds NCM as it pushes to slack via a HTTP PUT operation</p>
]]></description><link>https://forum.netxms.org/post/27983</link><guid isPermaLink="true">https://forum.netxms.org/post/27983</guid><dc:creator><![CDATA[Millenium7]]></dc:creator><pubDate>Mon, 01 Jun 2020 05:34:33 GMT</pubDate></item><item><title><![CDATA[Reply to SLACK driver, use text formatting? on Fri, 29 May 2020 15:09:50 GMT]]></title><description><![CDATA[<p dir="auto">In current implementation of slack driver it creates a simple json like this:</p>
<pre><code>{"channel":"C061EG9SL","text":"mesage_text"}
</code></pre>
<p dir="auto">so anything you write just goes into "text" field. An ability to generate custom jsons would require to make quite some changes in slack notification channel code.</p>
]]></description><link>https://forum.netxms.org/post/27982</link><guid isPermaLink="true">https://forum.netxms.org/post/27982</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 29 May 2020 15:09:50 GMT</pubDate></item></channel></rss>