THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Merrill Aldrich

SCOM, 90 days in, III. Stuff to Add

This is the third installment of a series on our deployment of System Center at my workplace, emphasis on SQL Server MP.

At this point we’ve got Operations Manager installed, and up and running, and we’ve been able to categorize all the monitored servers into production, preproduction, test and DR using groups that have dynamic membership rules. We’ve got the SQL management pack working with out-of-the-box settings, and used it to locate all the SQL Server stack services like the engine, reporting services, integration services, etc. But the out-of-the-box settings don’t work quite exactly for our environment, though they are pretty good. Here are some things we had to add, and you might want to consider for your SCOM config.

Alerts on Job Failure / Long Jobs

The first thing we noticed when watching the SQL MP’s behavior is that SQL Agent job failures don’t alert very effectively. Discovery of specific jobs, and then monitoring of their last run status, may be disabled out-of-the-box. When turned on, they only show as “warning” and not “critical.” This is apparently by design, in order to cut down on the noise in environments with a lot of failing jobs. In place of the monitoring for individual jobs is a generic “some job failed” monitor at the level of the whole SQL Agent for the instance, but it doesn’t detail which job.

In our group, we really need to know if a specific production job fails, so one of the first steps was to create an override for this to make job failures fire a critical alert, so that they would trigger our email and text notifications. This is a pretty straightforward override that is documented on the web – basically you just have to override the severity of the job failure and configure it to trigger an alert. Second, we disabled the default monitor that alerts generically on any job failure, since those would essentially be duplicate alerts.

So, if you are headed down this road:

  • Check to see the overall “health” of the SQL Agent jobs in your environment first, to determine if it’s practical to monitor them individually
  • If so, it works to substitute monitoring of each job for monitoring only for generic “some job failed” events, by overriding these two monitors

Next, there’s an monitor for long-running jobs. This is probably appropriate for many jobs, but there are some SQL Agent jobs that are designed basically to run forever, and will trigger false alarms. Biztalk, for example, has some maintenance jobs that just fire up and then execute in a loop indefinitely. We had to go through and cherry-pick each of these jobs to override/suppress the long running job monitor.

Missing Perf Counter Collection

For whatever reason, probably because they can’t please everybody all the time, some perf counters that I rely on are not configured in the default management pack, and you might consider adding these as we did.

The first is the Memory Grants Pending counter in SQL Server. This counter basically indicates a specific type of memory pressure where queries are stacking up in a queue waiting for execution memory to become available; it typically happens in a data warehouse type of workload with huge, nasty queries that consume large amounts of execution memory. I happen to have a server that does this fairly often.

We added a custom monitor into the Performance health rollup category for this counter, and set it up as off by default. We then created overrides to enable it on the data warehouse server(s) where this type of thing is an issue:

MemGntsPendingCapture

Setting up a monitor like this can be done simply with a custom monitor creation wizard in the SCOM console GUI – the tricky bit is getting the variables into the dialog box (in this case the Object: field) that allow SCOM to handle the multiple-instance nature of SQL Server correctly. That is, there could be counters for instance1 and instance2 and instance3 on the same server, and the monitoring has to account for that. It manages that by allowing you to put variables into the setup that will be substituted for things like instance name at run time. This article was very helpful on instance-aware monitors: http://blogs.msdn.com/b/boris_yanushpolsky/archive/2007/11/21/opsmgr-sp1-creating-rules-and-monitors-for-multi-instance-components.aspx

Essentially, if you are going to be authoring monitors or rules for anything instance-able (SQL Server services, databases, etc.) then you really have to “grok” how to use the SCOM variables in the correct fields in the monitor or rule setup. It looks complicated, but I found I got the logic once I used it a couple times.

The second is the Page Life Expectancy counter. This is less for alerting, and more for tracking overall instance health and looking for chronic memory pressure.

Database Size. Definitely.

http://blogs.technet.com/b/kevinholman/archive/2010/11/19/collecting-sql-database-size-as-a-performance-counter.aspx 

Enough said.

Mirroring Queues

Paul Randal posted some great guidelines about how to monitor for mirroring performance and issues, like http://www.sqlskills.com/BLOGS/PAUL/post/Importance-of-monitoring-a-database-mirroring-session.aspx. If you use database mirroring, it’s logical to want to both gather stats about how it’s performing and be alerted to issues. We’re at the very beginning of that setup, but have at least got rules configured to monitor for the send and redo queue length on our mirrored databases. There’s also a solution you can download and implement here: http://rburri.wordpress.com/2010/09/10/sql-server-db-mirroring-mp-update/

Disable Database Space Monitors on Mount Points

The SQL Server internal functions for reporting OS disk space available don’t work very effectively with mount points, and that issue shows in SCOM’s SQL MP, where the reporting on available disk space per database is just wrong. I’ve already covered this, so I won’t go back over it again. Hopefully this improves in a future version. We have elected to disable the collection of the invalid data, and instead monitor disk space and the space allocated vs. used inside the database files instead. It’s a workaround at best.

Here’s how I implemented a workaround in SCOM:

  1. I made a group called “SQL Servers that use Mount Points.” No joke. I put in a static list of all the machines I know are configured this way.
  2. I set overrides on the collection of database free space and log free space to disable them for that group.
  3. We ensured the DBAs would be alerted on low disk space conditions from the Windows Server components, and we just have to sort of live with that instead.

That’s it for this installment. Next up, monitoring for blocking, which is a much more complicated animal. Happy monitoring!

Published Wednesday, March 02, 2011 11:57 PM by merrillaldrich

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Cheap Clothes Online said:

Short choose clothes method

(1) in colors on the colour to, because, line is simple,<a href=http://www.cheapclothespants.com/>Cheap">http://www.cheapclothespants.com/>Cheap Clothes Online</a>

[url=http://www.cheapclothespants.com/]Cheap Clothes Online [/url]compact design for appropriate, and the color of the whole body dress uniform as far as possible, including acceptable. Color too much or strong contrast is suitable.

(2) on design, appropriate to wear white high-heeled shoes, selection and dress color contrast fabrics for his collar, can rise to extend the action of the body, and to add a bit of long lasting appeal. Big pants of bell bottoms, clothing shoulder cylinder is too wide jacket is suitable. Unfavorable also wear long skirt or low waist kind skirt, trousers and heavy shoes, lest reduce the line of sight of people, exposed the shortcomings of stature.

October 21, 2011 8:41 AM
 

SCOMuser said:

Hi,

We're using SCOM R2 as well to monitor Mount Points. Our Consultant who helped us implement SQL2008 advised us to use two Mount Points pointing to the same Volume like

E:\SQLDATA\DATA1

E:\OLAPDATA\DATA1

both pointing to the same volume. Now the problem is that SCOM internaly uses the PerfMon counters to monitor MountPoints and it find the MP as the OLAPDATA path. In our SCOM installation though, there is a discovery query that finds the MP as SQLDATA. Since both those dont match, we can't use SCOM to monitor the diskspace available in those MP.

Would you have any help for me regarding this issue?

Thanks lots

November 21, 2011 3:29 AM
 

Tall Ugg Boots said:

when employed in wet atmosphere or inclement, dirty or muddy

November 22, 2011 2:12 AM
 

hhh said:

kjliuopiunuioip

February 4, 2012 3:08 PM
 

vickiliang said:

according to the weather we are the change garments according to the? The

original perfume leave or throw? This is not a problem–even if it’s just your

after a summer is not finished with residue.<BR>The original perfume leave or

throw? This is not a problem–<a href="http://www.famerbook.com/ef534d1av-p-27.html" title="casio 534"><strong>casio 534</strong></a>

even if it’s just your after a summer is not

finished with residue.1 after daub to fragrance not satisfied, want to have no

trace of a change to a new fragrance.</P>

<P>Summer perfume, especially is sweet atmosphere, generally stay sweet aroma

and flavor water time is short, so even after spray perfume, and want to change

in environment it is not convenient to take a bath, as a way to remove aroma:

spray perfume skin in a parts with no scent protect wet latex, make its and

perfume fragrance, such repeated several times and can have as perfume fragrance

role. Desalination This metho<a href="http://www.famerbook.com/ef534d1av-p-27.html" title="casio 534"><strong>casio 534</strong></a>

d actually with the eraser erase the FenBiZi and

the same principle. There’s one way, even with a hand lotion to hide perfume:

use perfume in the parts of the spray some without perfume the disposable type

hand lotion, through the hand lotion to remove the alcohol content of perfume.

After that, you can change the autumn day with fresh buying new fragrance.

although summer will go to, still want to will beloved summer scent retained

until next year.</P>

<P><BR>Perfume must be placed in a cool and are less susceptible to light

point-blank place. The most suitable save the summer perfume is absolutely not

place beside the dresser and porch partition, but the dresser drawer and

medicine. A better method is to temporarily need not perfume into the

refrigerator in the cold storage,<a href="http://www.famerbook.com/ef543d1av-p-36.html" title="casio 543"><strong>casio 543</strong></a>

the independent interval area to extend its

expiration date. But remember, general perfume use period in a year or so, if

more than this time, even if again preserved, how fragrance and color more or

less will change.<BR>3 to let aroma such as early autumn weather crafted quietly

elegant, but a lasting all day.</P></BODY></HTML>

February 27, 2012 2:48 AM
 

kk1258 said:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=gb2312">

<META content="MSHTML 6.00.2900.6182" name=GENERATOR></HEAD>

<BODY>

<P>The woman's white patent mesh watch dazzle the eyes and it is very attractive

to wear since it is<a href="http://www.famerbook.com/burberry-c-5.html/" title="burberry watches"><strong>burberry

watches</strong></a>

of superior design and workmanship as well as the checked

broad colour coupled with its stainless steel.</P>

<P>Burberry's men's surf watch is of great utilitarian coupled with comfort and

class. Its removable cuff and solid diving bezel add to the practical and

classic function of the timepiece for men of different ages.Other models of

Burberry watches bear their trademark check or tartan on the cloth-fabric straps

and lend a bit of levity to the otherwise still-formal watch faces.Burberry is a

well known company for the classic scarves and coats. It has made its important

place in the fashion world as a leading provider <a href="http://www.famerbook.com/burberry-c-5.html/"

title="burberry watches"><strong>burberry watches</strong></a>

of designer watches. The

Burberry watches make a mainstay of the high fashion. The line Burberry watches

comes in a wide range of designs for men and women’s style. Popularity for the

designer watches has geared up in recent times. </P>

<P>Sports timepiece for the men and women too could be found. These watches are

designed specially and provide with complete comfort. Burberry Surf comes from

the sports watch styles. <a href="http://www.famerbook.com/bu1360-p-137.html/" title="bu1360

burberry"><strong>bu1360 burberry</strong></a>

It is chronograph unisex watch style that comes in the

stainless steel case with the anthracite colored dials, red second hand and

black ionised plating. It features diving bezel and tachymeter, removable cuff

feature and two part black alligator strap. This timepiece features an array of

functions. Burberry Endurance, Burberry Mini Waterloo, Burberry Heritage and

Burberry Signature are some other popular categories under the line of Burberry

watches. <BR></P></BODY></HTML>

March 23, 2012 9:18 AM
 

kk1258 said:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META content="text/html; charset=gb2312" http-equiv=Content-Type>

<META name=GENERATOR content="MSHTML 8.00.6001.19190"></HEAD>

<BODY>

<P>If your local after-sales service department is not Casio, you can return the

shop we can help you take the maintenance department repaired and then return to

you one year free warranty period our expense, take your return shipping more

than one year, maintenance free. 4 on <a href="http://www.famerbook.com/bu1360-p-137.html/" title="bu1360 burberry"><strong>bu1360 burberry</strong></a>

the receipt: pro, please check when the

courier before the appearance of a good product, carefully check there are no

scratches, the dial color is the color of their needs, the dial is whether there

is dust inside the eye can see at 30 cm within the belong to the appearance of

the problem, the appearance of any questions, please contact us before when the

courier returned to the spot 13, 629, 289,<a href="http://www.famerbook.com/burberry-c-5.html/" title="burberry watches"><strong>burberry watches</strong></a>

988. If the case of bricks hit the

watch seller Ye Hao change in time to help you deal with, to avoid damage and

unnecessary to bring you the trouble. (Run into a buyer of goods out of the

ground do not care to cheat us and send them over there is the problem, such

fraud has become a buyer, the seller the right to pursue in the end the alarm. )

5. Goods returned: You photographed payments on behalf of your goods and buy

goods for their color, size, style, <a href="http://www.famerbook.com/" title="burberry watches"><strong>burberry watches</strong></a>

are recognized. Watch the provisions of

state law, in particular the special consumer goods, is a precision instrument,

not a quality problem is not returned. Each product warranty card is only one,

so you should consider a good to buy. </P>

<P>(Proposed buyers to try them on store counters to determine the model number

and then contact us to buy) 6 on the inspection: shop selling genuine goods are

guaranteed authentic. Welcome buyers to verify that you purchased, Taobao shop

is a store consumer protection, there is leave a compensable three signs, such

as the purchase of goods for the fake, the seller to bear all costs of

inspection, and return costs. Now, because the number of Internet sales has been

affected too much store sales, so the counters and sales center is generally not

to the inspection, the buyer’s inspection if necessary, can request help with

the tone of people say that friends send of help to see if it is true. Or to

pawn shops, online watch forums and other people to help verify the true and

false. Our inspection welcome said, referring to the buyers of the commodity

inspection welcome, not to say that manufacturers or sellers have to provide

this inspection service. 7 Watch care: 30 meters waterproof watch is limited to

general grooming and other daily rain water. </P>

<P>Avoid watch in hot water bath, sauna or temperature changes very environment.

Addition to the 100 m/200 m diving-type watches, please do not wear a watch

swimming other water level – case, strap and head often need to clean and keep

clean. You can use warm water, then wipe dry. (Does not apply leather products)

– mechanical tolerances of ?à 35 seconds per day, quartz ?à 15 seconds per month

– mechanical power source to rely on the wearer’s wrist to swing winding

winding, such as long place do not wear watches or swing will cause lack of stop

and go. Once again to wear the watch winders should be preceded, that clockwise

rotation head 20 laps – two needle quartz tuning time table to be set aside in

the fast for one minute, to compensate for movement within the gap between gears

– please watch close to magnetic fields to avoid. Magnetic field may cause a

temporary stop or go watch when not allowed. ???? ?ó VIP membership system where

the restaurant once again the success of consumer spending can enjoy 9. 9%

discount for life ?ó total ordinary members can enjoy spending 2500 $ 9. 8

Senior Member discount ?ó total lifetime spending 5000 $ to enjoy 9. 6% discount

Thank you for your lifetime VIP membership of towering Outlets support, and if

our work has poor service, please forgive me, and put your valuable comments, we

will be very serious improvement. Towering Famous – Professional Shopping mall

counter genuine welcome you again! </P></BODY></HTML>

March 23, 2012 9:24 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement