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

Support Negative Lookahead

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Agent (G), Frontend (F)
    • None

    Description

      Currently, the Zabbix Agent (I tested against 2.0 and 2.2) does not support any kind of lookahead syntax.

      For example, this item should return the first line in the zabbix agent's log file that does not contain "permission denied". When queried, though, the agent responds with "ZBX_NOTSUPPORTED.

      vfs.file.regexp[/var/log/zabbix/zabbix_agentd.log,".(?!permission denied).","UTF-8"

      Negative lookahead would be useful (in my circumstance) to be able exclude certain spammy lines in logrt items when I otherwise want all the content in the file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikemol Michael Mol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: