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

Unsupported items with preprocessing

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Incomplete
    • Icon: Minor Minor
    • None
    • 3.4.1, 3.4.2
    • Server (S)
    • None

      Hey guys!

      I'm affected by very weird problem. I'm running Zabbix 3.4.2 and started to monitor amavis. I made general item to collect text from interresting me command (amavis-agent -c 1) and dependent items on it, to preprocessor that huge text for wanted lines. Aaaand... Some of items work correctly (those lines exists in text). Problem starts, where items look up for lines, that don't exists. Part of those are unsupported with error below:

      Value "" of type "string" is not suitable for value type "Numeric (unsigned)"

      and, in my opinion, it's ok, 'couse ZBX don't count them as unsupported really (and it's implemented). Thereafter sort of them are with huge error, that starts with:

      Item preprocessing step #1 failed: cannot perform regular expression match on value "my huge text to search for lines"

      I have no idea why part of them are with one error, and rest with second. Both are very similar:
      Preprocessing steps:
      1. Regular expression | LookedLine;(.*) | \1
      2. Right trim | /h
      (chars for right trim are because the value is in "per hour" units, and I want to collect only intereg number and add units later in item configuration)

      Hope someone will find way to solve this, everything started after update to 3.4.2 from 3.4.1 or 3.4...

      OR is there any possibility to turn that unsupported items into zero value? Feels like bug - part of unsupported are with first error, part with secodn and there is no sense, 'couse they're exactly the same.

            Unassigned Unassigned
            vaX'en Gniewomir Depowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: