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...")
 
Line 37: Line 37:
https://api.slack.com/messaging/webhooks
https://api.slack.com/messaging/webhooks


=== Mattermast ===
=== 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 ==

Revision as of 16:32, 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:

  • /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

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`