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

incorrect response on checking inodes on reiserfs

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.8
    • Fix Version/s: 2.1.0
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Any linux distribution
      Zabbix agent version: 1.8.8

      Description

      If I check a reiserfs file system for inodes with zabbix agent in percent (i.e. vfs.fs.inode[/,pfree]), I get the '-nan' in response.
      Due to reiserfs does not has fixed predefined number of inodes on the file system, the resposne should be, I guess, something like 'ZBX_NOTSUPPORTED' or something more informative than just '-nan'.

      Second, if I check for inodes like this 'vfs.fs.inode[/,free]', I get just zero in response.
      Okay, man 2 statfs says 'Fields that are undefined for a particular file system are set to 0'. Why not to sent answer by zabbix agent like 'not supported' if the file system I try to check does not has fixed predefined number of inodes?

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            blackst0ne Vitaliy Klachkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: