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

vfs.file.get and vfs.file.owner - display unknown "user:group" as numbers instead of error

    XMLWordPrintable

Details

    • Team B
    • Sprint 84 (Jan 2022)
    • 0.8

    Description

      Moved from ZBXNEXT-6688 (25):
      vfs.file.get[] and vfs.file.owner[] refuse to monitor files with unknown user or group.
      zabbix_get shows an error like "ZBX_NOTSUPPORTED: Cannot obtain user name.".

      On Unix it can happen when an administrator deletes a user but forgets to reassign files to other user.

      Expected:

      I think it can be improved by showing numerical user/group IDs instead of reporting an error, like 'ls' utility does:

      # echo > abc.txt
      # chown 12345:54321 abc.txt
      # ls -l abc.txt 
      -rw-r--r-- 1 12345 54321 0 okt 27 00:25 abc.txt
      

      Attachments

        Issue Links

          Activity

            People

              asestakovs Aleksejs Sestakovs
              MVekslers Michael Veksler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: