0

I'm familiar with general perfmon configuration. However, is there a way to alert when the CPU goes to say 95%, but only if it stays there for over X minutes?

If not, does anyone know a free/cheap solution? I need to be able to fire off a script when this happens.

Untalented
  • 37
  • 3

1 Answers1

0

You can define a task in Task Scheduler to run your script, then create a new alert in Perfmon and specify your task as the alert action. Microsoft documents the process here.

However I don't believe this will currently be stateful and track it for x amount of time. SCOM is often used for that, but is not free/cheap.

phoebus
  • 8,380
  • 1
  • 31
  • 30