summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/scaleio.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/scaleio.conf')
-rw-r--r--src/health/health.d/scaleio.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/health/health.d/scaleio.conf b/src/health/health.d/scaleio.conf
new file mode 100644
index 000000000..b089cb85e
--- /dev/null
+++ b/src/health/health.d/scaleio.conf
@@ -0,0 +1,33 @@
+
+# make sure Storage Pool capacity utilization is under limit
+
+ template: scaleio_storage_pool_capacity_utilization
+ on: scaleio.storage_pool_capacity_utilization
+ class: Utilization
+ type: Storage
+component: ScaleIO
+ calc: $used
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (80) : (85))
+ crit: $this > (($status == $CRITICAL) ? (85) : (90))
+ delay: down 15m multiplier 1.5 max 1h
+ summary: ScaleIO storage pool capacity utilization
+ info: Storage pool capacity utilization
+ to: sysadmin
+
+
+# make sure Sdc is connected to MDM
+
+ template: scaleio_sdc_mdm_connection_state
+ on: scaleio.sdc_mdm_connection_state
+ class: Utilization
+ type: Storage
+component: ScaleIO
+ calc: $connected
+ every: 10s
+ warn: $this != 1
+ delay: up 30s down 5m multiplier 1.5 max 1h
+ summary: ScaleIO SDC-MDM connection state
+ info: Data Client (SDC) to Metadata Manager (MDM) connection state (0: disconnected, 1: connected)
+ to: sysadmin