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

    Details

    • Team:
      Team A
    • Story Points:
      0.7

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: