diff --git a/package_variants/holesky/holesky-notifications.yaml b/package_variants/holesky/holesky-notifications.yaml new file mode 100644 index 0000000..4101d96 --- /dev/null +++ b/package_variants/holesky/holesky-notifications.yaml @@ -0,0 +1,55 @@ +endpoints: + - name: "Holesky ETH Node Syncing Check" + enabled: true + group: "holesky" + url: "http://holesky-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result == false" + definition: + title: "Holesky ETH Node Synced Check" + description: "Check if the Holesky ETH Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "holesky-geth-eth-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Geth Holesky Node syncing" + failure-threshold: 4 + success-threshold: 1 + send-on-resolved: true + - name: "Holesky ETH Node Peers count Check" + enabled: true + group: "holesky" + url: "http://holesky-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result >= 10" + definition: + title: "Holesky ETH Node Peers count Check" + description: "Check if the Holesky ETH Node has a minimum of peers. You will receive a notification if the node has less than the peers defined for 5 minutes and another one when it has more than the peers defined." + correlationId: "holesky-geth-eth-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 50 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Geth Holesky Node peers count is below [CONDITION_VALUE]" + failure-threshold: 10 + success-threshold: 1 + send-on-resolved: true diff --git a/package_variants/hoodi/hoodi-notifications.yaml b/package_variants/hoodi/hoodi-notifications.yaml new file mode 100644 index 0000000..b04096e --- /dev/null +++ b/package_variants/hoodi/hoodi-notifications.yaml @@ -0,0 +1,55 @@ +endpoints: + - name: "Hoodi ETH Node Syncing Check" + enabled: true + group: "hoodi" + url: "http://hoodi-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result == false" + definition: + title: "Hoodi ETH Node Synced Check" + description: "Check if the Hoodi ETH Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "hoodi-geth-eth-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Geth Hoodi Node syncing" + failure-threshold: 4 + success-threshold: 1 + send-on-resolved: true + - name: "Hoodi ETH Node Peers count Check" + enabled: true + group: "hoodi" + url: "http://hoodi-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result >= 10" + definition: + title: "Hoodi ETH Node Peers count Check" + description: "Check if the Hoodi ETH Node has a minimum of peers. You will receive a notification if the node has less than the peers defined for 5 minutes and another one when it has more than the peers defined." + correlationId: "hoodi-geth-eth-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 50 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Geth Hoodi Node peers count is below [CONDITION_VALUE]" + failure-threshold: 10 + success-threshold: 1 + send-on-resolved: true diff --git a/package_variants/lukso/lukso-notifications.yaml b/package_variants/lukso/lukso-notifications.yaml new file mode 100644 index 0000000..a6811d2 --- /dev/null +++ b/package_variants/lukso/lukso-notifications.yaml @@ -0,0 +1,55 @@ +endpoints: + - name: "Lukso ETH Node Syncing Check" + enabled: true + group: "lukso" + url: "http://lukso-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result == false" + definition: + title: "Lukso ETH Node Synced Check" + description: "Check if the Lukso ETH Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "lukso-geth-eth-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Geth Lukso Node syncing" + failure-threshold: 4 + success-threshold: 1 + send-on-resolved: true + - name: "Lukso ETH Node Peers count Check" + enabled: true + group: "lukso" + url: "http://lukso-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result >= 10" + definition: + title: "Lukso ETH Node Peers count Check" + description: "Check if the Lukso ETH Node has a minimum of peers. You will receive a notification if the node has less than the peers defined for 5 minutes and another one when it has more than the peers defined." + correlationId: "lukso-geth-eth-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 50 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Geth Lukso Node peers count is below [CONDITION_VALUE]" + failure-threshold: 10 + success-threshold: 1 + send-on-resolved: true diff --git a/package_variants/mainnet/mainnet-notifications.yaml b/package_variants/mainnet/mainnet-notifications.yaml new file mode 100644 index 0000000..a195923 --- /dev/null +++ b/package_variants/mainnet/mainnet-notifications.yaml @@ -0,0 +1,55 @@ +endpoints: + - name: "Mainnet ETH Node Syncing Check" + enabled: true + group: "ethereum" + url: "http://geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result == false" + definition: + title: "Mainnet ETH Node Synced Check" + description: "Check if the Mainnet ETH Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "geth-eth-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Geth Ethereum Node syncing" + failure-threshold: 4 + success-threshold: 1 + send-on-resolved: true + - name: "Mainnet ETH Node Peers count Check" + enabled: true + group: "ethereum" + url: "http://geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result >= 10" + definition: + title: "Mainnet ETH Node Peers count Check" + description: "Check if the Mainnet ETH Node has a minimum of peers. You will receive a notification if the node has less than the peers defined for 5 minutes and another one when it has more than the peers defined." + correlationId: "geth-eth-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 50 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Geth Ethereum Node peers count is below [CONDITION_VALUE]" + failure-threshold: 10 + success-threshold: 1 + send-on-resolved: true diff --git a/package_variants/sepolia/sepolia-notifications.yaml b/package_variants/sepolia/sepolia-notifications.yaml new file mode 100644 index 0000000..f8e42f9 --- /dev/null +++ b/package_variants/sepolia/sepolia-notifications.yaml @@ -0,0 +1,55 @@ +endpoints: + - name: "Sepolia ETH Node Syncing Check" + enabled: true + group: "sepolia" + url: "http://sepolia-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result == false" + definition: + title: "Sepolia ETH Node Synced Check" + description: "Check if the Sepolia ETH Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "sepolia-geth-eth-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Geth Sepolia Node syncing" + failure-threshold: 2 + success-threshold: 1 + send-on-resolved: true + - name: "Sepolia ETH Node Peers count Check" + enabled: true + group: "sepolia" + url: "http://sepolia-geth.dappnode:8545" + method: "POST" + body: | + {"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []} + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].result >= 10" + definition: + title: "Sepolia ETH Node Peers count Check" + description: "Check if the Sepolia ETH Node has a minimum of peers. You will receive a notification if the node has less than the peers defined and another one when it has more than the peers defined." + correlationId: "sepolia-geth-eth-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 50 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Geth Sepolia Node peers count is below [CONDITION_VALUE]" + failure-threshold: 2 + success-threshold: 1 + send-on-resolved: true