Repo contains own developed plugins for netdata.
- bitcoin
- tezos
Define log file locations for local facilities in /etc/rsyslog.d/50-default.conf
:
local0.* -/mydata/log/local0.log
Restart syslog:
systemctl restart rsyslog
Configure for each relevant docker container to log to syslog. Also adapt log facility and tag, if needed:
logging:
driver: syslog
options:
syslog-facility: local0
tag: tezos-node
Open convert.sh
and adapt variable $REPL. Afterwards you can execute convert.sh
and the script will generate the netdata files and a deployment script (*.update.sh).
Run the deployment script and the corresponding files are installed in the correct directories.
Edit 'health_alarm_notify.conf' and copy the file to /etc/netdata/ chmod +r health_alarm_notify.conf
Restart netdata service: systemctl restart netdata
- Create new bot with BotFather
/newbot
- Extract botId token
- Create group in Telegram
- Add the bot to the group
- Send message in group
- Call
https://api.telegram.org/bot<token>/getUpdates
and extract group id (chat_id is an ID with 9-10 decimals)
Note:
Message by the bot can be sent using the following command:
curl https://api.telegram.org/bot<token>/sendMessage -F chat_id=<chat_id> -f text=<text>