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

preprocessing - allow extracting the number of matches

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.0alpha2
    • Server (S)

      item preprocessing allows extracting content, based on regexp. a way to extract the number of matches is desired.

      for example, the apache status page has scoreboard like this :

      Scoreboard: WWWWWW..KW..KL..................................................................................................................................................................................................................................................
      

      here we would have to count the number of occurrences of each letter to know how many processes are in each state.

      a vague idea how this could work - a regexp like this :

      Scoreboard: (W)
      

      would have either some syntax for the output field, or there would be a choice between "output" and "number of matches". the latter would allow to specify which capture group to use. in this example, it would return 7.

            wiper Andris Zeila
            richlv richlv
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: