Resolving MOM Alerts Remotely from another machine
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Resolving MOM Alerts Remotely from another machine

 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM
Author Message
Slim
Guest





Posted: Mon Oct 31, 2005 9:51 pm    Post subject: Resolving MOM Alerts Remotely from another machine Reply with quote

I need to resolve MOM alerts from another machine from an ASP Page. What
would be my best option? Is direct access to the MOM database and updating
the resolution state of a particular alert the only way?

I have tried to find out if I could use ScriptContext Objects, but
ScriptContext can only be used when the script is being called from MOM
itself right?

Any help is appreciated. Thank you!
Back to top
Daniel Lai [MVP-Managemen
Guest





Posted: Tue Nov 01, 2005 1:50 am    Post subject: Re: Resolving MOM Alerts Remotely from another machine Reply with quote

Hello,

Thank you for your posting!

you can try to use MOM web console.

If you have any questions, please feel to let me know. I am glad to be of
assistance.


--
Daniel Lai
Microsoft MVP Program Top Contributor
Windows Server-Management Infrastructure
Microsoft Management Solution Consultant
http://msmvps.com/daniel

"Slim" <Slim@discussions.microsoft.com> wrote in message
news:146A79C9-A7D2-46B0-9BCD-C95FC772FCC5@microsoft.com...
Quote:
I need to resolve MOM alerts from another machine from an ASP Page. What
would be my best option? Is direct access to the MOM database and
updating
the resolution state of a particular alert the only way?

I have tried to find out if I could use ScriptContext Objects, but
ScriptContext can only be used when the script is being called from MOM
itself right?

Any help is appreciated. Thank you!
Back to top
Slim
Guest





Posted: Tue Nov 01, 2005 9:13 am    Post subject: Re: Resolving MOM Alerts Remotely from another machine Reply with quote

Thank you for your reply. Are you saying I can access the alert object and
set the resolution state of a particular alert through web console from an
ASP page on a remote machine? If so could you give me some ideas how I can
do this from the ASP code?

Thanks!


"Daniel Lai [MVP-Management Infrastructur" wrote:

Quote:
Hello,

Thank you for your posting!

you can try to use MOM web console.

If you have any questions, please feel to let me know. I am glad to be of
assistance.


--
Daniel Lai
Microsoft MVP Program Top Contributor
Windows Server-Management Infrastructure
Microsoft Management Solution Consultant
http://msmvps.com/daniel

"Slim" <Slim@discussions.microsoft.com> wrote in message
news:146A79C9-A7D2-46B0-9BCD-C95FC772FCC5@microsoft.com...
I need to resolve MOM alerts from another machine from an ASP Page. What
would be my best option? Is direct access to the MOM database and
updating
the resolution state of a particular alert the only way?

I have tried to find out if I could use ScriptContext Objects, but
ScriptContext can only be used when the script is being called from MOM
itself right?

Any help is appreciated. Thank you!



Back to top
Arie de Haan
Guest





Posted: Wed Nov 02, 2005 9:51 pm    Post subject: Re: Resolving MOM Alerts Remotely from another machine Reply with quote

In article <0781E7D2-17A9-4807-8B40-255FD49C7CE5@microsoft.com>,
Slim@discussions.microsoft.com says...
Quote:
Thank you for your reply. Are you saying I can access the alert object and
set the resolution state of a particular alert through web console from an
ASP page on a remote machine? If so could you give me some ideas how I can
do this from the ASP code?

Thanks!

Hi Slim,


you should take a look at the MOM SDK, and at the code in from the
webconsole.

As the webconsole is written based on the SDK, and you can set the
resolution state of an alert with the webconsole, this would set you in
the right direction i think

the SDK can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1c2c646a-50a0-
4683-8c71-512c5009c990&DisplayLang=en
or
http://tinyurl.com/b2xoc

--
Greetz,

Arie
This posting is provide "AS IS" with no guarantees, warranties, rigths
etc.
Back to top
Arie de Haan
Guest





Posted: Fri Nov 04, 2005 1:50 am    Post subject: Re: Resolving MOM Alerts Remotely from another machine Reply with quote

Quote:
3. Lastly is the MOM Web Service.... I haven't looked at this in detail,
but if anyone has any experience with it, I would love any input.

I think this is the best shot. I tried to do some things with the MOM

COM+ objects, but couldn't figure out how to get them working, as it is
undocumented.
So the ways i know to 'open' MOM from outside is the SDK and as you
already stated the webservice, iirc this is also coverd in the SDK
documentation.

Take a look at the solution accelerators, there is one for connecting to
foreign systems, like the SIEBEL helpdesk environment. That might give
you a start.
--
Greetz,

Arie
This posting is provide "AS IS" with no guarantees, warranties, rigths
etc.
Back to top
Slim
Guest





Posted: Fri Nov 04, 2005 1:50 am    Post subject: Re: Resolving MOM Alerts Remotely from another machine Reply with quote

Thanks for that hint! I did take a look at the Web Console code in the SDK,
but since the web site is still running on the MOM Server itself, I think its
a little different from my situation.

I need to connect to MOM Server from a remote machine which does not have
MOM installed, and resolve alerts and update alert data. I've looked at the
following:

1. MOM WMI Namespace allows update of alert resolutionstate, but not the
resolvedby, resolvedate, and history of the alert....
2. I've looked at the Microsoft.EnterpriseManagement.Mom Namespace, and it
seems like a possibility, but I do not see anywhere any kind of connection
object... I would have to first connect to MOM remotely, and obtain the alert
object....
3. Lastly is the MOM Web Service.... I haven't looked at this in detail,
but if anyone has any experience with it, I would love any input.

I really do not want to access the MOM database directly from the remote
server and update the alert data..... I would prefer to obtain the alert
object and update it that way...

Thanks!



Quote:

Hi Slim,

you should take a look at the MOM SDK, and at the code in from the
webconsole.

As the webconsole is written based on the SDK, and you can set the
resolution state of an alert with the webconsole, this would set you in
the right direction i think

the SDK can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1c2c646a-50a0-
4683-8c71-512c5009c990&DisplayLang=en
or
http://tinyurl.com/b2xoc

--
Greetz,

Arie
This posting is provide "AS IS" with no guarantees, warranties, rigths
etc.

Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB