diff options
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/ping.conf | 49 | ||||
-rw-r--r-- | web/gui/dashboard_info.js | 18 |
3 files changed, 68 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index 1bf3c87893..c5dcb844bc 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -67,6 +67,7 @@ dist_healthconfig_DATA = \ health.d/netfilter.conf \ health.d/nut.conf \ health.d/pihole.conf \ + health.d/ping.conf \ health.d/postgres.conf \ health.d/portcheck.conf \ health.d/processes.conf \ diff --git a/health/health.d/ping.conf b/health/health.d/ping.conf new file mode 100644 index 0000000000..16827851f0 --- /dev/null +++ b/health/health.d/ping.conf @@ -0,0 +1,49 @@ + + template: ping_host_reachable + families: * + on: ping.host_packet_loss + class: Errors + type: Other +component: Network + lookup: average -30s unaligned of loss + calc: $this != nan AND $this < 100 + units: up/down + every: 10s + crit: $this == 0 + delay: down 30m multiplier 1.5 max 2h + info: reachability status of the network host + to: sysadmin + + template: ping_packet_loss + families: * + on: ping.host_packet_loss + class: Errors + type: Other +component: Network + lookup: average -10m unaligned of loss + green: 5 + red: 10 + units: % + every: 10s + warn: $this > $green + crit: $this > $red + delay: down 30m multiplier 1.5 max 2h + info: packet loss percentage to the network host over the last 10 minutes + to: sysadmin + + template: ping_host_latency + families: * + on: ping.host_rtt + class: Latency + type: Other +component: Network + lookup: average -10s unaligned of avg + units: ms + every: 10s + green: 500 + red: 1000 + warn: $this > $green OR $max > $red + crit: $this > $red + delay: down 30m multiplier 1.5 max 2h + info: average latency to the network host over the last 10 seconds + to: sysadmin diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index 530f15e263..c61ad2bb12 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -303,6 +303,12 @@ netdataDashboard.menu = { info: 'Network latency statistics, via <b>fping</b>. <b>fping</b> is a program to send ICMP echo probes to network hosts, similar to <code>ping</code>, but much better performing when pinging multiple hosts. fping versions after 3.15 can be directly used as netdata plugins.' }, + 'ping': { + title: 'Ping', + icon: '<i class="fas fa-exchange-alt"></i>', + info: 'Measures round-trip time and packet loss by sending ping messages to network hosts.' + }, + 'gearman': { title: 'Gearman', icon: '<i class="fas fa-tasks"></i>', @@ -7564,6 +7570,18 @@ netdataDashboard.context = { '<a href="https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-state-terminated" target="_blank">More info.</a>' }, + // Ping + + 'ping.host_rtt': { + info: 'Round-trip time (RTT) is the time it takes for a data packet to reach its destination and return back to its original source.' + }, + 'ping.host_packet_loss': { + info: 'Packet loss occurs when one or more transmitted data packets do not reach their destination. Usually caused by data transfer errors, network congestion or firewall blocking. ICMP echo packets are often treated as lower priority by routers and target hosts, so ping test packet loss may not always translate to application packet loss.' + }, + 'ping.host_packets': { + info: 'Number of ICMP messages sent and received. These counters should be equal if there is no packet loss.' + }, + // ------------------------------------------------------------------------ }; |