cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1321
Views
0
Helpful
2
Replies

High CPU management - Not occur syslog "SYS-1-CPURISINGTHRESHOLD"

Jae Hoon Choi
Level 1
Level 1

Hello 

 

I am monitoring the CPU using EEM in WS-C4510R+E 

WS-C4510R+E's supervior engine is "WS-X45-SUP8-E" and IOS is cat4500es8-universalk9.SPA.03.03.01.XO.151-1.XO1.bin.

 

I set it as follows.

 

process cpu threshold type total rising 10 interval 5

event manager applet CPU_Monitor

event syslog pattern ".*SYS-1-CPURISINGTHRESHOLD.*"

action 0.0 set filename "cpu_log.txt"

action 1.0 cli command "enable"

action 1.1 cli command "show clock | append bootflash:cpu_log.txt"

action 1.2 cli command "term leng 0"

action 1.3 cli command "show proc cpu sort | append bootflash:cpu_log.txt"

action 1.4 cli command "term leng 45"

end

 

But  not occur syslog "SYS-1-CPURISINGTHRESHOLD"

therefore EEM is not operating .. what is the problem ???

 

Help me .. plz

 

2 Replies 2

Hello,

possibly the rising threshold you configured (10) is too low; also, change the syslog match pattern.

Change your config to the one below (changes marked in bold):

process cpu threshold type total rising 60 interval 5 falling 30 interval 5

event manager applet CPU_Monitor

event syslog pattern "SYS-1-CPURISINGTHRESHOLD"

action 0.0 set filename "cpu_log.txt"

action 1.0 cli command "enable"

action 1.1 cli command "show clock | append bootflash:cpu_log.txt"

action 1.2 cli command "term leng 0"

action 1.3 cli command "show proc cpu sort | append bootflash:cpu_log.txt"

action 1.4 cli command "term leng 45"

end

 

This generates a syslog message every time the CPU usage exceeds 60% for 5 or more seconds and falls below 30%

Thank you for your reply. ^^

 

Is there a possibility that the syslog message is not generated because the set rising threshold value is too low?

Review Cisco Networking for a $25 gift card