Logs to alerts
Pipe logs to Mattermost or Slack webhooks
Requirements
- Mattermost or Slack instance
-
curl
,jq
,tail
Installation
git clone https://git.ethitter.com/debian/eth-log-alerting.git /usr/local/eth-log-alerting
cp /usr/local/eth-log-alerting/init.sh /etc/init.d/eth_log_alerting
cp /usr/local/eth-log-alerting/defaults /etc/default/eth_log_alerting
- Edit
/etc/default/eth_log_alerting
sudo update-rc.d eth_log_alerting defaults
/etc/init.d/eth_log_alerting start