Dear Zabbix API users, I am trying to work with the API and list all httptests together with their steps. I am using the community provided python library from https://github.com/lukecyca/pyzabbix by installing it via the package manaher dnf install python-pyzabbix. The full name/version is python-pyzabbix-0.7.3-8.fc26.noarch.
The zabbix server is version 3.0.15. Authentication works and I get a list of the httptests with their attributes httptestid, name, applicationid etc. I pretty much used the parameters from the offical documentation of the api. https://www.zabbix.com/documentation...e/httptest/get
This is my for loop that prints the stuff:
The response in the official documtation contains also the steps with their urls. I have not managed to get them yet. Also tried a ruby gem for doing the same but the result keeps also the same.
Do you have any pointer for me where I am going wrong?
Cheers,
Timo
The zabbix server is version 3.0.15. Authentication works and I get a list of the httptests with their attributes httptestid, name, applicationid etc. I pretty much used the parameters from the offical documentation of the api. https://www.zabbix.com/documentation...e/httptest/get
This is my for loop that prints the stuff:
Code:
for httptest in zapi.httptest.get({ "selectSteps": "extend", "output": "extend" }):
pp.pprint(httptest)
print
Do you have any pointer for me where I am going wrong?
Cheers,
Timo
Comment