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

Interesting behaviour of nodata(0)

    XMLWordPrintable

    Details

      Description

      This can be considered either a nasty bug or a very cool undocumented feature.

      nodata(0) returns 0 (there is data) for items with at least one value stored in history or value cache.

      nodata(0) returns 1 (there is no data) for items with empty history (no data gathered or all data deleted by housekeeper and value cache cleared).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: