Update zabbixlTokenUpdater.py
This commit is contained in:
@ -33,9 +33,8 @@ def updateToken(token):
|
||||
}
|
||||
|
||||
# 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user