Quantcast
Viewing all articles
Browse latest Browse all 47296

How to create and trigger an alert if the CPU usage is constantly 100% for the past 10 minutes?

Hello, We have both Windows and Linux environments. We want to set up an alert to send an email if the CPU usage of a particular process is constantly 100% during past 10 minutes. Below is the search I have for the CPU usage: Linux: host=yyyy index=* COMMAND=java USER=xxxxxx | timechart span=10m limit=0 avg(pctCPU) as "% of CPU Usage" Windows: index=* host=zzzz sourcetype="Perfmon:CPU" source="Perfmon:CPU" counter="% Processor Time" | timechart span=10m limit=0 avg(Value) as "% of CPU Usage"

Viewing all articles
Browse latest Browse all 47296

Trending Articles