myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Exchange Management Pack Config Wizard

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Operations Manager >> Exchange Management Pack Config Wizard Page: [1]
Login
Message << Older Topic   Newer Topic >>
Exchange Management Pack Config Wizard - 8/5/2008 7:12:20 AM   
symbian

 

Posts: 12
Score: 0
Joined: 1/30/2008
Status: offline
I have been trying to setup detailed exchange monitoring using the Microsoft Exchange Management Pack COnfig Wizard but I get the 9986 error.

I have read most of the KB articles and a few others and still I cannot solve this problem. Any ideas?

This configuration can only be made after the Exchange MOM event 9986 is registered by MOM.
Post #: 1
RE: Exchange Management Pack Config Wizard - 8/5/2008 8:51:04 AM   
symbian

 

Posts: 12
Score: 0
Joined: 1/30/2008
Status: offline
Anyone know what language this is?


var EVENT_SOURCE =3D "Exchange MOM";

// Event Constants
var EVENT_TYPE_SUCCESS =3D 0;
var EVENT_TYPE_ERROR =3D 1;
var EVENT_TYPE_WARNING =3D 2;
var EVENT_TYPE_INFORMATION =3D 4;
// Event ID Constants
var EVENT_ID_BASE_STATE_OK =3D 100000;

PublishExMPData:
{
try {
=09
// Other Constants
var SUCCESS =3D 0;
var WshNetwork =3D new ActiveXObject("WScript.Network");
var strServerName =3D WshNetwork.ComputerName;
var PubKeyPublisherObjName;
=09
PubKeyPublisherObjName =3D "EMPKP.PubKeyPublisher";
=09
try {
var objKP =3D new ActiveXObject(PubKeyPublisherObjName);=20
}catch(err){
CreateEvent(EVENT_SOURCE, 10001, EVENT_TYPE_ERROR, "Failed to create =
the object '" + PubKeyPublisherObjName + "'.", "");
break PublishExMPData;
}
var errID;
errID =3D objKP.Publish();
if (errID !=3D SUCCESS)
CreateEvent(EVENT_SOURCE, 10000, EVENT_TYPE_ERROR, "Failed to publish =
Exchange Management Pack data required for performing MAPI logon on =
Exchange server:\"" + strServerName + ".\nError information:\n" + =
HResultToString(errID), "");=20
else
CreateEvent(EVENT_SOURCE, 9986, EVENT_TYPE_INFORMATION, "Successfully =
published Exchange Management Pack data required for performing MAPI =
logon on Exchange server:\"" + strServerName, "");=20
}catch(err){
CreateEvent(EVENT_SOURCE, 10000, EVENT_TYPE_ERROR, "Failed to publish =
Exchange Management Pack data required for performing MAPI logon on =
Exchange server:\"" + strServerName + ".\nError information:\n" + =
HResultToString(err.number) + " " + err.description, "");
}
}

function CreateEvent(strSource, lngEventID, lngEventType, strMsg, =
strComputer)
{
CreateEventEx(strSource, lngEventID, lngEventType, strMsg, =
strComputer, true);
}
function CreateReportEvent(strSource, lngEventID, lngEventType, strMsg, =
strComputer)
{
CreateEventEx(strSource, lngEventID, lngEventType, strMsg, =
strComputer, false);
}
function CreateEventEx(strSource, lngEventID, lngEventType, strMsg, =
strComputer, blnIncScriptName)
{
//var objNewEvent =3D ScriptContext.CreateEvent();
//Append ScriptContext.Name to event if requested
//  if (blnIncScriptName)
//    strMsg =3D strMsg + "\n\nThis event was generated by the script: =
\"" + ScriptContext.Name + "\"\n"
//objNewEvent.Message     =3D strMsg;
//objNewEvent.EventNumber =3D lngEventID;
//objNewEvent.EventType   =3D lngEventType;
//objNewEvent.EventSource =3D strSource;
//if (strComputer !=3D "")
//{
//  objNewEvent.LoggingComputer =3D strComputer;
//  objNewEvent.SourceComputer  =3D strComputer;
//}
//ScriptContext.Submit(objNewEvent);
} 

(in reply to symbian)
Post #: 2
RE: Exchange Management Pack Config Wizard - 8/5/2008 9:43:37 AM   
symbian

 

Posts: 12
Score: 0
Joined: 1/30/2008
Status: offline
I think its Java, but I cant get it to work.


(in reply to symbian)
Post #: 3
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Operations Manager >> Exchange Management Pack Config Wizard Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.203