Last post Nov 23, 2018 03:48 PM by raghav_khunger
Nov 22, 2018 07:15 PM|Darryl1|LINK
Hello, I am new to asp.net and seeking some input.
I am trying to add a delay to a alert that is displayed when a system see high usage (#of processes), but have had no success. My question is how would I do this? The goal is to have the alert display only if the system usage is still high after XX amount
of minutes since initially reporting the high usage.
So alert is raised, but would not display unless the system continues high usage for a duration of XX minutes.
Any help/information is appreciated.
Nov 22, 2018 08:08 PM|PatriceSc|LINK
Seems you want to keep a list of alerts with the date/time of the first occurrence. It would be reset or deleted if the high cpu condition is gone on a later check. If still high and xx minutes elapsed then you would signal the high cpu condition.
Not sure if related to core features in your app but this kind of things should be rather handled by OS level tool such as "perfmon" (should allow that) or additional tools such as "debugdiag" (it can take a dump of an IIS process on a high CPU condition).
You may want to check a Windows admin forum first. For now using ASP.NET for that doesn't seems a really good solution...
Nov 22, 2018 08:34 PM|Darryl1|LINK
Noted, thanks and I will look into perfmon etc.
Nov 23, 2018 03:48 PM|raghav_khunger|LINK
How To Setup High CPU Usage Alerts On Servers