I use a web scenario to initiate an API call to a remote system. This call triggers some tests to be run that I can recover with a second API call.
If I call the second API too soon I don't get the results back, just a response with an element indicating that the collection is still "in progress". The examples given in raw PHP poll the response in a loop until there is no "in progress" and then triggers a call to pull back the required data.
I'm not sure that can be done in Zabbix. As an (hopefully simpler) alternative I'd like to add a 5 minute delay between step one of the web scenario and step 2 to ensure that the information collection is complete.
Can this be done?
If I call the second API too soon I don't get the results back, just a response with an element indicating that the collection is still "in progress". The examples given in raw PHP poll the response in a loop until there is no "in progress" and then triggers a call to pull back the required data.
I'm not sure that can be done in Zabbix. As an (hopefully simpler) alternative I'd like to add a 5 minute delay between step one of the web scenario and step 2 to ensure that the information collection is complete.
Can this be done?
Comment