From 0ed14fe0ec0d6c8645fb9988cd98e5f442a3c53f Mon Sep 17 00:00:00 2001 From: Tavo Arguedas <44301863+olsoncr@users.noreply.github.com> Date: Fri, 12 Feb 2021 11:43:36 -0600 Subject: [PATCH] Update zabbixlTokenUpdater.py --- zabbixlTokenUpdater.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zabbixlTokenUpdater.py b/zabbixlTokenUpdater.py index b3a746e..b9a7197 100644 --- a/zabbixlTokenUpdater.py +++ b/zabbixlTokenUpdater.py @@ -32,10 +32,9 @@ def updateToken(token): 'Authorization': 'Bearer '+ token } - # Update your http agentchecks with the token. Use the item ID number found in the URL of the http agent itself. - + # Update your http agent checks with the token. Use the item ID number found in the URL of the http agent itself. zapi.item.update(itemid='00000', headers=jsontoken) - logging.info("Apperantly the token was updted... a double check won't hurt!") + logging.info("Apperantly the token was updated... a double check won't hurt!") except Exception as e: logging.error(e)