master
conf 57 lines 2.11 KB
Raw
1
2 # ---------------------------------------------------------------------------------------------------------------------
3 # Alert when there are permanent nodes which never connected (during this session)
4
5 # If these nodes nodes should actually be ephemeral, run:
6 #
7 # netdatacli mark-stale-nodes-ephemeral ALL_NODES
8 #
9 # or if you want to delete all the archived nodes, run:
10 #
11 # netdatacli remove-stale-node ALL_NODES
12 #
13
14 template: streaming_never_connected
15 on: netdata.streaming_inbound
16 class: Availability
17 type: Streaming
18 component: Streaming
19 chart labels: type=permanent
20 calc: ${stale archived}
21 units: nodes
22 every: 10s
23 warn: $netdata.uptime.uptime > 30 * 60 AND $this > 0
24 delay: up 5m down 5m multiplier 1.5 max 30m
25 summary: Permanent streaming nodes never connected
26 info: Permanent child nodes never connected to this parent. \
27 If these nodes should actually be ephemeral, run: \
28 netdatacli mark-stale-nodes-ephemeral ALL_NODES
29 to: silent
30
31 # ---------------------------------------------------------------------------------------------------------------------
32 # Alert when there are permanent nodes which disconnected (during this session)
33
34 # If nodes are expected to disconnect, mark them as ephemeral, by editing their netdata.conf
35 # and setting:
36 #
37 # [global]
38 # is ephemeral node = yes
39 #
40 # and then restarting netdata
41
42 template: streaming_disconnected
43 on: netdata.streaming_inbound
44 class: Availability
45 type: Streaming
46 component: Streaming
47 chart labels: type=permanent
48 calc: ${stale disconnected}
49 units: nodes
50 every: 10s
51 warn: $netdata.uptime.uptime > 30 * 60 AND $this > 0
52 delay: up 5m down 5m multiplier 1.5 max 30m
53 summary: Permanent streaming nodes disconnected
54 info: Permanent child nodes disconnected from this parent. \
55 If nodes are expected to disconnect, mark them as ephemeral, by editing their netdata.conf \
56 and setting: [global].is ephemeral node = yes
57 to: silent