Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-967

Logfile monitoring - regular expressions to search multiple lines

    Details

    • Type: New Feature Request
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.7
    • Fix Version/s: 1.8.8
    • Component/s: Agent (G)
    • Labels:
    • Environment:
      CentOS 5.6

      Description

      Logfile monitoring with regular expression is ok. But sometimes you need to search for log entries in more than one line.
      More information in this thread: http://www.zabbix.com/forum/showthread.php?t=19641&highlight=Application

      Example:
      foo
      foofoofoo
      foofoofoofoo
      error and much more
      here is the description
      foofoofoo
      foofoofoofoo

      regular expression:
      /^error.\n.$/m

      With this regular expression you will get both lines. But today it is not possible in zabbix

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexei Alexei Vladishev
                Reporter:
                hirschnf Frank Hirschner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: