mirror of
https://github.com/moan0s/alertbot.git
synced 2024-10-01 06:25:35 -04:00
Update README.md
This commit is contained in:
parent
aa0a25e8b0
commit
fd70866be0
18
README.md
18
README.md
@ -5,6 +5,8 @@
|
|||||||
This bot uses the webhook functionality of monitoring/alerting solutions like Grafana or Alertmanager to forward alerts to matrix rooms.
|
This bot uses the webhook functionality of monitoring/alerting solutions like Grafana or Alertmanager to forward alerts to matrix rooms.
|
||||||
This means that you no longer have to use E-Mail or Slack to receive alerts.
|
This means that you no longer have to use E-Mail or Slack to receive alerts.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
You can either [invite](#invite-the-official-instance) an official instance of the bot, or [self-host](#self-host-an-instance) it on your own matrix server.
|
You can either [invite](#invite-the-official-instance) an official instance of the bot, or [self-host](#self-host-an-instance) it on your own matrix server.
|
||||||
|
|
||||||
## Invite the Official Instance
|
## Invite the Official Instance
|
||||||
@ -23,12 +25,22 @@ You can either [invite](#invite-the-official-instance) an official instance of t
|
|||||||
|
|
||||||
**Build the Bot**
|
**Build the Bot**
|
||||||
|
|
||||||
Clone this repository and build it into a maubot plugin file (.mbp). Navigate to the Maubot Administration Interface and upload the .mpb file.
|
The bot is built using the maubot command line tool `mbc`, you can either build it locally or remotely.
|
||||||
|
|
||||||
|
Build it locally, and afterwards navigate to the Maubot Administration Interface and upload the .mpb file.
|
||||||
|
```shell
|
||||||
|
pip install maubot
|
||||||
|
git clone https://github.com/moan0s/alertbot
|
||||||
|
cd alertbot
|
||||||
|
mbc build
|
||||||
|
```
|
||||||
|
|
||||||
|
Build it remotely, and upload the the build simultaneously.
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/moan0s/alertbot
|
git clone https://github.com/moan0s/alertbot
|
||||||
cd alertbot
|
cd alertbot
|
||||||
pip install maubot
|
mbc login
|
||||||
mbc build
|
mbc build -u
|
||||||
```
|
```
|
||||||
|
|
||||||
**Configure the Bot**
|
**Configure the Bot**
|
||||||
|
Loading…
Reference in New Issue
Block a user