My problem is not a new one from what I'm reading: I want to call an external API that requires me to authenticate first and get a token to use in each subsequent call.
I can get the token just fine with an HTTP Agent but cannot find a way to pass it on to a next call.
The Javascript prepocessing balks at using Fetch or XMLHttpRequest, so that was a dead end.
Trying to follow what is said in: https://support.zabbix.com/browse/ZBXNEXT-4744 (last entry)
But I don't know how to get an action to call the Zabbix API to update a macro.
Thoughts?
I can get the token just fine with an HTTP Agent but cannot find a way to pass it on to a next call.
The Javascript prepocessing balks at using Fetch or XMLHttpRequest, so that was a dead end.
Trying to follow what is said in: https://support.zabbix.com/browse/ZBXNEXT-4744 (last entry)
But I don't know how to get an action to call the Zabbix API to update a macro.
Thoughts?
Comment