Ad Widget

Collapse

Oauth python zabbix token update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jardel
    Junior Member
    • Jun 2015
    • 13

    #1

    Oauth python zabbix token update

    Oauth python zabbix token update Folks, I collect information from my devices via an external API (LLD), but the token I receive expires in 2 hours (Aruba Central). I created an update file in python, but I don't know how to make Zabbix call the file, pass the information needed to update the token, and collect the response that the file generates (access token / refresh token). Any idea how to do it? I have an LLD discovery with GET requests from my host, and in it I created a macro for the token, manually I generate and update it, but I want to automate it, and I know it's possible, I just don't know how.
Working...