Just an FYI on a new Knowledge Base article we published this morning for SCOM 2007:
=====
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.
The script has a function that calls the variable "iTotalSeconds". This variable is not declared or initialized in the script.
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:
Dim lAppSpecific, iMaxWaitTime, bRemoveMessage, bCleanupQueue
Dim lAppSpecific, iMaxWaitTime, iTotalSeconds, bRemoveMessage, bCleanupQueue
If Err = 0 Then bCreateMessage = True
sStep = "Sending message."
Add the "iTotalSeconds=0" line to the section so that it appears like this:
If Err = 0 Then bCreateMessage = True iTotalSeconds = 0
Save the file.
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