Archive

Archive for the ‘MOM’ Category

MOM 2005: How can I monitor the number of files in a folder and collect the value as performance data?

April 21, 2009 Leave a comment

Are you still using MOM 2005?  Has anyone approached you with this request? 

If you did, then I had this same question from our team who manages CA Message Manager.  They wanted to be able to get a real count of files in message queue folders, set thresholds on the number of files, age of the files, and create performance data for trending.

In the past I was using a old MOM 2000 script from a NetIQ consultant (Ugo Corti) to do this.  However, as we progressed more and more towards using MOM 2005 as our one stop shop for monitoring, the CA Message Manager group needed something a bit better.  This older script wasn’t going to work as they liked.

Knowing that there are great resources on the net for MOM 2005 (and SCOM) scripts I decided to check them out and found a great script by Pete Zerger.  The script I am talking about is called “ App Dir and Queue Monitoring (MOM 2005) ”.

I imported this script into my MOM 2005 labs and started testing.  It worked as expected except for the performance collection portion.  Performance objects were being created and collected, but the value was always “0”.  I asked Pete about this and he was very helpful in troubleshooting the issues I was having (despite the ribbing I was giving him about this old script). 

He wanted me to have someone else test the script in there lab to see if the results were the same, so as to rule out my environment.  So that brings us to Scott Moss.  Scott, like me, still has MOM 2005.  Scott, unlike me, happens to actually know Visual Basic along with many other things (like top 10 famous midget wrestling matches, how many licks it takes to get to the center of a tootsie pop, etc).  So tonight he was kind enough to give me a hand with this issue and guess what?  He fixed it!  I could have said I fixed it, but I’d like to say I was his muse to get this script working.

Anyway, if you need this script and want the performance data to be processed and collected correctly by MOM 2005, then all you need to do is make a minor cut and paste:

Area of the Original Script that needs to be modified:

Origscript

Area of the Original Script after modification:

newscript

Once you do this, then the number of old files in the folder that you are monitoring will be logged correctly in your performance view.

Thanks again to Pete and Scott (as well as a few others) for all the help with this issue!  If you haven’t added their blogs to your RSS readers, then I highly recommend you do so!  Also, you can visit both of them in Las Vegas next week as they will both be attending MMS.  Give them a hug for me!

Advertisements
Categories: MOM

MOM 2005: MSFT Windows Server Base OS MP Issue

April 3, 2009 Leave a comment

This article applies to the MOM 2005 Server Base OS MP version: 05.0.3500.0010 (The latest version)

Tonight I was ensuring that specific counters were collected for CA Message Manager.  We monitor this application and the engineers for it wanted me to add any counters that MOM isn’t currently collecting.

After I installed agents I made some views for CA MM.  I looked at the performance data views and saw about nine counters.  I thought that was odd.  So I did some digging and found that in the MSFT Windows Servers Base OS>Windows 2003>Performance RG some of the counters I wanted to collect were there.  I scratched my head, because this was a W2K3 server.  So I checked the computer groups the RG was bound too.  It was bound to W2K3 Virtual Clusters!  Sweet!  Oh wait, not so sweet.  Why this computer group is even in there is beyond me.  I thought maybe I got drunk one night and decided to do some tweaking and broke it.  However, I checked all my environments and it was the same.  I downloaded the MP from the catalog, imported it with the option to OVER WRITE any changes to my MP and sure enough it was still there.

What does this mean?  That these performance measuring rules are not running against stand alone W2K3 servers.  It also means that someone didn’t QA the MP very well.  Now I have to go check all the other RG’s to see if there are MORE mistakes.

I know not a lot of people are still using MOM 2005, but just imagine if this happens in OM 2007?  Sealed MP targeting the wrong server class?  How fun would that be to fix.  My fix will be to remove the cluster computer group and add the Windows 2003 Server group.

Details:

Computer Group bound to the performance RG in W2K3 Servers RG:

clip_image001

MSFT needs to pull this MP, fix it, and repost it.  Otherwise, you need to do the right thing and change it on your own.  It’s up to you if you want to leave the cluster computer group in there.  I doubt you have to since your nodes are W2K3 servers.

Categories: MOM

MOM 2005 Agent Pending Uninstall – 21078

August 12, 2008 Leave a comment
Today I looked in the MOM 2005 Admin console and checked pending actions.  I am used to seeing one computer listed in there from EMEA that isn’t registered in DNS correctly.  However, today I saw a SharePoint server listed in the pending uninstall. 
 
I rejected the uninstall and ran a computer scan again.  It showed up again but I didn’t understand why.
 
So I uninstalled and reinstalled the agent.  Then I looked in the management server’s application log again and I saw this:
 
=====
 
Event Type: Error
Event Source: Microsoft Operations Manager
Event Category: None
Event ID: 21078
Date:  8/12/2008
Time:  3:51:07 PM
User:  N/A
Computer: XXXXXXMOM03
Description:
Computer Discovery Engine failed to contact machine "XXXXXXIISNB". 
This could be a misspelled computer name or the computer is not contactable.
 
Error Message:
"Machine name:XXXXXXIISNB [IP:XXX.XXX.XXX.76], Error: Workstation info failed with Status code : 1792, Error Message: An attempt was made to logon, but the network logon service was not started.
"
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
=====
 
Well how about that.  IF I had only looked here first, I could have saved myself a lot of time.  I went out to the server in question and sure enough the netlogon service was not running (but set to automatic).  I started it, ran a scan again, and the agent was no longer in pending uninstall.
 
 
Categories: MOM

Support for running System Center Operations Manager 2007 Service Pack 1 and System Center Essentials 2007 Service Pack 1 on a Windows Server 2008-based computer

July 25, 2008 Leave a comment
Released today:
 
 
For System Center Operations Manager 2007 and System Center Essentials 2007 to support Windows Server 2008-based computers, you must install the following:

Several hotfixes for Windows Server 2008

Hotfix 954049 for Operations Manager 2007 SP1 and for Essentials 2007 SP1

You must install the hotfixes for Windows Server 2008 before you install new Operations Manager 2007 roles and Essentials 2007 roles for the first time.

Assume that you perform an in-place upgrade to Windows Server 2008 from a Windows Server 2003-based system that support Operations Manager 2007 and Essentials 2007. In this case, you must install the Windows Server 2008 hotfixes immediately after the in-place upgrade.

Categories: MOM

Support for running System Center Operations Manager 2007 Service Pack 1 and System Center Essentials 2007 Service Pack 1 on a Windows Server 2008-based computer

July 25, 2008 Leave a comment
Released today:
 
 
For System Center Operations Manager 2007 and System Center Essentials 2007 to support Windows Server 2008-based computers, you must install the following:

Several hotfixes for Windows Server 2008

Hotfix 954049 for Operations Manager 2007 SP1 and for Essentials 2007 SP1

You must install the hotfixes for Windows Server 2008 before you install new Operations Manager 2007 roles and Essentials 2007 roles for the first time.

Assume that you perform an in-place upgrade to Windows Server 2008 from a Windows Server 2003-based system that support Operations Manager 2007 and Essentials 2007. In this case, you must install the Windows Server 2008 hotfixes immediately after the in-place upgrade.

Categories: MOM

Loading reporting hierarchy failed – Can’t see reports

July 16, 2008 Leave a comment

The other day I logged onto my management server to run some reports but when I loaded the console and clicked on reporting I got an error:

proxyrequired

Loading reporting hierarchy failed.
The request failed with HTTP status 407: Proxy Authentication Required.

I had never had problems before and I wondered what had changed.  I thought it might have something to do with my admin id that doesn’t have a proxy id for IE.  I talked to my co-worker who shares the environment with me and he said he didn’t have that issue.

I had him shadow my session to see just what was happening.  Then I decided to check the IE settings (connections>lan settings) for this admin account. I noticed that the box for ‘Automatically detect settings’ and ‘Use automatic configuration script’ were checked and the proxy address was filled out.

I unchecked ‘Use automatic configuration script’ and went back to the console.  I clicked on the reporting tab and the reports appeared.

Not sure why this would affect how the console operates.  I hope to get an explanation, but in the meanwhile I know how to get around it.

 

Categories: MOM

MPViewer 1.7 Released

June 25, 2008 Leave a comment
Finally got around to getting SCOM deployed in our dev lab and have learned a lot.  Today I was making some rule changes and over rides and I was looking for my tool kit folder that had the various tools by Borris Yanushpolsky.  I couldn’t find it so I went to his site and noticed he had released the 1.7 version of his tool.  If you don’t have this you may want to get it.
 
MP Viewer 1.7:
 
He also has another great tool called over ride explorer.  A must have for OM 07 Admins.
 
Override Explorer v3.3:
Categories: MOM