From c5a6530af10370ec796978307b3a8dd3f32899ab Mon Sep 17 00:00:00 2001 From: Venkata Mutyala Date: Thu, 9 Nov 2023 20:40:29 -0800 Subject: [PATCH] Update monitoring_script.py (#9) --- monitoring_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring_script.py b/monitoring_script.py index 1cdbcac..0a8ca95 100644 --- a/monitoring_script.py +++ b/monitoring_script.py @@ -108,7 +108,7 @@ def send_opsgenie_heartbeat(config): if execution_count < 2: if is_cluster_healthy(config): logger.info("Checks: STARTED") - send_opsgenie_heartbeat(config.OPSGENIE_HEARTBEAT_NAME) + send_opsgenie_heartbeat(config) logger.info("Checks: PASSED") else: logger.error(f"One or more health checks failed. Heartbeat for {config.OPSGENIE_HEARTBEAT_NAME} was not sent")