Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions package_variants/holesky/holesky-notifications.yaml
Original file line number Diff line number Diff line change
@@ -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
55 changes: 55 additions & 0 deletions package_variants/hoodi/hoodi-notifications.yaml
Original file line number Diff line number Diff line change
@@ -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
55 changes: 55 additions & 0 deletions package_variants/lukso/lukso-notifications.yaml
Original file line number Diff line number Diff line change
@@ -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
55 changes: 55 additions & 0 deletions package_variants/mainnet/mainnet-notifications.yaml
Original file line number Diff line number Diff line change
@@ -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
55 changes: 55 additions & 0 deletions package_variants/sepolia/sepolia-notifications.yaml
Original file line number Diff line number Diff line change
@@ -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