-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0762746
commit a898261
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
Value CPU_5_SEC (((\d+%(\/)*))+) | ||
Value CPU_1_MIN (\d+%) | ||
Value CPU_5_MIN (\d+%) | ||
Value CPU_5_SEC (\d+) | ||
Value CPU_1_MIN (\d+) | ||
Value CPU_5_MIN (\d+) | ||
Value INTERRUPTS (\d+) | ||
|
||
Start | ||
^CPU utilization for five seconds:\W+${CPU_5_SEC}\W+one minute:\W+${CPU_1_MIN}\W+five minutes:\W+${CPU_5_MIN} -> Record | ||
^CPU utilization for five seconds:\W+${CPU_5_SEC}%/${INTERRUPTS}%; one minute:\W+${CPU_1_MIN}%; five minutes:\W+${CPU_5_MIN}% -> Record |
7 changes: 4 additions & 3 deletions
7
tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.parsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
parsed_sample: | ||
|
||
- cpu_5_sec: "15%/1%" | ||
cpu_1_min: "12%" | ||
cpu_5_min: "10%" | ||
- cpu_1_min: '12' | ||
cpu_5_min: '10' | ||
cpu_5_sec: '15' | ||
interrupts: '1' |