Details

      Description

      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":

      {"status":0,"triggerid":"40601"}

      ,"jsonrpc":"2.0"}
      [10102] => gzip
      )
      Got response from API: ({"jsonrpc":"2.0","error":

      {"code":-32602,"message":"Invalid params.","data":"[ CTrigger::update ] Trigger [Port Status of 001 is now at UP mode ]: cannot update"}

      ,"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
      )

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              white_wire hamid sfandiari
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: