A Mastodon bot that outputs information regarding the state of the network collected from collectd.
Requires the Mastodon.py
python module which you can find under that name on pypi.
To run the bot set the following environment variables:
collectdAddress
- The address of the collectd servercollectdPort
- The port of the collectd serverclientID
- The client idclientSecret
- The client secretaccessToken
- The access tokenbaseURL
- The base URL
Then type the following command:
python3 StateBot.py