General usage tips

This section will highlight some Mattermost integrations that we thing will be helpful to administrators.

Sending (automatic) messages to Mattermost

Mattersend is a nice small utility for sending messages from the Linux commandline into Mattermost. It can for example be used to send notifications about system upgrades or notify you about cron-jobs.

Installation of mattersend

Mattersend can easily be installed through the pip command:

pip3 install mattersend

Easily access existing scripts via Slash commands and Webhooks

webhook is a lightweight tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands.

Starting with Debian Stretch packages for webhook are available directly from the Debian repositories, for other Distributions prebuilt Go binaries are available.