Monitor your Chainlink nodes Ethereum balance on the primary and emergency funding addresses. Results print to console as well as get saved as timeseries JSON files for ingesting into your favorite SIEM/Metrics software. I personally am ingesting this into Splunk.
- cd ~/.chainlink
- git clone https://github.com/Alkhara/ChainlinkBalanceMonitor.git
- cd ChainlinkBalanceMonitor/
- nano .env
- PROVIDER=https://mainnet.infura.io/v3/52929....
- CHAINLINK_NODE_ADDRESS=0xA8317D47....
- CHAINLINK_NODE_EF_ADDRESS=0x4C7DDEd...
- docker build -t chainlinkbalancemonitor .
- cd ~/.chainlink/ChainlinkBalanceMonitor && docker run --network {{your-docker-network-your-siem-is-in}} --hostname clbm -it --env-file=.env -v data-volume:/data chainlinkbalancemonitor