From ba87c611df222efdead8287e87bc25744fd492fa Mon Sep 17 00:00:00 2001 From: baddlan Date: Fri, 19 Feb 2016 13:32:25 -0500 Subject: [PATCH] Update check_http_json.py Fixed the undefined critical_message variable error --- 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 05a65df..08df991 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 += critical_message + self.critical_message += unknown_message def append_metrics(self, (performance_data, warning_message, critical_message)): self.performance_data += performance_data self.append_warning(warning_message)