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

inconsistent regexp information and references in agent item page

    XMLWordPrintable

    Details

    • Type: Documentation task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.2 (plan)
    • Component/s: Documentation (D)
    • Labels:
      None
    • Team:
      Team D
    • Story Points:
      0

      Description

      See https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/zabbix_agent .
      Many item keys support regexp in parameters, but the detail about that regexp is inconsistent and sometimes a bit lacking.

      For example, several different ways of saying this is regexp are used:

      • "regular expression describing the required pattern"
      • "regex describing the file, directory and symbolic link name"
      • "Perl Compatible Regular Expression (PCRE) or POSIX extended regular expression before Zabbix 3.4"

      Along with the inconsistencies above, system.hw.macaddr and system.sw.packages do not say which regexp flavour is it.

      It is suggested to reduce all mentions to "regular expression" (while leaving the functional description intact), and having a footnote which explains the details. For example, the entries above could be changed to:

      • "regular expression[4] describing the required pattern"
      • "regular expression[4] describing the file, directory and symbolic link name"
      • "regular expression[4]"

      The footnote would be:

      [4] Perl Compatible Regular Expression (PCRE) or POSIX extended regular expression before Zabbix 3.4.

      While at this, one might want to change the exception occurrences of "regex" in vfs.dir.count and vfs.dir.size to "regexp", to be consistent.

        Attachments

          Activity

            People

            Assignee:
            martins-v Martins Valkovskis
            Reporter:
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: