From 42d1e08037feb47b8126223c04242dc0c2bc1f1e Mon Sep 17 00:00:00 2001 From: Thomas Hamm Date: Thu, 26 Jan 2017 16:26:45 +0000 Subject: [PATCH] fix unknown_message bug --- check_http_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_http_json.py b/check_http_json.py index cfcc617..dac67ec 100755 --- a/check_http_json.py +++ b/check_http_json.py @@ -56,7 +56,7 @@ class NagiosHelper: def append_critical(self, critical_message): self.critical_message += critical_message def append_unknown(self, unknown_message): - self.critical_message += unknown_message + self.unknown_message += unknown_message def append_metrics(self, (performance_data, warning_message, critical_message)): self.performance_data += performance_data self.append_warning(warning_message)