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