Fix: Alert for "Send Test Message" monitor from the MSMQ 2003 Management Pack in Systems Center Operations Manager 2007


KBJust an FYI on a new Knowledge Base article we published this morning for SCOM 2007:

=====

Symptoms

The Microsoft Message Queuing 2003 Management Pack (MSMQ 2003 MP) for Operations Manager 2007 R2, Version 6.0.6615.0, has an error in the script "QueueSendTestMessage.vbs". This script is called by the "Queue: Send Test Message" monitor that is targeted at the "MSMQ 2003 Queue" class. This monitor is disabled by default, but for any queue where this monitor has been enabled by override, the script will fail and the monitor will change to a "critical" state.

Cause

The script has a function that calls the variable "iTotalSeconds". This variable is not declared or initialized in the script.

Resolution

This is a known issue and will be corrected in a future revision of this management pack.

If this monitor must be enabled prior to the release of the next version, the following method can be used to fix the script:

  1. Export the Microsoft.MSMQ.2003 management pack from the Operations Console and save it to the desktop.
  2. Open the file in notepad.
  3. Locate the following line:

    Dim lAppSpecific, iMaxWaitTime, bRemoveMessage, bCleanupQueue

  4. Insert the "iTotalSeconds" variable so that the line now appears as:

    Dim lAppSpecific, iMaxWaitTime, iTotalSeconds, bRemoveMessage, bCleanupQueue

  5. Locate the following section:

    If Err = 0 Then
    bCreateMessage = True

    sStep = "Sending message."

  6. Add the "iTotalSeconds=0" line to the section so that it appears like this:

    If Err = 0 Then
    bCreateMessage = True
    iTotalSeconds = 0

    sStep = "Sending message."

  7. Save the file.

  8. Delete the original MP from the console.
  9. Import the fixed MP into the console
More Information

If any override management packs were created for rules and monitors from the MSMQ 2003 MP, they will no longer be valid once the original MP has been unsealed and reimported. Overrides must be recreated and saved to this fixed MP.

As an alternative, the MP can be resealed and a new override MP can be created for it. For additional information, see the article in TechNet
"How to seal a management pack"

http://technet.microsoft.com/en-us/library/bb309498.aspx

=====

The information above was published today in the following Microsoft Knowledge Base article written by Rich Pesenko:

KB2522424 – Alert for "Send Test Message" monitor from the MSMQ 2003 Management Pack in Systems Center Operations Manager 2007

J.C. Hornbeck | System Center Knowledge Engineer

The App-V Team blog: http://blogs.technet.com/appv/
The WSUS Support Team blog: http://blogs.technet.com/sus/
The SCMDM Support Team blog: http://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
The SCOM 2007 Support Team blog: http://blogs.technet.com/operationsmgr/
The SCVMM Team blog: http://blogs.technet.com/scvmm/
The MED-V Team blog: http://blogs.technet.com/medv/
The DPM Team blog: http://blogs.technet.com/dpm/
The OOB Support Team blog: http://blogs.technet.com/oob/
The Opalis Team blog: http://blogs.technet.com/opalis
The Service Manager Team blog: http: http://blogs.technet.com/b/servicemanager
The AVIcode Team blog: http: http://blogs.technet.com/b/avicode
The System Center Essentials Team blog: http: http://blogs.technet.com/b/systemcenteressentials
The Server App-V Team blog: http: http://blogs.technet.com/b/serverappv

clip_image001 clip_image002

Comments (2)

  1. show box says:

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    http://showboxandroids.com/showbox-apk/
    http://showboxappandroid.com/
    Latest version of Showbox App download for all android smart phones and tablets.
    http://movieboxappdownloads.com/ – It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    http://showboxappk.com/showbox-for-ipad-download/
    http://showboxappk.com/showbox-for-iphone/
    Showbox for PC articles:
    http://showboxandroids.com/showbox-for-pc/
    http://showboxappandroid.com/showbox-for-pc-download/
    http://showboxforpcs.com/
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment
    it doesn’t charge cash for watching films and recordings.
    http://www.showboxforipad.org/showbox-apk/ Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android. The above
    all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on ‘Obscure sources’.
    http://www.showboxforipad.org/
    http://movieboxappdownloads.com/moviebox-apk-android/
    http://movieboxappdownloads.com/download-moviebox-pc/
    Movie Box, an esteemed movies application in which you can find stacks of programs and films. The guide is given here to download Movie Box app to Android and to Apple iOS 9.0.2, iOS 8.4/8.3 and also for the lower versions without Jailbreak.
    http://showboxforiphone.org/
    Please do login to Showbox application with the help of Ymail. You can login in Ymail from here –
    http://ymaillogintips.com/
    Sign Up & Do registration for latest movies on Showbox application

  2. dday says:

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?

    http://www.movieboxapkdownload.com/ – It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows,
    Cartoons and many more such things on your smartphone.

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?

    http://www.aptoideapkdownload.com/ – It’s just 2 MB file you can easily get it on your android device without much trouble.

    http://www.vidmatedownloadapk.com/

    Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.

    http://www.shareitforpccdownload.com/

    http://www.shareitforpccdownload.com/shareit-for-pc-windows-10-8-1-7-mac-free-download/

    SHAREit for PC lets you transfer files between devices like phones, tablets and computers. With the wide area of sharing compatibility, sharing across anything is easy now. This is the best and the fastest alternative for USB sharing.