prometheus-operator: Remove pulled UPS-es
This commit is contained in:
		| @@ -88,8 +88,6 @@ spec: | |||||||
|     staticConfig: |     staticConfig: | ||||||
|       static: |       static: | ||||||
|         - ups-4.mgmt.k-space.ee |         - ups-4.mgmt.k-space.ee | ||||||
|         - ups-5.mgmt.k-space.ee |  | ||||||
|         - ups-6.mgmt.k-space.ee |  | ||||||
|         - ups-7.mgmt.k-space.ee |         - ups-7.mgmt.k-space.ee | ||||||
|         - ups-8.mgmt.k-space.ee |         - ups-8.mgmt.k-space.ee | ||||||
|         - ups-9.mgmt.k-space.ee |         - ups-9.mgmt.k-space.ee | ||||||
| @@ -113,7 +111,7 @@ spec: | |||||||
|       annotations: |       annotations: | ||||||
|         summary: One or more UPS-es is not in normal operation mode. This either means |         summary: One or more UPS-es is not in normal operation mode. This either means | ||||||
|           power is lost or UPS was loaded and it's now in bypass mode. |           power is lost or UPS was loaded and it's now in bypass mode. | ||||||
|       expr: sum(snmp_upsOutputSource { upsOutputSource = 'normal' }) < 6 |       expr: sum(snmp_upsOutputSource { upsOutputSource = 'normal' }) != 4 | ||||||
|       for: 1m |       for: 1m | ||||||
|       labels: |       labels: | ||||||
|         severity: critical |         severity: critical | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user