https://github.com/addiks/mmfm
Mattermost File Monitor / Bot
https://github.com/addiks/mmfm
bot file mattermost monitor python3
Last synced: 9 months ago
JSON representation
Mattermost File Monitor / Bot
- Host: GitHub
- URL: https://github.com/addiks/mmfm
- Owner: addiks
- License: gpl-3.0
- Created: 2017-06-02T16:35:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T20:20:35.000Z (about 9 years ago)
- Last Synced: 2025-10-07T00:28:26.963Z (9 months ago)
- Topics: bot, file, mattermost, monitor, python3
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mmfm - Mattermost File Monitor / Mattermost Bot
===================================
A simple deamon that monitor's one or multiple files and post's all new lines to a Mattermost-Server to configured
channels or users. Handy tool if you want to monitor your error-log's and be alerted directly if some error happens.
## Set-Up
After you have cloned (and checked out) this repository, make sure to initialize the git-submodule(s).
Create a file like the one provided in "assets/configuration.sample.xml" somewhere, modify it's content to fit your
needs. You need one "monitor" entry per file you want to monitor and channel you want to post into. If you need to post
accross multiple mattermost-servers, create one "server" entry for every server you need to post onto. Make sure that
for every "server" attribute in the "monitor" entries there exists an "server" entry with the matching "name" attribute.
Run the python-script "mmfm.py" using the absolute path to the configuration file as the first (and only) parameter.
Make sure the user described in the configuration is already in all channels it is supposed to write into as it
currently cannot join channel's on it's own.
```
```
## Licence
This plugin is licenced under the GNU General Public Licence version 3.
If you do not know what that means, see the file 'LICENCE'.