<?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 Intergration]]></title><description><![CDATA[<p dir="auto">Приветствую. Проблема с настройкой Slack-интеграции.</p>
<p dir="auto">В настройках самого Slack-а выбираю "Incoming WebHook". Завожу имя отправителя и задаю канал. Далее получаю ссылку с токеномю</p>
<p dir="auto">SMSDriver: /usr/local/lib/libnxsms_slack.so<br />
SMSDrvConfig: url=ссылка_с_токеном</p>
<p dir="auto">Создаю действие:<br />
Отправить сообщение (SMS) на мобильный телефон.<br />
В качестве номера указываю название канала, куда необходимо посылать сообщения.<br />
В качестве текста указываю необходимый текст.</p>
<p dir="auto">При выполнении данного действия в дебаге получаю ошибку:</p>
<pre><code>[20-Oct-2015 12:33:40.752] [DEBUG] Slack: call to curl_easy_perform() failed
[20-Oct-2015 12:33:40.752] [DEBUG] Slack: channel="КАНАЛ", text="20-Oct-2015 12:33:40 Node Threshold rearmed for Max_Files Procent Usage (Parameter: .1.3.6.1.4.1.8072.1.3.2.4.1.2.7.112.114.111.99.101."
</code></pre>
<p dir="auto">Подскажите пожалуйста, что я делаю не так?</p>
<p dir="auto">Спасибо заранее.</p>
]]></description><link>https://forum.netxms.org/topic/4051/slack-intergration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:37:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4051.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Oct 2015 12:43:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Slack Intergration on Wed, 21 Oct 2015 11:39:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alk" aria-label="Profile: alk">@<bdi>alk</bdi></a> said in <a href="/post/18071">Slack Intergration</a>:</p>
<blockquote>
<p dir="auto">Нашел проблему – была только в сборке без unicode.<br />
Фикс: <a href="http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8" rel="nofollow ugc">http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8</a></p>
</blockquote>
<p dir="auto">Отлично! Патч установил, все работает. Спасибо большое!  ;D</p>
]]></description><link>https://forum.netxms.org/post/18076</link><guid isPermaLink="true">https://forum.netxms.org/post/18076</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Wed, 21 Oct 2015 11:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Wed, 21 Oct 2015 10:24:15 GMT]]></title><description><![CDATA[<p dir="auto">Нашел проблему – была только в сборке без unicode.<br />
Фикс: <a href="http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8" rel="nofollow ugc">http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8</a></p>
]]></description><link>https://forum.netxms.org/post/18071</link><guid isPermaLink="true">https://forum.netxms.org/post/18071</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 21 Oct 2015 10:24:15 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Wed, 21 Oct 2015 08:55:22 GMT]]></title><description><![CDATA[<p dir="auto">Я же показал вывод дебага выше, что посылается.</p>
<pre><code>[20-Oct-2015 15:00:00.272] [DEBUG] *actions* Executing action 28 (Threshold Rearmed) of type SEND SMS
[20-Oct-2015 15:00:00.273] [DEBUG] Slack: channel="#general", text="Threshold for (NODE) 'Max_Files Procent of Usage' rearmed."
</code></pre>
<p dir="auto">Вот настройки action-а на картинке.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000002560-2015-10-21_11-54-29.606.jpg" alt="Сохраненное изображение 2015-10-21_11-54-29.606.jpg" class="img-markdown  img-fluid" width="462" height="696" /></p>
]]></description><link>https://forum.netxms.org/post/18068</link><guid isPermaLink="true">https://forum.netxms.org/post/18068</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Wed, 21 Oct 2015 08:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Wed, 21 Oct 2015 01:24:29 GMT]]></title><description><![CDATA[<p dir="auto">В message text случаем не прописан канал вместо текста сообщения?<br />
Я просмотрел код и проверил на нашем сервере, название канала не должно дублироваться.</p>
]]></description><link>https://forum.netxms.org/post/18061</link><guid isPermaLink="true">https://forum.netxms.org/post/18061</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 21 Oct 2015 01:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 16:22:33 GMT]]></title><description><![CDATA[<p dir="auto">Вывод тот, о котором я писал ранее:</p>
<pre><code>[root@monitor-2 ~]# nc -l 12345
POST / HTTP/1.1
Host: localhost:12345
Accept: */*
Content-Length: 51
Content-Type: application/x-www-form-urlencoded

payload={"channel": "#general", "text": "#general"}
</code></pre>
]]></description><link>https://forum.netxms.org/post/18054</link><guid isPermaLink="true">https://forum.netxms.org/post/18054</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Tue, 20 Oct 2015 16:22:33 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 16:09:23 GMT]]></title><description><![CDATA[<p dir="auto">В коде нет дебага для самого сообщения, к сожалению.<br />
Сделайте пожалуйста так:</p>
<p dir="auto">запустите netcat: nc -l 12345<br />
потом  попробуйте что-то отослать с такой конфигурацией:</p>
<p dir="auto">SMSDrvConfig: url=<a href="http://localhost:12345/" rel="nofollow ugc">http://localhost:12345/</a></p>
<p dir="auto">в netcat должен быть виден полный запрос.</p>
]]></description><link>https://forum.netxms.org/post/18053</link><guid isPermaLink="true">https://forum.netxms.org/post/18053</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 20 Oct 2015 16:09:23 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 15:27:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alk" aria-label="Profile: alk">@<bdi>alk</bdi></a> said in <a href="/post/18051">Slack Intergration</a>:</p>
<blockquote>
<p dir="auto">Глупый вопрос – текст на русском?</p>
</blockquote>
<p dir="auto">Разумеется нет.</p>
<pre><code>[20-Oct-2015 15:00:00.272] [DEBUG] *actions* Executing action 28 (Threshold Rearmed) of type SEND SMS
[20-Oct-2015 15:00:00.273] [DEBUG] Slack: channel="#general", text="Threshold for (NODE) 'Max_Files Procent of Usage' rearmed."
</code></pre>
]]></description><link>https://forum.netxms.org/post/18052</link><guid isPermaLink="true">https://forum.netxms.org/post/18052</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Tue, 20 Oct 2015 15:27:26 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 15:21:38 GMT]]></title><description><![CDATA[<p dir="auto">Глупый вопрос – текст на русском?</p>
]]></description><link>https://forum.netxms.org/post/18051</link><guid isPermaLink="true">https://forum.netxms.org/post/18051</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 20 Oct 2015 15:21:38 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 14:40:42 GMT]]></title><description><![CDATA[<p dir="auto">О! Сообщение сейчас пришло в #general. Но, оно как бы пустое. Точнее содержит название канала.<br />
Пример:</p>
<pre><code>NetXMSBOT [5:39 PM]
#general
</code></pre>
]]></description><link>https://forum.netxms.org/post/18050</link><guid isPermaLink="true">https://forum.netxms.org/post/18050</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Tue, 20 Oct 2015 14:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 14:17:56 GMT]]></title><description><![CDATA[<p dir="auto">test – послать в private group<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/test" aria-label="Profile: test">@<bdi>test</bdi></a> – послать юзеру<br />
#test – послать в канал</p>
]]></description><link>https://forum.netxms.org/post/18049</link><guid isPermaLink="true">https://forum.netxms.org/post/18049</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 20 Oct 2015 14:17:56 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 14:13:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alk" aria-label="Profile: alk">@<bdi>alk</bdi></a> said in <a href="/post/18047">Slack Intergration</a>:</p>
<blockquote>
<p dir="auto">Да, так и должно быть.<br />
Канал можно не указывать, тогда уйдет в тот, который был в настройках хука.<br />
Имя канала указываете с "#"?</p>
</blockquote>
<p dir="auto">Нет, без "#".</p>
]]></description><link>https://forum.netxms.org/post/18048</link><guid isPermaLink="true">https://forum.netxms.org/post/18048</guid><dc:creator><![CDATA[axel]]></dc:creator><pubDate>Tue, 20 Oct 2015 14:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to Slack Intergration on Tue, 20 Oct 2015 13:16:12 GMT]]></title><description><![CDATA[<p dir="auto">Да, так и должно быть.<br />
Канал можно не указывать, тогда уйдет в тот, который был в настройках хука.<br />
Имя канала указываете с "#"?</p>
]]></description><link>https://forum.netxms.org/post/18047</link><guid isPermaLink="true">https://forum.netxms.org/post/18047</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 20 Oct 2015 13:16:12 GMT</pubDate></item></channel></rss>