diff options
Diffstat (limited to 'resources/ansible_roles/nDPI')
-rw-r--r-- | resources/ansible_roles/nDPI/tasks/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/ansible_roles/nDPI/tasks/main.yml b/resources/ansible_roles/nDPI/tasks/main.yml index 6dc7bf9d..ffe32c53 100644 --- a/resources/ansible_roles/nDPI/tasks/main.yml +++ b/resources/ansible_roles/nDPI/tasks/main.yml @@ -61,10 +61,11 @@ patterns: # nDPI throughput: 1.46 M pps / 13.69 Gb/sec # TODO(yujunz) convert "M pps" and "K pps" to number - - 'nDPI throughput:\s+?(?P<dpi_pps>\d+.\d+.*) \/ (?P<dpi_bps>\d+.\d+.*)$' + - 'nDPI throughput:\s+?(?P<dpi_pps>\d+.\d+.*) pps \/ (?P<dpi_bps>\d+.\d+.*)b/sec$' dest: "{{ output }}/metrics.json" register: dpi_metrics delegate_to: localhost + tags: collect - name: create dpi report template: |