URL Monitoring in SCOM
One of our clients is a medium sized company that needed to do some pretty intense web application monitoring (or URL monitoring) in SCOM.
A little background first:
1. We were running around 500+ Web Applications/URL monitors divided among roughly 10-14 MPs.
2. We were running a majority virtual environment with the RMS and DB server being the only physical (and very beefed up pieces of hardware).
Some initial thoughts and observations:
- We had the URLs spread between 9 watcher nodes (all virtual) to distribute the load.
- There were some URLs that had to run every 5 seconds (instead of the default 60 seconds). We isolated those URLs to two watchers as we weren't sure what type of performance hit that would cause. Those two watchers did run a little higher performance wise.
- ***UPDATE**** The default runtime for the URL monitoring is 30 seconds. You can go in to the XML and change the time however it will cause problems and cause the Watchers performance to spike, so your best bet is to leave them at 30 second (or more if needed)*********
- All of the above watchers reported back to 2 Gateway servers, which then reported back to a Management Server
- The Gateway's performance was much better than we expected. The efficiently at which it processed the data, compressed it and sent it over the wire was very good. The Gateway's CPU was under 10% and the Available Megs of RAM was in the 80%-90% range.
- The Management Server ran a little higher (performance wise), simply due to all the applets we had running on it (the HP Blade, StorageWorks and Proliant applets), but was still well within "Normal" limits.
***UPDATE*** We ended up adding another 2 GWs, due some performance problems.
Now for the tricky part...
As with most URL monitoring; you may be interested in polling the URL with and without images (if you are using a caching service you want to know if the problem is on your end or the caching service's end). In MOM 2005 you could go in to the Web Application and turn off images (but does that really not download the images, or just not report on them?). In SCOM there are no references to "images" at all. In doing some reading and research turns out that in SCOM images are referred to as "Resources". You can edit this setting by:
1. Highlighting your Web Application and select "Edit web application settings" from the Actions Pane
2. The click on Configure Settings in the Web Request Action pane
3. Go to the Performance Counter Tab and scroll down to where you see Resources
What you see here is the Base Page performance counters, Resources Performance Counters, Links etc.
We know that if you uncheck the Resources check box, SCOM will NOT follow the tags in the HTML to download the images. Zolan and Maco (two of the Engineers we are working with) did a packet sniff of this operation to verify what was happening and according to their results, SCOM will only download the images if you have selected any box in the Resources sections of the Performance tab. A BIG THANK YOU TO THEM FOR DOING THE RESEARCH.
What this means is that SCOM will only report on the Base Page metrics. If you are interested in testing the Caching service you could simply reverse this and uncheck Base Page and only check Resources.
If you are interested in technical classroom training, take a look at our Operations Manager courses at http://www.infrontconsulting.com/events.htm. 