Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Modify Alert description

0 views
Skip to first unread message

Craig

unread,
Feb 25, 2008, 6:18:41 PM2/25/08
to
Has anyone tried to modify the alert description of a monitoringAlert
class object? It appears it may be a read only property no matter how
you try it but I was hoping to hear if anyone has been able to do
this. I have obtained the alertID from the connector subscription.

Basically I want to append a URL that points to our help desk ticket
that is associated with the alert. In MOM 2005 I had to do this
directly into the database since the management servers are the only
servers allowed to create tickets and when a response in MOM 2005 is
launched from a management server on behalf of an agent, any changes
are overwritten with the original agent information. Thus I had a
delayed process to update the alert description.

SCOM 2007 changed all of the rules on me and thus I am trying to learn
how to do the same thing with a new set of rules.

Anders Bengtsson

unread,
Feb 26, 2008, 3:41:24 AM2/26/08
to
Hi Craig,

Take a look at my webpage, I have some scripts that update custom fields,
maybe you can use that script to insert ticket URL into custom fields and
then include custom field in your alert.

--
Anders Bengtsson
Microsoft MVP - Operations Manager
http://www.contoso.se

C> Has anyone tried to modify the alert description of a monitoringAlert
C> class object? It appears it may be a read only property no matter
C> how you try it but I was hoping to hear if anyone has been able to do
C> this. I have obtained the alertID from the connector subscription.
C>
C> Basically I want to append a URL that points to our help desk ticket
C> that is associated with the alert. In MOM 2005 I had to do this
C> directly into the database since the management servers are the only
C> servers allowed to create tickets and when a response in MOM 2005 is
C> launched from a management server on behalf of an agent, any changes
C> are overwritten with the original agent information. Thus I had a
C> delayed process to update the alert description.
C>
C> SCOM 2007 changed all of the rules on me and thus I am trying to
C> learn how to do the same thing with a new set of rules.
C>


Craig

unread,
Feb 27, 2008, 12:07:49 PM2/27/08
to
Thanks Anders. I already found that custom fields are an option but
these are not dislayed in the alert so if someone wants to open the
help desk ticket, they have to get to the custom field and I don't
believe we can make that an active link which means it has to be cut-n-
pasted into a browser.

I'm trying to make things as simple and easy as possible for my users.

Thanks again.

Craig

unread,
Feb 27, 2008, 12:17:21 PM2/27/08
to
... Actually you spawned a good idea if I cannot update the alert. My
alternate solution is to populate the URL in custom field 1 and then
make an alert task which kicks off internet explorer with the URL to
the help desk ticket as a command line option.

At least I have something to fall back on.

Anders Bengtsson

unread,
Feb 28, 2008, 8:42:39 AM2/28/08
to
Hi Craig,

There is a couple of scripts at my webpage that can help you modify custom
fields, feel free to copy them.


--
Anders Bengtsson
Microsoft MVP - Operations Manager
http://www.contoso.se

C> ... Actually you spawned a good idea if I cannot update the alert.
C> My alternate solution is to populate the URL in custom field 1 and
C> then make an alert task which kicks off internet explorer with the
C> URL to the help desk ticket as a command line option.
C>
C> At least I have something to fall back on.
C>


0 new messages