⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
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
9 changes: 9 additions & 0 deletions package_variants/sepolia/dappnode_package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "sepolia-reth.dnp.dappnode.eth",
"version": "0.1.2",
"links": {
"api": "http://sepolia-reth.dappnode:8545",
"apiEngine": "http://sepolia-reth.dappnode:8551",
"homepage": "https://github.com/dappnode/DAppNodePackage-reth-generic#readme"
}
}
10 changes: 10 additions & 0 deletions package_variants/sepolia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "3.5"
services:
reth:
build:
args:
NETWORK: sepolia
P2P_PORT: 30507
ports:
- 30507:30507/tcp
- 30507:30507/udp
55 changes: 55 additions & 0 deletions package_variants/sepolia/hoodi-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-reth.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-reth-eth-syncing"
isBanner: false
priority: "medium"
alerts:
- type: custom
enabled: true
description: "Reth Sepolia Node syncing"
failure-threshold: 4
success-threshold: 1
send-on-resolved: true
- name: "Sepolia ETH Node Peers count Check"
enabled: true
group: "sepolia"
url: "http://sepolia-reth.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 for 5 minutes and another one when it has more than the peers defined."
correlationId: "sepolia-reth-eth-peers"
isBanner: false
priority: "low"
metric:
min: 0
max: 50
unit: "peers"
alerts:
- type: custom
enabled: true
description: "Reth Sepolia Node peers count is below [CONDITION_VALUE]"
failure-threshold: 10
success-threshold: 1
send-on-resolved: true
11 changes: 11 additions & 0 deletions package_variants/sepolia/prometheus-targets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"labels": {
"package": "sepolia-reth.dnp.dappnode.eth",
"service": "reth"
},
"targets": [
"sepolia-reth.dappnode:6060"
]
}
]