-
Incident report
-
Resolution: Fixed
-
Major
-
1.8.4rc2
-
None
-
freebsd 8 64bit mysql5.5 php5.2, http://andrewfarley.com/zabbix_php_api
i wanna update a trigger via API but i get the "cannot update tirgger" . i have checked all of access permission , all is ok but i am still getting cannot update by the error code 32602
Login OK!
Tue, 07 Dec 10 13:01:11 +0330
CURL URL: http://81.91.129.14/zabbix/api_jsonrpc.php
<br>CURL Options: Array
(
[19913] => 1
[13] => 30
[78] => 5
[81] =>
[64] =>
[52] => 1
[74] => 1
[10023] => Array
(
[0] => Content-Type: application/json-rpc
[1] => User-Agent: ZabbixAPI v1.0 - http://andrewfarley.com/zabbix_php_api
)
[10036] => POST
[10015] => {"auth":"1ca202fe363ad0033abea702f5e8bd9a","method":"trigger.update","id":1,"params":
,"jsonrpc":"2.0"}
[10102] => gzip
)
Got response from API: ({"jsonrpc":"2.0","error":
,"id":1})
Response decoded: (Array
(
[jsonrpc] => 2.0
[error] => Array
(
[code] => -32602
[message] => Invalid params.
[data] => [ CTrigger::update ] Trigger [Port Status of 001 is now at UP mode ]: cannot update
)