summaryrefslogtreecommitdiffstats
path: root/health/health.d/backend.conf
blob: 948ea551a0a3a1e6dd4bb076c965a544c8ac13d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Alert that backends subsystem will be disabled soon
    alarm: backend_metrics_eol
       on: netdata.backend_metrics
    class: Netdata
component: Exporting engine
     type: Errors
    units: boolean
     calc: $now - $last_collected_t
    every: 1m
     warn: $this > 0
    delay: down 5m multiplier 1.5 max 1h
     info: the backends subsystem is deprecated and will be removed soon. Migrate your configuration to exporting.conf.
       to: sysadmin

# make sure we are sending data to backend

    alarm: backend_last_buffering
       on: netdata.backend_metrics
    class: Netdata
component: Exporting engine
     type: Latency
     calc: $now - $last_collected_t
    units: seconds ago
    every: 10s
     warn: $this > (($status >= $WARNING)  ? ($update_every) : ( 5 * $update_every))
     crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
    delay: down 5m multiplier 1.5 max 1h
     info: number of seconds since the last successful buffering of backend data
       to: dba

    alarm: backend_metrics_sent
       on: netdata.backend_metrics
    class: Netdata
component: Exporting engine
     type: Workload
    units: %
     calc: abs($sent) * 100 / abs($buffered)
    every: 10s
     warn: $this != 100
    delay: down 5m multiplier 1.5 max 1h
     info: percentage of metrics sent to the backend server
       to: dba