Hi All,
I'm trying to import configuration data via the Zabbix API, but it's not working.
For the test I've copied the example import data from this URL
I've created a script to handle the authentication and post the data via CURL
I edited the source data from the example to something logical for my environment (IP, servername etc).
Now, when I import the data via the API the response is what I expect it to be {"jsonrpc":"2.0","result":true,"id":1}
But when I look into Zabbix, nothing happened, no host is added!
When I import the source data via the webui, it works so the data is OK.
I'm using the latest Zabbix version, Zabbix 2.0.6
Can someone help with this one?
Thanks a lot
Kind Regards
Ruud
I'm trying to import configuration data via the Zabbix API, but it's not working.
For the test I've copied the example import data from this URL
I've created a script to handle the authentication and post the data via CURL
I edited the source data from the example to something logical for my environment (IP, servername etc).
Now, when I import the data via the API the response is what I expect it to be {"jsonrpc":"2.0","result":true,"id":1}
But when I look into Zabbix, nothing happened, no host is added!
When I import the source data via the webui, it works so the data is OK.
I'm using the latest Zabbix version, Zabbix 2.0.6
Can someone help with this one?
Thanks a lot
Kind Regards
Ruud
Comment