I've looked through the docs and can't really find an answer if this is possible.
I want a watcher job to fire every 5 minutes to hit an API.
First of all it must hit the API to gain an authorization token, then once it has the token it needs to use it in a subsequential api call to get what I need. Is this possible in watcher?
That's pretty advanced for watcher to do, so it's not possible. It's mostly a tool to query Elasticsearch that sends out a request to a few configured options. You'll have to use zabbix for that.
This could indeed be done, using a chained input, retrieving the API key first, then using a transform to properly extract it, and then use it in the next input.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.