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

preprocessing - allow extracting the number of matches

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: