@cryptotaxi247 / netdata-1 / commits / 866afd4be

network interface errors are now warnings; added mysql alarm

Costa Tsaousis (ktsaou) committed Sep 5, 2016 at 23:20 UTC 866afd4be1f8a02b0a859047bf2ad8c7f2a8c054
3 files changed +15 -2
conf.d/Makefile.am
+1
@@ -47,6 +47,7 @@ dist_healthconfig_DATA = \
47 health.d/disks.conf \
48 health.d/entropy.conf \
49 health.d/memcached.conf \
50 + health.d/mysql.conf \
51 health.d/named.conf \
52 health.d/net.conf \
53 health.d/nginx.conf \
conf.d/health.d/mysql.conf new
+12
@@ -0,0 +1,12 @@
1 +
2 +# make sure mysql is running
3 +
4 +template: mysql_last_collected_secs
5 + on: mysql.queries
6 + calc: $now - $last_collected_t
7 + every: 10s
8 + warn: $this > ( 5 * $update_every)
9 + crit: $this > (60 * $update_every)
10 + units: seconds ago
11 + info: number of seconds since the last successful data collection
12 + to: dba
conf.d/health.d/net.conf
+2 -2
@@ -7,7 +7,7 @@ template: 30min_packet_drops
7 on: net.drops
8 lookup: sum -30m unaligned absolute
9 every: 1m
10 - crit: $this > 0
10 + warn: $this > 0
11 units: packets
12 info: dropped packets in the last 30 minutes
13 to: sysadmin
@@ -22,7 +22,7 @@ template: 30min_fifo_errors
22 on: net.fifo
23 lookup: sum -30m unaligned absolute
24 every: 1m
25 - crit: $this > 0
25 + warn: $this > 0
26 units: errors
27 info: network interface fifo errors in the last 30 minutes
28 to: sysadmin