SOLAR NODE MONITOR via TELEGRAM
This script is for monitoring SOLAR NODE and sending ALARM messages via TELEGRAM. Solar Delegates can use this script for monitoring;
- If the SOLAR NODE is NOT listed in PEERS list.
- If the SOLAR NODE latency is longer than defined Latency value.
- If the SOLAR NODE block height is behind the defined limit from the SOLAR network block height.
- If the SOLAR NODE software is outdated and a new version is available at Github.
- If the SOLAR NODE HDD capacity is lower than defined Critical Limit.
- If the SOLAR NODE CPU usage is higher than defined Critical Limit.
- The script may periodically send a message that NODE is (ALIVE) running.
The script sends ALARM messages for the conditions listed above and also sends messages when the issue is resolved.
SourceCode available at GitHUB