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

item object flags description is incorrect/outdated

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Documentation (D)
    • Labels:
      None

      Description

      Right now there is (see http://www.zabbix.com/documentation/2.0/manual/appendix/api/item/get)
      "Possible values:
      0 - a plain item;
      1 - a discovered item."

      but I'm quietly sure that there should be 4 values (from sources):

      define('ZBX_FLAG_DISCOVERY_NORMAL', 0x0); // a normal item
      define('ZBX_FLAG_DISCOVERY', 0x1); // a low level discovery rule
      define('ZBX_FLAG_DISCOVERY_CHILD', 0x2); // an item prototype
      define('ZBX_FLAG_DISCOVERY_CREATED', 0x4); // an item created via a discovery rule

        Attachments

          Activity

            People

            Assignee:
            martins-v Martins Valkovskis
            Reporter:
            ojab ojab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: