From 2897ae0fa998d073f9f97143eaf908cdf4e4c272 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Wed, 8 Mar 2023 23:33:19 -0500 Subject: [PATCH] Update python-node-exporter.py --- app/python-node-exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/python-node-exporter.py b/app/python-node-exporter.py index 9bb5b7c..8b7d4fb 100644 --- a/app/python-node-exporter.py +++ b/app/python-node-exporter.py @@ -370,7 +370,7 @@ def ThreadProbe(): log.debug("Thread Probe Started") metricsDictionary = {} - if probe_thread.is_alive(): + if auth_thread.is_alive(): metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 1 else: metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 0