Skip to content

Commit

Permalink
update nxos show proc cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
itdependsnetworks authored and GGabriele committed Apr 19, 2017
1 parent 0762746 commit a898261
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions templates/cisco_nxos_show_processes_cpu.template
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
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'

0 comments on commit a898261

Please sign in to comment.