Hi Team,
We have some of the SQL server 2000 which is recently handed over, though it is out of support from vendor the team will do slowly migration to latest how ever till that we need to monitor & get the email message interms of
1.Just blocking information along with what spids blocked and lead blocker (I knew there is an KB for that but it does lot and lot,but just here I need the information of only blocking information along with how long in minutes).
2.Log file usuage if it grows >90% send an mail with the information(we have exchange server & other details ready).
3.Long running session & long running jobs -which running more than 4 hours.
4.Critical alerts of databases from the errorlog, checkdb errors,823/824, suspect of databases status.
5.SQL server services & databases status if they are unhealty or off.
so therse are all needed to be perform over the script then call from the jobs to schedule.
similarly, checkdb, reindex and update statistics(still need after rebuild though it update the statisitcs but needed for us for some reasons that we caught).
so need your help to get the script along with instructions, I knew it is straight forward to ask you guys but Iam not an code expert , we have it for >sql 2005/2008/R2/2012 only for sql 2000 =none.
we dont want to go for 3rd party tool.
Any help appreciated!
Thanks, Rama Udaya.K (http://rama38udaya.wordpress.com) ---------------------------------------- Please remember to mark the replies as answers if they help and UN-mark them if they provide no help,Vote if they gives you information.