Skip to content

Commit 548e065

Browse files
authored
Merge pull request #54 from dappnode/hcastc00/add_sepolia
Add Sepolia
2 parents 37b9959 + 2836746 commit 548e065

File tree

4 files changed

+85
-0
lines changed

4 files changed

+85
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "sepolia-reth.dnp.dappnode.eth",
3+
"version": "0.1.2",
4+
"links": {
5+
"api": "http://sepolia-reth.dappnode:8545",
6+
"apiEngine": "http://sepolia-reth.dappnode:8551",
7+
"homepage": "https://github.com/dappnode/DAppNodePackage-reth-generic#readme"
8+
}
9+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: "3.5"
2+
services:
3+
reth:
4+
build:
5+
args:
6+
NETWORK: sepolia
7+
P2P_PORT: 30507
8+
ports:
9+
- 30507:30507/tcp
10+
- 30507:30507/udp
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
endpoints:
2+
- name: "Sepolia ETH Node Syncing Check"
3+
enabled: true
4+
group: "sepolia"
5+
url: "http://sepolia-reth.dappnode:8545"
6+
method: "POST"
7+
body: |
8+
{"jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []}
9+
headers:
10+
Content-Type: "application/json"
11+
interval: "30s"
12+
conditions:
13+
- "[BODY].result == false"
14+
definition:
15+
title: "Sepolia ETH Node Synced Check"
16+
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."
17+
correlationId: "sepolia-reth-eth-syncing"
18+
isBanner: false
19+
priority: "medium"
20+
alerts:
21+
- type: custom
22+
enabled: true
23+
description: "Reth Sepolia Node syncing"
24+
failure-threshold: 4
25+
success-threshold: 1
26+
send-on-resolved: true
27+
- name: "Sepolia ETH Node Peers count Check"
28+
enabled: true
29+
group: "sepolia"
30+
url: "http://sepolia-reth.dappnode:8545"
31+
method: "POST"
32+
body: |
33+
{"jsonrpc": "2.0", "id": 1, "method": "net_peerCount", "params": []}
34+
headers:
35+
Content-Type: "application/json"
36+
interval: "30s"
37+
conditions:
38+
- "[BODY].result >= 10"
39+
definition:
40+
title: "Sepolia ETH Node Peers count Check"
41+
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."
42+
correlationId: "sepolia-reth-eth-peers"
43+
isBanner: false
44+
priority: "low"
45+
metric:
46+
min: 0
47+
max: 50
48+
unit: "peers"
49+
alerts:
50+
- type: custom
51+
enabled: true
52+
description: "Reth Sepolia Node peers count is below [CONDITION_VALUE]"
53+
failure-threshold: 10
54+
success-threshold: 1
55+
send-on-resolved: true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"labels": {
4+
"package": "sepolia-reth.dnp.dappnode.eth",
5+
"service": "reth"
6+
},
7+
"targets": [
8+
"sepolia-reth.dappnode:6060"
9+
]
10+
}
11+
]

0 commit comments

Comments
 (0)