Mmessenger: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "= MIDAS Messenger (mmessenger) = == Overview == The midas messenger relays midas messages to your chosen Discord, Slack and Mattermost webhooks. It is a standalone program...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= MIDAS Messenger (mmessenger) =
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/features/monitoring_and_control/messages/configuring/#forwarding-messages-to-discordslackmattermost Forwarding messages to Discord/Slack/Mattermost] on the Messages: configuring page and [https://midas.triumf.ca/docs/develop/reference/reference/programs/#mmessenger mmessenger] on the Programs and options page for the new documentation about the mmessenger program.
 
== Overview ==
 
The midas messenger relays midas messages to your chosen Discord, Slack and Mattermost webhooks.
 
It is a standalone program that works completely independently of the main [[mlogger]] program (which writes messages to the midas.log text file).
 
== ODB keys ==
 
Running the program will create ODB entries in:
 
* /MIDASMessenger/Discord/WebHooks
* /MIDASMessenger/Slack/WebHooks
* /MIDASMessenger/Mattermost/WebHooks
 
Within each of these are 6 string keys:
 
* MT_ERROR
* MT_INFO
* MT_DEBUG
* MT_USER
* MT_LOG
* MT_TALK
* MT_CALL
 
One simply needs to paste in the webhook link in the categories you want, then '''restart the MIDAS Messenger'''. By default each entry is blank, meaning no action is taken.
 
The message types have been separated so that users can direct different message types to different channels. Alternatively users can also direct everything to the same place by using the same webhook URL multiple times.
 
== Webhook documentation ==
 
=== Discord ===
https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
 
=== Slack ===
https://api.slack.com/messaging/webhooks
 
=== Mattermast ===
https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook
 
 
== Requirements ==
 
* The [[Python|Midas python libraries]] must be available.
* The python `requests` library must be installed. e.g. `pip install requests --user`

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. See Forwarding messages to Discord/Slack/Mattermost on the Messages: configuring page and mmessenger on the Programs and options page for the new documentation about the mmessenger program.