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

Note for logrt monitoring on regexp for file name

    XMLWordPrintable

Details

    • Documentation task
    • Status: Doc. sign-off
    • Trivial
    • Resolution: Unresolved
    • 4.0.33rc1, 5.0.15rc1, 5.4.4rc1
    • 6.0 (plan)
    • Documentation (D)
    • Team A
    • Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021)
    • 1

    Description

      When monitoring logs with a logrt key you can put file name as regex
      https://www.zabbix.com/documentation/5.0/manual/config/items/itemtypes/zabbix_agent
      Firts parameter is split on file name (that is regex!) and folder path
      at the same time, the spelling like
      /var/log/some/path/some.log$
      is intuitively perceived as an indication of a specific file but it match for example /var/log/some/path/new_some.log log file
      What about to mention such case in example and make cross references:
      https://www.zabbix.com/documentation/5.0/manual/config/items/itemtypes/zabbix_agent
      and https://www.zabbix.com/documentation/5.0/manual/config/items/itemtypes/log_items
      to make it easier to look for an example and description

      Attachments

        Activity

          People

            martins-v Martins Valkovskis
            elina.kuzyutkina Elina Kuzyutkina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: