| 1 | |
| 2 | # make sure Storage Pool capacity utilization is under limit |
| 3 | |
| 4 | template: scaleio_storage_pool_capacity_utilization |
| 5 | on: scaleio.storage_pool_capacity_utilization |
| 6 | class: Utilization |
| 7 | type: Storage |
| 8 | component: ScaleIO |
| 9 | calc: $used |
| 10 | units: % |
| 11 | every: 10s |
| 12 | warn: $this > (($status >= $WARNING) ? (80) : (85)) |
| 13 | crit: $this > (($status == $CRITICAL) ? (85) : (90)) |
| 14 | delay: down 15m multiplier 1.5 max 1h |
| 15 | summary: ScaleIO storage pool capacity utilization |
| 16 | info: Storage pool capacity utilization |
| 17 | to: sysadmin |
| 18 | |
| 19 | |
| 20 | # make sure Sdc is connected to MDM |
| 21 | |
| 22 | template: scaleio_sdc_mdm_connection_state |
| 23 | on: scaleio.sdc_mdm_connection_state |
| 24 | class: Utilization |
| 25 | type: Storage |
| 26 | component: ScaleIO |
| 27 | calc: $connected |
| 28 | every: 10s |
| 29 | warn: $this != 1 |
| 30 | delay: up 30s down 5m multiplier 1.5 max 1h |
| 31 | summary: ScaleIO SDC-MDM connection state |
| 32 | info: Data Client (SDC) to Metadata Manager (MDM) connection state (0: disconnected, 1: connected) |
| 33 | to: sysadmin |