README ¶ Log Alerting Pipe logs to Mattermost (or Slack) webhooks Requirements Go 1.8.3 Installation git clone https://git.ethitter.com/debian/eth-log-alerting.git /usr/local/bin/eth-log-alerting cd /usr/local/bin/eth-log-alerting go get github.com/ashwanthkumar/slack-go-webhook go get github.com/asaskevich/govalidator go get github.com/hpcloud/tail go build eth-log-alerting.go cp /usr/local/bin/eth-log-alerting/init.sh /etc/init.d/eth-log-alerting chmod +x /etc/init.d/eth-log-alerting cp /usr/local/bin/eth-log-alerting/config-sample.json /usr/local/bin/eth-log-alerting/config.json Edit /usr/local/bin/eth-log-alerting/config.json If using a different path for your binary or config file, or if running as other than root, override the daemon defaults: cp /usr/local/bin/eth-log-alerting/defaults /etc/default/eth-log-alerting Edit /etc/default/eth-log-alerting update-rc.d eth-log-alerting defaults /etc/init.d/eth-log-alerting start Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files eth-log-alerting.go Click to show internal directories. Click to hide internal directories.