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

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.6rc1
    • 2.0.5
    • API (A)
    • Zabbix 2.0.5 on Debian 6 (where Zabbix and certain dependencies are pulled from 'unstable' via APT pinning).

      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.

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

              Created:
              Updated:
              Resolved: