Dear All,
I am using Community class for PHP to work with API.
All is good, but I am stucked here in CREATING graph based for itemid.
$added_ids = ZabbixAPI::fetch_array('graph','create',array(name =>"testing","itemid"=>"22452"));
in DEBUG MODE, i am getting this
Response decoded: (Array ( [jsonrpc] => 2.0 [error] => Array ( [code] => -32500 [message] => Application error. [data] => Missing items for graph "testing" ) [id] => 1 ) ITEMS: Array ( [0] => )
Please help. !
Thanks
I am using Community class for PHP to work with API.
All is good, but I am stucked here in CREATING graph based for itemid.
$added_ids = ZabbixAPI::fetch_array('graph','create',array(name =>"testing","itemid"=>"22452"));
in DEBUG MODE, i am getting this
Response decoded: (Array ( [jsonrpc] => 2.0 [error] => Array ( [code] => -32500 [message] => Application error. [data] => Missing items for graph "testing" ) [id] => 1 ) ITEMS: Array ( [0] => )
Please help. !
Thanks