https://github.com/ome/omero-fenton
OMERO error logs reporting system
https://github.com/ome/omero-fenton
Last synced: 11 months ago
JSON representation
OMERO error logs reporting system
- Host: GitHub
- URL: https://github.com/ome/omero-fenton
- Owner: ome
- Created: 2013-09-10T07:59:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-12T15:26:56.000Z (about 6 years ago)
- Last Synced: 2025-07-01T15:52:42.899Z (11 months ago)
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
omero-fenton
===========
OMERO error logs reporting system
---------------------------------
This is a Slack bot for monitoring OMERO log files.
Installation
------------
Requires Python 2.7+. Install the following Python module requirements, either system wide, or into a Virtualenv:
pip install -r requirements.txt
Clone this repository:
git clone https://github.com/manics/omero-fenton.git
cd omero-fenton
Create the configuration file by copying `example.cfg` and editting.
* Create a bot-user and token from https://my.slack.com/services/new/bot
* Enter the Slack connection details: bot-user, Slack token, channel (including `#`).
* Each log file has its own configuration section, section headings should be changed and will be printed alongside log messages.
* `file` should be the path to a log file, for convenience you can just symlink the OMERO logs directory into the current directory.
* Rate limits are applied per file.
* If you want to interact with the bot you must invite the bot-user to the channel, otherwise you will only receive notifications.
Run the bot from the current directory:
```
python OmeroFenton.py -f CONFIGURATION.CFG
```