Mmessenger: Difference between revisions
(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...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
Running the program will create ODB entries in: | Running the program will create ODB entries in: | ||
* / | * /Messenger/Discord/WebHooks | ||
* / | * /Messenger/Slack/WebHooks | ||
* / | * /Messenger/Mattermost/WebHooks | ||
Within each of these are 6 string keys: | Within each of these are 6 string keys: | ||
Line 37: | Line 37: | ||
https://api.slack.com/messaging/webhooks | https://api.slack.com/messaging/webhooks | ||
=== | === Mattermost === | ||
https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook | https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook | ||
== Requirements == | == Requirements == |
Latest revision as of 22:57, 27 May 2021
MIDAS Messenger (mmessenger)
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:
- /Messenger/Discord/WebHooks
- /Messenger/Slack/WebHooks
- /Messenger/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
Mattermost
https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook
Requirements
- The Midas python libraries must be available.
- The python `requests` library must be installed. e.g. `pip install requests --user`