Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
AIX issue - fifo_reader regex match some monitors into header #29
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhemmarchand committed Jun 4, 2017
1 parent e9180ad commit 4d91432
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TA-nmon/bin/fifo_reader.pl
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
chomp($_);

$nmon_config_match = '^[AAA|BBB].+';
$nmon_header_match = '^(?!AAA|BBB|TOP)[a-zA-Z0-9\-\_]*,(?!T\d{3,})[^,]*,(?!T\d{3,})[^,]*,.*';
$nmon_header_match = '^(?!AAA|BBB|TOP)[a-zA-Z0-9\-\_]*,(?!T\d{3,})[^,]*,(?!T\d{3,})[^,]*.*';
$nmon_header_TOP_match = '^TOP,(?!\d*,)';
$nmon_timestamp_match = '^ZZZZ,T\d*';

Expand Down
2 changes: 1 addition & 1 deletion TA-nmon/bin/fifo_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

# Manage nmon config
nmon_config_match = re.match(r'^[AAA|BBB].+', line)
nmon_header_match = re.match(r'^(?!AAA|BBB|TOP)[a-zA-Z0-9\-\_]*,(?!T\d{3,})[^,]*,(?!T\d{3,})[^,]*,.*', line)
nmon_header_match = re.match(r'^(?!AAA|BBB|TOP)[a-zA-Z0-9\-\_]*,(?!T\d{3,})[^,]*,(?!T\d{3,})[^,]*.*', line)
nmon_header_TOP_match = re.match(r'^TOP,(?!\d*,)', line)
nmon_timestamp_match = re.match(r'^ZZZZ,T\d*', line)

Expand Down
Binary file modified TA-nmon_1320.tgz
Binary file not shown.

0 comments on commit 4d91432

Please sign in to comment.