SimplyStaking / panic_cosmos

🚨 PANIC for Cosmos
GNU General Public License v3.0
47 stars 36 forks source link

Per node alert rules - how? #55

Open alexandruast opened 3 years ago

alexandruast commented 3 years ago

Hello, considering the following setup:

one mainnet validator behind two sentry nodes one testenet validator

using 4 node declarations:

[node_001] node_name = mainnet-validator node_rpc_url = http://mainnet-validator:26657 node_is_validator = true include_in_node_monitor = true include_in_network_monitor = true

[node_002] node_name = mainnet-sentry1 node_rpc_url = http://mainnet-sentry1:26657 node_is_validator = false include_in_node_monitor = false include_in_network_monitor = true

[node_003] node_name = mainnet-sentry2 node_rpc_url = http://mainnet-sentry2:26657 node_is_validator = false include_in_node_monitor = false include_in_network_monitor = true

[node_004] node_name = testnet-validator node_rpc_url = http://testnet-validator:26657 node_is_validator = true include_in_node_monitor = false include_in_network_monitor = false

How can we set up the alerts in such a way that we only receive Twilio alerts for 001 and Telegram alerts for 002/003/004?

The idea is to not get paged unless something really serious is happening(on which the above setup works), but also to not miss alerts on the sentries and testnet on lower priority channels, like telegram.