-
Incident report
-
Resolution: Fixed
-
Major
-
3.2.6
-
None
hello ,
I 'am having a problem with the API in version 3.2.4
I try to create a host throuht the API with this parameters :
$params = array(
'host'=>$name,
'interfaces'=>array(
array(
'ip'=>$ip,
'port'=>'10050',
'type'=> 1,
'main'=> 1,
'useip'=> 1,
'dns'=> ""
)
),
'groups'=>$groups,
'templates'=>$id_templates,
'inventory_mode'=>0,
'inventory'=>array (
'buzz'=>$user,
'macaddress_b'=>' test Depuis zoogle'
)
);
$api->hostcreate($params);
$result=$api->getResponse();
return array('result_zabbix'=>json_decode($result,true));
But , it returns "error 32500 No permission to referred object"
If i try this with a zabbix server 2.4.7, it return ok .
I can't find what is the wrong parameter as the api doesn't seem to have change that much .
any help ? please
Thanks in advance ?
Thierry