Monitoring your Velas Node by StakingBridge.com

The solution is made up of three pieces. Telegraf, Prometheus and Grafana to provide users and node managers a monitoring alternative to analyze CPU, RAM, network interfaces and I/O wait along with metrics from Velas Blockchain that we add to the public dashboard.

How add your node to the public Dashboard

  1. Install Telegraf on your server. Depending on which linux you use, the process varies a bit:

RHEL 8 / Centos 8/ Rocky Linux

sudo yum -y updatecat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo[influxdb] name = InfluxDB Repository - RHEL  baseurl = https://repos.influxdata.com/rhel/7/x86_64/stable/ enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdb.key EOFsudo dnf -y install telegraf

UBUNTU 20.04

wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -source /etc/lsb-releaseecho "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.listapt updateapt install telegraf

2. Now that we have Telegraf installed, we modify the telegraf.conf file to point to the influxdb that feeds velasmonitor.stakingbridge.com and to setup the alias by which we can search for our node. If you prefer, you can download this cfg and use it as a base.

sudo vi /etc/telegraf/telegraf.conf

The file will be such that:

# Global Agent Configuration
[agent]
hostname = “YOUR_NODE_ALIAS” # set this to a name you want to identify your node in the dashboard
flush_interval = “15s”
interval = “15s”
# Input Plugins
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
report_active = false
[[inputs.disk]]
ignore_fs = [“devtmpfs”, “devfs”]
[[inputs.io]]
[[inputs.mem]]
[[inputs.net]]
[[inputs.system]]
[[inputs.swap]]
[[inputs.netstat]]
[[inputs.processes]]
[[inputs.kernel]]
[[inputs.diskio]]
# Output Plugin InfluxDB
[[outputs.influxdb]]
database = “metricsdb”
urls = [ “http://velasmonitor.stakingbridge.com:8086" ]
username = “metrics”
password = “password”

3. Once the file is edited we will have to launch telegraf to start monitoring.

sudo systemctl start telegraf

How do i check my node?

From top side, use the search engine where it says ¨Node¨ and look for the alias that you have configured in the telegraf.conf file. For example, searching “stakingbridge.com” shows node stats for our node.

"Please note that we are in experimentation stage, you may encounter errors, inaccurate metrics or bugs. Stakingbridge.com is not responsible for any inconvenience caused by the uses of our website"

Website | Twitter | Telegram

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Create Language Overrides in Joomla 4

Create a blog using Django 3 — Part 2

Deploying Nextcloud and MySQL On Elastic Kubernetes Service & Efs

DevOps- Part 2 — Continuous Testing

GitHub Portfolio Setup Guide

Automate Processes Faster with Low-code | Zoho Creator

5 Major Challenges in Adopting DevOps | DevOps Adoption |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
StakingBridge

StakingBridge

More from Medium

BitYard: A one-stop trading platform review

CherryPy vs Flask: Which is better?

Origin of Wave Function in Quantum Mechanics (Wave function# 1)

BBGO Grid Trading on OKEx