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

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.0 (plan)
    • 4.0.33rc1, 5.0.15rc1, 5.4.4rc1
    • Documentation (D)
    • Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
    • 1

      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

            martins-v Martins Valkovskis
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: