| 1 | |
| 2 | # Overall system health: |
| 3 | # - 0: all components are healthy. |
| 4 | # - 1: one or more components might become overloaded soon. |
| 5 | # - 2: one or more components in the appliance might be degraded. |
| 6 | # - 3: one or more components might be in an unusable status and the appliance might become unresponsive soon. |
| 7 | # - 4: no health data is available. |
| 8 | |
| 9 | template: vcsa_system_health_warn |
| 10 | on: vcsa.system_health_status |
| 11 | class: Errors |
| 12 | type: Virtual Machine |
| 13 | component: VMware vCenter |
| 14 | calc: $orange |
| 15 | units: status |
| 16 | every: 10s |
| 17 | warn: $this == 1 |
| 18 | delay: down 1m multiplier 1.5 max 1h |
| 19 | summary: VCSA system status |
| 20 | info: VCSA overall system status is orange. One or more components are degraded. |
| 21 | to: sysadmin |
| 22 | |
| 23 | template: vcsa_system_health_crit |
| 24 | on: vcsa.system_health_status |
| 25 | class: Errors |
| 26 | type: Virtual Machine |
| 27 | component: VMware vCenter |
| 28 | calc: $red |
| 29 | units: status |
| 30 | every: 10s |
| 31 | crit: $this == 1 |
| 32 | delay: down 1m multiplier 1.5 max 1h |
| 33 | summary: VCSA system status |
| 34 | info: VCSA overall system status is red. One or more components are unavailable or will stop functioning soon. |
| 35 | to: sysadmin |
| 36 | |
| 37 | # Components health: |
| 38 | # - 0: healthy. |
| 39 | # - 1: healthy, but may have some problems. |
| 40 | # - 2: degraded, and may have serious problems. |
| 41 | # - 3: unavailable, or will stop functioning soon. |
| 42 | # - 4: no health data is available. |
| 43 | |
| 44 | template: vcsa_applmgmt_health_warn |
| 45 | on: vcsa.applmgmt_health_status |
| 46 | class: Errors |
| 47 | type: Virtual Machine |
| 48 | component: VMware vCenter |
| 49 | calc: $orange |
| 50 | units: status |
| 51 | every: 10s |
| 52 | warn: $this == 1 |
| 53 | delay: down 1m multiplier 1.5 max 1h |
| 54 | summary: VCSA ApplMgmt service status |
| 55 | info: VCSA ApplMgmt component status is orange. It is degraded, and may have serious problems. |
| 56 | to: silent |
| 57 | |
| 58 | template: vcsa_applmgmt_health_crit |
| 59 | on: vcsa.applmgmt_health_status |
| 60 | class: Errors |
| 61 | type: Virtual Machine |
| 62 | component: VMware vCenter |
| 63 | calc: $red |
| 64 | units: status |
| 65 | every: 10s |
| 66 | warn: $this == 1 |
| 67 | delay: down 1m multiplier 1.5 max 1h |
| 68 | summary: VCSA ApplMgmt service status |
| 69 | info: VCSA ApplMgmt component status is red. It is unavailable, or will stop functioning soon. |
| 70 | to: sysadmin |
| 71 | |
| 72 | template: vcsa_load_health_warn |
| 73 | on: vcsa.load_health_status |
| 74 | class: Errors |
| 75 | type: Virtual Machine |
| 76 | component: VMware vCenter |
| 77 | calc: $orange |
| 78 | units: status |
| 79 | every: 10s |
| 80 | warn: $this == 1 |
| 81 | delay: down 1m multiplier 1.5 max 1h |
| 82 | summary: VCSA Load status |
| 83 | info: VCSA Load component status is orange. It is degraded, and may have serious problems. |
| 84 | to: silent |
| 85 | |
| 86 | template: vcsa_load_health_crit |
| 87 | on: vcsa.load_health_status |
| 88 | class: Errors |
| 89 | type: Virtual Machine |
| 90 | component: VMware vCenter |
| 91 | calc: $red |
| 92 | units: status |
| 93 | every: 10s |
| 94 | warn: $this == 1 |
| 95 | delay: down 1m multiplier 1.5 max 1h |
| 96 | summary: VCSA Load status |
| 97 | info: VCSA Load component status is red. It is unavailable, or will stop functioning soon. |
| 98 | to: sysadmin |
| 99 | |
| 100 | template: vcsa_mem_health_warn |
| 101 | on: vcsa.mem_health_status |
| 102 | class: Errors |
| 103 | type: Virtual Machine |
| 104 | component: VMware vCenter |
| 105 | calc: $orange |
| 106 | units: status |
| 107 | every: 10s |
| 108 | warn: $this == 1 |
| 109 | delay: down 1m multiplier 1.5 max 1h |
| 110 | summary: VCSA Memory status |
| 111 | info: VCSA Memory component status is orange. It is degraded, and may have serious problems. |
| 112 | to: silent |
| 113 | |
| 114 | template: vcsa_mem_health_crit |
| 115 | on: vcsa.mem_health_status |
| 116 | class: Errors |
| 117 | type: Virtual Machine |
| 118 | component: VMware vCenter |
| 119 | calc: $red |
| 120 | units: status |
| 121 | every: 10s |
| 122 | warn: $this == 1 |
| 123 | delay: down 1m multiplier 1.5 max 1h |
| 124 | summary: VCSA Memory status |
| 125 | info: VCSA Memory component status is red. It is unavailable, or will stop functioning soon. |
| 126 | to: sysadmin |
| 127 | |
| 128 | template: vcsa_swap_health_warn |
| 129 | on: vcsa.swap_health_status |
| 130 | class: Errors |
| 131 | type: Virtual Machine |
| 132 | component: VMware vCenter |
| 133 | calc: $orange |
| 134 | units: status |
| 135 | every: 10s |
| 136 | warn: $this == 1 |
| 137 | delay: down 1m multiplier 1.5 max 1h |
| 138 | summary: VCSA Swap status |
| 139 | info: VCSA Swap component status is orange. It is degraded, and may have serious problems. |
| 140 | to: silent |
| 141 | |
| 142 | template: vcsa_swap_health_crit |
| 143 | on: vcsa.swap_health_status |
| 144 | class: Errors |
| 145 | type: Virtual Machine |
| 146 | component: VMware vCenter |
| 147 | calc: $red |
| 148 | units: status |
| 149 | every: 10s |
| 150 | warn: $this == 1 |
| 151 | delay: down 1m multiplier 1.5 max 1h |
| 152 | summary: VCSA Swap status |
| 153 | info: VCSA Swap component status is red. It is unavailable, or will stop functioning soon. |
| 154 | to: sysadmin |
| 155 | |
| 156 | template: vcsa_database_storage_health_warn |
| 157 | on: vcsa.database_storage_health_status |
| 158 | class: Errors |
| 159 | type: Virtual Machine |
| 160 | component: VMware vCenter |
| 161 | calc: $orange |
| 162 | units: status |
| 163 | every: 10s |
| 164 | warn: $this == 1 |
| 165 | delay: down 1m multiplier 1.5 max 1h |
| 166 | summary: VCSA Database status |
| 167 | info: VCSA Database Storage component status is orange. It is degraded, and may have serious problems. |
| 168 | to: silent |
| 169 | |
| 170 | template: vcsa_database_storage_health_crit |
| 171 | on: vcsa.database_storage_health_status |
| 172 | class: Errors |
| 173 | type: Virtual Machine |
| 174 | component: VMware vCenter |
| 175 | calc: $red |
| 176 | units: status |
| 177 | every: 10s |
| 178 | warn: $this == 1 |
| 179 | delay: down 1m multiplier 1.5 max 1h |
| 180 | summary: VCSA Database status |
| 181 | info: VCSA Database Storage component status is red. It is unavailable, or will stop functioning soon. |
| 182 | to: sysadmin |
| 183 | |
| 184 | template: vcsa_storage_health_warn |
| 185 | on: vcsa.storage_health_status |
| 186 | class: Errors |
| 187 | type: Virtual Machine |
| 188 | component: VMware vCenter |
| 189 | calc: $orange |
| 190 | units: status |
| 191 | every: 10s |
| 192 | warn: $this == 1 |
| 193 | delay: down 1m multiplier 1.5 max 1h |
| 194 | summary: VCSA Storage status |
| 195 | info: VCSA Storage component status is orange. It is degraded, and may have serious problems. |
| 196 | to: silent |
| 197 | |
| 198 | template: vcsa_storage_health_crit |
| 199 | on: vcsa.storage_health_status |
| 200 | class: Errors |
| 201 | type: Virtual Machine |
| 202 | component: VMware vCenter |
| 203 | calc: $red |
| 204 | units: status |
| 205 | every: 10s |
| 206 | warn: $this == 1 |
| 207 | delay: down 1m multiplier 1.5 max 1h |
| 208 | summary: VCSA Storage status |
| 209 | info: VCSA Storage component status is red. It is unavailable, or will stop functioning soon. |
| 210 | to: sysadmin |
| 211 | |
| 212 | # Software updates health: |
| 213 | # - 0: no updates available. |
| 214 | # - 2: non-security updates are available. |
| 215 | # - 3: security updates are available. |
| 216 | # - 4: an error retrieving information on software updates. |
| 217 | |
| 218 | template: vcsa_software_packages_health_warn |
| 219 | on: vcsa.software_packages_health_status |
| 220 | class: Errors |
| 221 | type: Virtual Machine |
| 222 | component: VMware vCenter |
| 223 | calc: $orange |
| 224 | units: status |
| 225 | every: 10s |
| 226 | warn: $this == 1 |
| 227 | delay: down 1m multiplier 1.5 max 1h |
| 228 | summary: VCSA software status |
| 229 | info: VCSA software packages security updates are available. |
| 230 | to: silent |