Hi,
I downloaded the lastest version of Zabbix 1.9.1 and it has version 1.3 api.
When I execute the method that shown in like;
I got the result like this;
As you see in above there is no ip information in result list.
How can I know which result element is about which searched ip?
In Zabbix 1.8.1 we had problem about filter option and we installed the version 1.9.1.
Filter option is worked in this version but result is not good.
Zabbix API really makes me crazy. It is not working correcly and its documentation is different from the implemented source. Is it a joke?
http://www.zabbix.com/documentation/...x/api/host/get
In documentation it is written ip in result but it is not in there...
And finally I write some question before and noone answered, what for this forum?
I downloaded the lastest version of Zabbix 1.9.1 and it has version 1.3 api.
When I execute the method that shown in like;
Code:
{
"jsonrpc":"2.0",
"method":"host.get",
"params":{
"output":"extend",
"filter":{
"ip":["192.18.12.130","192.18.12.128"]
}
},
"auth":"c74d89dd173f0be3bacd7f15ecf6d743",
"id":1
}
Code:
{"jsonrpc":"2.0","result":[{"maintenances":[],"hostid":"10049","proxy_hostid":0,"host":"host1","status":"0","disable_until":"0",
"error":"","available":"0","errors_from":"0","lastaccess":"0","ipmi_authtype":"-1","ipmi_privilege":"2","ipmi_username":"","ipmi_password":"",
"ipmi_disable_until":"0","ipmi_available":"0","snmp_disable_until":"0","snmp_available":"0","maintenanceid":0,"maintenance_status":"0",
"maintenance_type":"0","maintenance_from":"0","ipmi_errors_from":"0","snmp_errors_from":"0","ipmi_error":"","snmp_error":""},
{"maintenances":[],"hostid":"10050","proxy_hostid":0,"host":"host2","status":"0","disable_until":"0","error":"",
"available":"0","errors_from":"0","lastaccess":"0","ipmi_authtype":"-1","ipmi_privilege":"2","ipmi_username":"","ipmi_password":"",
"ipmi_disable_until":"0","ipmi_available":"0","snmp_disable_until":"0","snmp_available":"0","maintenanceid":0,"maintenance_status":"0",
"maintenance_type":"0","maintenance_from":"0","ipmi_errors_from":"0","snmp_errors_from":"0","ipmi_error":"","snmp_error":""}],"id":1}
How can I know which result element is about which searched ip?
In Zabbix 1.8.1 we had problem about filter option and we installed the version 1.9.1.
Filter option is worked in this version but result is not good.
Zabbix API really makes me crazy. It is not working correcly and its documentation is different from the implemented source. Is it a joke?
http://www.zabbix.com/documentation/...x/api/host/get
In documentation it is written ip in result but it is not in there...
And finally I write some question before and noone answered, what for this forum?
Comment