Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2923

New item type: vfs.file.owner

    XMLWordPrintable

    Details

    • Epic Link:
    • Team:
      Team B
    • Sprint:
      Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021)
    • Story Points:
      1

      Description

      Create an item type that returns the ownership of a file.
      A positional argument should be used to select user or group ownership and numerical (id) or textual output (name). Id and user should be the defaults.

      e.g. :
      vfs.file.owner['/tmp/test.txt'] => 1001
      vfs.file.owner['/tmp/test.txt',user,id] => 1001
      vfs.file.owner['/tmp/test.txt',,id] => 1001
      vfs.file.owner['/tmp/test.txt',user,name] => zabbix
      vfs.file.owner['/tmp/test.txt',,name] => zabbix

      vfs.file.owner['/tmp/test.txt',group] => 100
      vfs.file.owner['/tmp/test.txt',group,id => 100
      vfs.file.owner['/tmp/test.txt',group,name] => users

      In case the file doesn't exist or something else goes wrong reading the file ownership, return ZBX_NOTSUPPORTED.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              MVekslers Michael Veksler
              Reporter:
              qix Raymond Kuiper
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: