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

Inconsistent 'mode' parameter check in vfs.dir.size() code

XMLWordPrintable

    • 0.7

      I checked the new function vfs.dir.size and its code has the unbalanced judgement for mode option.

      prepare_parameters() decides the mode option to SIZE_MODE_APPARENT, SIZE_MODE_DISK and others and in others returns FAIL.
      In such a situation its caller vfs_dir_size() stops to monitor. In addition, first judgement has no care for others. But second cares.

            andris Andris Mednis
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: