This guide covers how to monitor your Shibarium nodes using official telemetry tools for both Heimdall and Bor. Proper monitoring ensures node health, uptime, and quick troubleshooting.
Overview
- Heimdall Telemetry: Monitor Heimdall node status and metrics on Shibarium and Puppynet.
- Bor EthStat: Monitor Bor node status and metrics on Shibarium and Puppynet.
Heimdall Telemetry Setup
1
Clone the Telemetry Repository and Set Up Configuration
git clone https://github.com/shibaone/k9-matic-telemetry.git
cd k9-matic-telemetry
mkdir -p ~/.telemetry/config
cp example.config.toml ~/.telemetry/config/config.toml
2
Update the Configuration File
Edit For Puppynet:Replace
~/.telemetry/config/config.toml
and update the [stats_details]
section:For Shibarium:<node-name>
with your node’s name.3
Build the Telemetry Binary
go mod tidy
go build -o telemetry
mv telemetry $GOBIN
4
Create a Systemd Service
Create
/lib/systemd/system/telemetry.service
with:Double-check the
User
and ExecStart
fields for accuracy.5
Start and Enable the Telemetry Service
sudo systemctl enable telemetry.service
sudo systemctl start telemetry.service
6
Monitor the Service
journalctl -u telemetry -f
7
Verify Node Visibility
Check your node on:
Bor EthStat Setup
1
Edit the Bor Configuration File
vi /var/lib/bor/config.toml
Add the following line for telemetry:
For Shibarium:
ethstats = “<node>:[email protected]”
- URL: https://shibarium-bor-ethstat.shib.io/
- Secret: shibarium
For Puppynet:
ethstats = “<node>:[email protected]”
- URL: https://puppynet-bor-ethstat.shib.io/
- Secret: testnet
Double-check the
ethstats
entry for accuracy.2
Restart and Enable Bor Service
sudo systemctl restart bor.service
3
Verify Your Node on the Monitoring Page
Best Practices
- Always monitor both Heimdall and Bor nodes for uptime and health.
- Use descriptive node names for easy identification.
- Regularly check logs and monitoring dashboards.
- Keep your telemetry and node software up to date.