@cryptotaxi247 / netdata-1 / commits / 1060c5d82

added note to alarms that do not send clear notifications; #970

Costa Tsaousis (ktsaou) committed Apr 26, 2017 at 23:31 UTC 1060c5d8269a1026ab6240a6c9c22ec1896cc653
4 files changed +5 -5
conf.d/health.d/net.conf
+1 -1
@@ -102,6 +102,6 @@ families: *
102 warn: $this > (($status >= $WARNING)?(200):(1000))
103 crit: $this > (($status >= $WARNING)?(1000):(2000))
104 options: no-clear-notification
105 - info: the % of the rate of received packets in the last 10 seconds, compared to the rate of the last minute
105 + info: the % of the rate of received packets in the last 10 seconds, compared to the rate of the last minute (there will be clear notification for this alarm)
106 to: sysadmin
107
conf.d/health.d/tcp_resets.conf
+2 -2
@@ -29,7 +29,7 @@
29 warn: $this > ((($1m_ipv4_tcp_resets_sent < 5)?(5):($1m_ipv4_tcp_resets_sent)) * (($status >= $WARNING) ? (1) : (4)))
30 delay: up 0 down 60m multiplier 1.2 max 2h
31 options: no-clear-notification
32 - info: average TCP RESETS this host is sending, over the last 10 seconds (this can be an indication that a port scan is made, or that a service running on this host has crashed)
32 + info: average TCP RESETS this host is sending, over the last 10 seconds (this can be an indication that a port scan is made, or that a service running on this host has crashed; there will be clear notification for this alarm)
33 to: sysadmin
34
35 # -----------------------------------------------------------------------------
@@ -50,5 +50,5 @@ options: no-clear-notification
50 warn: $this > ((($1m_ipv4_tcp_resets_received < 5)?(5):($1m_ipv4_tcp_resets_received)) * (($status >= $WARNING) ? (1) : (4)))
51 delay: up 0 down 60m multiplier 1.2 max 2h
52 options: no-clear-notification
53 - info: average TCP RESETS this host is receiving, over the last 10 seconds (this can be an indication that a service this host needs, has crashed)
53 + info: average TCP RESETS this host is receiving, over the last 10 seconds (this can be an indication that a service this host needs, has crashed; there will be clear notification for this alarm)
54 to: sysadmin
conf.d/health.d/web_log.conf
+2 -1
@@ -156,6 +156,7 @@ families: *
156 delay: down 15m multiplier 1.5 max 1h
157 options: no-clear-notification
158 info: the percentage of successful web requests over the last 5 minutes, \
159 - compared with the previous 5 minutes
159 + compared with the previous 5 minutes \
160 + (there will be clear notification for this alarm)
161 to: webmaster
162
src/statistical.c
-1
@@ -121,7 +121,6 @@ long double moving_median(long double *series, size_t entries, size_t period) {
121 if(entries <= period)
122 return median(series, entries);
123
124 - size_t len = entries - period;
124 long double *data = copy_series(series, entries);
125
126 size_t i;