summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/disks.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/disks.conf')
-rw-r--r--src/health/health.d/disks.conf28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/health/health.d/disks.conf b/src/health/health.d/disks.conf
index fe96837fb..d8176a6be 100644
--- a/src/health/health.d/disks.conf
+++ b/src/health/health.d/disks.conf
@@ -12,24 +12,22 @@
class: Utilization
type: System
component: Disk
- host labels: _os=linux freebsd
-chart labels: mount_point=!/dev !/dev/* !/run !/run/* *
- calc: $used * 100 / ($avail + $used)
- units: %
- every: 1m
- warn: $this > (($status >= $WARNING ) ? (80) : (90))
- crit: ($this > (($status == $CRITICAL) ? (90) : (98))) && $avail < 5
- delay: up 1m down 15m multiplier 1.5 max 1h
- summary: Disk ${label:mount_point} space usage
- info: Total space utilization of disk ${label:mount_point}
- to: sysadmin
+chart labels: mount_point=!/dev !/dev/* !/run !/run/* !HarddiskVolume* *
+ calc: $used * 100 / ($avail + $used)
+ units: %
+ every: 1m
+ warn: $this > (($status >= $WARNING ) ? (80) : (90))
+ crit: ($this > (($status == $CRITICAL) ? (90) : (98))) && $avail < 5
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ summary: Disk ${label:mount_point} space usage
+ info: Total space utilization of disk ${label:mount_point}
+ to: sysadmin
template: disk_inode_usage
on: disk.inodes
class: Utilization
type: System
component: Disk
- host labels: _os=linux freebsd
chart labels: mount_point=!/dev !/dev/* !/run !/run/* *
calc: $used * 100 / ($avail + $used)
units: %
@@ -55,7 +53,6 @@ chart labels: mount_point=!/dev !/dev/* !/run !/run/* *
template: disk_fill_rate
on: disk.space
-host labels: _os=linux freebsd
lookup: min -10m at -50m unaligned of avail
calc: ($this - $avail) / (($now - $after) / 3600)
every: 1m
@@ -67,7 +64,6 @@ host labels: _os=linux freebsd
template: out_of_disk_space_time
on: disk.space
-host labels: _os=linux freebsd
calc: ($disk_fill_rate > 0) ? ($avail / $disk_fill_rate) : (inf)
units: hours
every: 10s
@@ -92,7 +88,6 @@ host labels: _os=linux freebsd
template: disk_inode_rate
on: disk.inodes
-host labels: _os=linux freebsd
lookup: min -10m at -50m unaligned of avail
calc: ($this - $avail) / (($now - $after) / 3600)
every: 1m
@@ -105,7 +100,6 @@ host labels: _os=linux freebsd
template: out_of_disk_inodes_time
on: disk.inodes
-host labels: _os=linux freebsd
calc: ($disk_inode_rate > 0) ? ($avail / $disk_inode_rate) : (inf)
units: hours
every: 10s
@@ -129,7 +123,6 @@ host labels: _os=linux freebsd
class: Utilization
type: System
component: Disk
-host labels: _os=linux freebsd
lookup: average -10m unaligned
units: %
every: 1m
@@ -150,7 +143,6 @@ host labels: _os=linux freebsd
class: Latency
type: System
component: Disk
-host labels: _os=linux freebsd
lookup: average -10m unaligned
units: ms
every: 1m