Slack Intergration
-
-
test – послать в private group
@test – послать юзеру
#test – послать в канал -
-
Глупый вопрос – текст на русском?
-
@alk said in Slack Intergration:
Глупый вопрос – текст на русском?
Разумеется нет.
[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." -
В коде нет дебага для самого сообщения, к сожалению.
Сделайте пожалуйста так:запустите netcat: nc -l 12345
потом попробуйте что-то отослать с такой конфигурацией:SMSDrvConfig: url=http://localhost:12345/
в netcat должен быть виден полный запрос.
-
-
В message text случаем не прописан канал вместо текста сообщения?
Я просмотрел код и проверил на нашем сервере, название канала не должно дублироваться. -
Я же показал вывод дебага выше, что посылается.
[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."Вот настройки action-а на картинке.

-
Нашел проблему – была только в сборке без unicode.
Фикс: http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8 -
@alk said in Slack Intergration:
Нашел проблему – была только в сборке без unicode.
Фикс: http://git.netxms.org/public/netxms.git/commitdiff/b010a63c51a151d121bef28ab5056a2de5e7c1f8Отлично! Патч установил, все работает. Спасибо большое! ;D
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login