SOLAR NODE MONITOR via DISCORD
I have written a script for monitoring SOLAR NODE and sending ALARM messages via Discord. 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.
You could check a working example at my discord server.
SourceCode available at GitHUB