shell scripts for monitoring my masternodes
-
You need to export system/profile env variable
export DATADOG_API_KEY=<YOUR_DATADOG_API_HERE>
-
clone this repo into
<YOUR_DIR>
, for example/usr/local/src
-
run
bash setup.sh
You can use following command and crontab to do autodeployment after git commit
- switch to root
sudo su
- open crontab editor
crontab -e
- paste following line at the bottomg of the list
*/1 * * * * cd /usr/local/src/masternode-tools && /usr/bin/git pull --rebase && bash setup.sh
It will pull from git every minute (https://crontab.guru/#*/1__**) and install all scripts which are executable
source /usr/local/bin/ddhelper.sh
sentMetric $host $coin $metricname $value $role $username
source /usr/local/bin/ddhelper.sh
// alert_type is option, default is info
sentMetric $host $coin $title $message $role $username <alert_type>
- https://github.com/HorizenOfficial/compose-evm-simplified/blob/main/docs/FORGER.md
- https://github.com/HorizenOfficial/eon-smart-contract-tools
- https://remix.ethereum.org/#source=post_page-----2f0ac541130c--------------------------------&lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.25+commit.b61c2a91.js
- https://gitlab.com/Kryptoroger/eon-smart-contract-tools
- https://eon-explorer.horizenlabs.io/
- https://docs.horizen.io/horizen_eon/tutorials/faq/
- https://luisantoniocrag.medium.com/participating-as-a-forger-node-on-eon-network-using-a-digitaloceans-droplet-2f0ac541130c
- https://github.com/HorizenOfficial/eon/blob/main/doc/api/index.md
- https://github.com/HorizenOfficial/eon/blob/main/doc/api/transaction/registerForger.md
- https://docs.horizen.io/horizen_eon/tutorials/forger_node_setup_guide/