Documente Academic
Documente Profesional
Documente Cultură
message (notes)
Summary Description
This document is designed to describe how to get top 5 process from Windows or
Linux operational system when any alarm related to CPU utilization occur and
attach the output on alarm notes.
This can be useful if you need to improve monitoring capability creating automation
level on the event management process adding value to operators and event
escalation.
Software required
Operational System Compatibility
Software
Nimbus robot 7.61 or later must be installed on the target server where the
top cpu will be collected.
Other considerations
All config (.cfg) files and scripts mentioned on this document will be attached on the
last section called attachments. Please go to the last page and use it in order to
keep all configuration steps easier.
Configuration
To configure this feature you will need to perform the 4 steps below
Step 2 Configure and test nexec probe (the .cfg for Linux and
windows are on attachments section)
After deploy nexec probe on each robot, please configure using follow information
Linux only (please, see attached .cfg files for Linux and Windows.
Active:
Name: get_top_process
Command: ps
Argument: -Ao user,uid,comm,pid,pcpu,tty --sort=-pcpu | head -n 6
ACL required: Available to all
Now run the test and check if top 5 process are showing on Stdout window.
For tests purpose, please change the threshold for Low alarm to 1% and it should
generate an alarm information alarm. This information alarm will trigger the AO
profile and run the script.
Check the results on UMP > USM > Alarm page. You should have an alarm message
about high CPU utilization and clicking on notes, you should see two sample of top
5 processes.
Attachments
LUA_Script_get_top_p
rocesses_on_alarm_cpu_and_attach_to_notes.rtf
nexec_Windows_top_
5_process.cfx
nexec_Linux_top_5_pr
ocess.cfx