Module: check_mk
Branch: master
Commit: 2dfc839caaef4356fe66f391039b8682f9517791
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2dfc839caaef43…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Dec 20 15:32:09 2017 +0100
Changed some evaluations of salesforce instance states
Change-Id: I5f0574677430700288b1a31aac858346026c1e69
---
checks/salesforce_instances | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/checks/salesforce_instances b/checks/salesforce_instances
index 84518b0..6e09451 100644
--- a/checks/salesforce_instances
+++ b/checks/salesforce_instances
@@ -46,12 +46,12 @@ def inventory_salesforce_instances(parsed):
def check_salesforce_instances(item, params, parsed):
map_states = {
"OK": (0, "OK"),
- "MAJOR_INCIDENT_CORE": (0, "major incident core"),
- "MINOR_INCIDENT_CORE": (0, "minor incident core"),
+ "MAJOR_INCIDENT_CORE": (2, "major incident core"),
+ "MINOR_INCIDENT_CORE": (1, "minor incident core"),
"MAINTENANCE_CORE": (0, "maintenance core"),
"INFORMATIONAL_CORE": (0, "informational core"),
- "MAJOR_INCIDENT_NONCORE": (0, "major incident noncore"),
- "MINOR_INCIDENT_NONCORE": (0, "minor incident noncore"),
+ "MAJOR_INCIDENT_NONCORE": (2, "major incident noncore"),
+ "MINOR_INCIDENT_NONCORE": (1, "minor incident noncore"),
"MAINTENANCE_NONCORE": (0, "maintenance noncore"),
"INFORMATIONAL_NONCORE": (0, "informational noncore"),
}