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

Logfile monitoring - regular expressions to search multiple lines by agent

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 1.8.7
    • 1.8.8
    • Agent (G)
    • 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

        Activity

          People

            zabbix.support Zabbix Support Team
            hirschnf Frank Hirschner
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: