Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6413

Zabbix API function 'webcheck.update' incorrectly requires 'name'

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.0.6rc1
    • Component/s: API (A)
    • Environment:
      Zabbix 2.0.5 on Debian 6 (where Zabbix and certain dependencies are pulled from 'unstable' via APT pinning).

      Description

      According to https://www.zabbix.com/documentation/2.0/manual/appendix/api/webcheck/update the 'webcheck.update' function should only require the 'httptestid' property to be defined plus of course one or more other properties which are actually being updated - similar to the update functions of other object types.

      With Zabbix 2.0.5 when trying to update the 'macros' field of a web scenario by calling 'webcheck.update' with the 'httptestid' and the new 'macros' value, I get the error 'Only characters are allowed.'.

      But if I specify the web scenario's 'name', in addition to 'httptestid' and the new 'macros' value, the function works successfully.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rob.parker Robert Parker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: