]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/fping.conf
Merge pull request #1652 from ktsaou/master
[netdata.git] / conf.d / health.d / fping.conf
1
2 template: fping_last_collected_secs
3 families: *
4       on: fping.latency
5     calc: $now - $last_collected_t
6    units: seconds ago
7    every: 10s
8     warn: $this > (($status >= $WARNING)  ? ($update_every) : ( 5 * $update_every))
9     crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
10    delay: down 5m multiplier 1.5 max 1h
11     info: number of seconds since the last successful data collection
12       to: sysadmin
13
14 template: host_reachable
15 families: *
16       on: fping.latency
17     calc: $average != nan
18    units: up/down
19    every: 10s
20     crit: $this == 0
21     info: states if the remote host is reachable
22    delay: down 30m multiplier 1.5 max 2h
23       to: sysadmin
24
25 template: host_latency
26 families: *
27       on: fping.latency
28   lookup: average -10s unaligned of average
29    units: ms
30    every: 10s
31    green: 300
32      red: 1000
33     warn: $this > $green OR $max > $red
34     crit: $this > $red
35     info: average round trip delay during the last 10 seconds
36    delay: down 30m multiplier 1.5 max 2h
37       to: sysadmin
38
39 template: packet_loss
40 families: *
41       on: fping.quality
42   lookup: average -10m unaligned of returned
43     calc: 100 - $this
44    green: 1
45      red: 10
46    units: %
47    every: 10s
48     warn: $this > $green
49     crit: $this > $red
50     info: packet loss percentage
51    delay: down 30m multiplier 1.5 max 2h
52       to: sysadmin
53