Skip to content

InferenceAG/netdata-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

netdata plugins

Repo contains own developed plugins for netdata.

  • bitcoin
  • tezos

Bitcoin & Tezos

Logging configuration

syslog

Define log file locations for local facilities in /etc/rsyslog.d/50-default.conf:

local0.*                        -/mydata/log/local0.log

Restart syslog:

systemctl restart rsyslog

docker-compose

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

Configuration

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

Testing alarm notifications

https://learn.netdata.cloud/docs/alerts-&-notifications/notifications/agent-dispatched-notifications/agent-notifications-reference#testing-alert-notifications

Telegram setup / configuration

  1. Create new bot with BotFather /newbot
  2. Extract botId token
  3. Create group in Telegram
  4. Add the bot to the group
  5. Send message in group
  6. 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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published