Alerting

Unix Server CPU usage Monitoring

Als123
Explorer

Hi Team,

I want to monitor my Unix Server CPU usage . If the CPU usage exceeds 90% then needs to send alert mail . Can you please help me in doing this?

 

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Als123,

did you already take the logs about CPU usage or do you have also to take them?

If yes, you have to run a simple search like this (for Linux):

index=os sourcetype=ps host=your_host
| multikv 
| table USER PID PSR pctCPU CPUTIME pctMEM RSZ_KB VSZ_KB TTY S ELAPSED COMMAND ARGS

If instead you have also to take logs, you have to istall on the target serve the Splunk TA-Linux Add-On (https://splunkbase.splunk.com/app/833/) enabling the inputs you want (CPU Usage).

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...