I was wondering if anyone has setup this alert with the following condition:
Interface receive/send utilization has changed by 10% or more over the past 24 hrs. I'm more interested in increase of utilization than decrease.
Any ideas guys?
thanks,
MC
Before I start into this, the right way to find traffic changes is with something like the Holt-Winters algorithm:
http://www-iepm.slac.stanford.edu/monitoring/forecast/hw.html
Since we're not going to try to hack that up in T-SQL, the alternative is to compare the traffic you see on the interface now vs. what it was 24 hours ago. This is assuming that the traffic is pretty consistent from one day to the next - it might not be so on a Sunday/Monday.
There's no out of the box method to get an alert to fire when the utilization has changed over 24 hours.
That being said, I can tell you how to generate a report for one of your views with the information, or give you an offroad suggestion that gets you an alert, but involves an hour of your DBA's time.
Interested in either of those?
That would be appreciated alot. Would you mind posting or sending the instructions?
thanks.
Is it sufficient to throw that information up on one of your views in a report format or do you need to leverage alerts against it?
To leverage alerts would be cool as we only run the reports once a week.
Hi there
little less experiance with creating procedures can you elaborate on the howto?
Thanks EItan.
Without testing it myself I wouldn't be comfortable handing you a procedure off the top of my head. DBAs do this all the time, so if you can bribe one for an hour of his time that's probably your best route. They can be pretty involved if you're not comfortable in SQL Studio.
This is a pretty good primer if you want to check it out:
http://databases.about.com/od/sqlserver/a/storedprocedure.htm