❇️ Say thanks to author (SOL): BrnMNcFz6EzjZsQM8xNbrTsJE88fyXU2X6Crar9QPpsK / cryptovik.sol - or just stake your SOL to my node: CryptoVik
Script uses on-chain solana data, API of solana.org, API of Grafana
You can see data of ANY solana validator node
This is the tool for monitoring multiple nodes with cli
Tool has two modes: full and short
If node don't have standart Grafana (telegraf) installed than you cannot see hardware info of it
All returned parameters are decribed in the end of this readme
-
Move file
show-solana-node-info_v2.sh
to the server or instance with installed solana -
Install rust, solana-foundation-delegation-program-cli and jq:
apt-get update && curl https://sh.rustup.rs/ -sSf | sh
enter 1 + Enter
source $HOME/.cargo/env && rustup update
sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make
enter y + Enter
cargo install solana-foundation-delegation-program-cli
sudo apt install jq # version 1.6-1ubuntu0.20.04.1
-
Give permissions to the script:
chmod u+x ./show-solana-node-info_v2.sh
-
Run it on your node without parameters:
./show-solana-node-info_v2.sh
and you can read data of any node in solana blockchain:
./show-solana-node-info_v2.sh <NODE_PUBKEY> <CLUSTER> <TRUE_FOR_SHORT>
where
<NODE_PUBKEY>
- pubkey of any node,
<CLUSTER>
- -ut
or -ud
or -um
or -ul
for cluster,
<TRUE_FOR_SHORT>
- true
if you want short return and false
/ nothing if you want full return
- RPC issues. If PRC is slow or unavailable than you can see RPC errors. Working now to rotate RPC if so happens.
- If --no-voting is set, than you cannot see node info here.
- If pubkey doesn't belongs to node, there will be some errors.
Part of see schedule block
(shows estimated time of scheduled slots of node) modified from https://github.com/Vahhhh/solana/blob/main/see-schedule.sh - BIG THANKS!!!
- Time now - counting as time of server. You can change time of server:
sudo ln -sf /usr/share/zoneinfo/Europe/Kiev /etc/localtime
Check it:
date
or timedatectl
-
Solana Price. If Grafana is not set or have its own issues than you can see NULL here
-
Epoch Progress
.
.
❇️ Say thanks to author (SOL): BrnMNcFz6EzjZsQM8xNbrTsJE88fyXU2X6Crar9QPpsK / cryptovik.sol ❇️ Or stake your SOL to my node: CryptoVik (https://cryptovik.info/)