@cryptotaxi247 / netdata-1 / commits / be7d110ae

added inodes alarm

Costa Tsaousis (ktsaou) committed Sep 11, 2016 at 22:06 UTC be7d110ae40200fd48f62af6ee6a835f0ac1c10c
1 file changed +38 -2
conf.d/health.d/disks.conf
+38 -2
@@ -1,3 +1,29 @@
1 +# -----------------------------------------------------------------------------
2 +# make sure we collect values for each disk
3 +
4 +# for mount points
5 +template: disk_space_last_collected_secs
6 + on: disk.space
7 + calc: $now - $last_collected_t
8 + every: 10s
9 + warn: $this > ( 5 * $update_every)
10 + crit: $this > (60 * $update_every)
11 + units: seconds ago
12 + info: number of seconds since the last successful data collection of the mount point
13 + to: sysadmin
14 +
15 +# for block devices
16 +template: disk_last_collected_secs
17 + on: disk.io
18 + calc: $now - $last_collected_t
19 + every: 10s
20 + warn: $this > ( 5 * $update_every)
21 + crit: $this > (60 * $update_every)
22 + units: seconds ago
23 + info: number of seconds since the last successful data collection of the block device
24 + to: sysadmin
25 +
26 +
27 # -----------------------------------------------------------------------------
28 # low disk space
29
@@ -15,6 +41,16 @@ template: disk_space_usage
41 info: current disk space usage
42 to: sysadmin
43
44 +template: disk_inode_usage
45 + on: disk.inodes
46 + calc: $used * 100 / ($avail + $used)
47 + every: 1m
48 + warn: $this > 80
49 + crit: $this > 95
50 + units: %
51 + info: current disk inode usage
52 + to: sysadmin
53 +
54
55 # -----------------------------------------------------------------------------
56 # disk fill rate
@@ -80,8 +116,8 @@ template: 10min_disk_backlog
116 on: disk.backlog
117 lookup: average -10m unaligned
118 every: 1m
83 - green: 1000
84 - red: 2000
119 + green: 2000
120 + red: 5000
121 warn: $this > $green
122 crit: $this > $red
123 units: ms