Grafana Elrond Dashboard example
This section is part of Zabbix & Elrond Guide
Before you use this Granafa template, be sure that on your Zabbix Server you have applied to your hosts this two templates:
Template App Elrond Node
Template OS Linux by Zabbix agent
This chapter will help you to import an example dashboard into your Grafana. The main Goal of this is to help you understand better how Grafana works.
It’s important that every Elrond Validator learns to customize and use his own Dashboards
The example of dashboard that you’ll use needs that your Hosts in Zabbix are part of a Host Group named “Battle of Nodes” case sensitive.
CREATE A GROUP ON ZABBIX
Go to your Zabbix frontend, Configuration—> Host Groups and you will see in the top-right a button “Create host group”. It will only ask you for a name.
When you’re done, go to your hosts and edit them one by one. In Configuration —> Hosts click on one hostname. In the edit page of your host you will see a mandatory field “Groups”, select your new group “Battle of Nodes”
CREATE NEW EMPTY DASHBOARD
Now you need to open Grafana frontend, and on your right side menu search for the Create Dashboard option:
And go to the Settings section of the Dashboard, just on the upper right corner.
IMPORT JSON MODEL
Grafana Dashboards can be edited or shared directly in JSON code. You must click on JSON Model to view the actual one. You will see something like this:
You must select all text inside JSON Model Box with Ctrl+A or Cmd+A. And delete it, you need this field empty to put the new one.
Open JSON Code in a new window
When you have copied it in your JSON Model box of your new Dashboard, make sure that you save the changes with “Save Dashboard” green button.
EXPLORE THE DASHBOARD
Once the JSON definition is imported, you must see something like this Dashboard:
In the first row you have at left a list of your current Zabbix problems. If there’s a trigger activated you will see it here. In the first row on the right you have the disk space use in % of your hosts.
In second row from left to right you have: How many sync signals has been in the last 15m (must be zero), Connected Peers to your nodes and Nonce increase in the last minute (must be around 10).
In the third row you have CPU load 5 minutes and % memory use (ram).
At this point it is important that you play around to understand better how it works. You can edit every panel with the drop down menu next to the name, select Edit.
Edit whatever you want. You can always create another clean dashboard and import again the JSON example.
CONGRATULATIONS YOU FINISH THE GUIDE
Now it’s time to play and learn more yourself, try to setup some customized stuff. Don’t hesitate to ask on Elrond Validators Telegram, there are plenty of people like you in this learning process.