Discussion:
Copied EVENT will not fire and notify me.
(too old to reply)
Greg Larsen
2008-01-09 00:14:00 UTC
Permalink
I'm new to MOM and I'm trying to figure out how to create new EVENTS that
will fire and send me a notify when a specific event log record is written to
the application event log. So I thought I would get my feet wet by copying
an existing event that was created as part to the SQL Server management pack
install. I basically took an existing event that was working and senting me
notifications and and copied and pasted into the same rule folder. I then
disabled the original rule that was copied and enabled the copied rule. I
then "Commited Configuration Change". I then went to the server that the
rule was associated with and performed the action to create an event in the
event log. The new rule never created an Alert and notified me. Does anyone
know what I did wrong? What might be the steps to determine what is not
working? How do I verify that the MOM agent on the remote server got updated
with the new rule? Any suggestions on how to resolve this would be greatly
appreciated.
--
If you are looking for SQL Server examples or a free SQL Server DBA
Dashboard tool check out my Website at http://www.sqlserverexamples.com
Anders Bengtsson
2008-01-09 07:43:47 UTC
Permalink
Hi Greg,

You can see in the event log that the agent have recived new rules. You can
also clear the agent cache to make it reload everything from the management
server. Try create a new really simple rule in the same rule folder and see
if it trigger on a simple event you create on the SQL Server. When you get
the alert in the console, you can start investigate how to get a e-mail based
on the alert.

-----
Regards
Anders Bengtsson
Microsoft MVP - MOM
http://www.contoso.se


GL> I'm new to MOM and I'm trying to figure out how to create new EVENTS
GL> that will fire and send me a notify when a specific event log record
GL> is written to the application event log. So I thought I would get
GL> my feet wet by copying an existing event that was created as part to
GL> the SQL Server management pack install. I basically took an
GL> existing event that was working and senting me notifications and and
GL> copied and pasted into the same rule folder. I then disabled the
GL> original rule that was copied and enabled the copied rule. I then
GL> "Commited Configuration Change". I then went to the server that the
GL> rule was associated with and performed the action to create an event
GL> in the event log. The new rule never created an Alert and notified
GL> me. Does anyone know what I did wrong? What might be the steps to
GL> determine what is not working? How do I verify that the MOM agent
GL> on the remote server got updated with the new rule? Any suggestions
GL> on how to resolve this would be greatly appreciated.
GL>
Greg Larsen
2008-01-09 16:10:06 UTC
Permalink
I started with a real simple one and that didn't work either. So I thought
if I copied an existing one that worked, and then tried that I would have
more success. Guess I was wrong.

I went to the computer that was running the agent and could not find any
events in the event log indicating that the agent rules got a new copy. I
know they are getting updated because I'm able to enable and disable the rule
I copied and get it to fire and show up in the Operator console and send me
email. I'm just not able to get my copied rule to fire.

I also stopped MOM, but could there was not find agent cache directory. Or
maybe I'm looking in the wrong location. I looked for the following
directory on the agent computer "c:\documents and settings\all
users\application data\microsoft\microsoft operations manager\%1\". How can
I identify where the agent cache is located?

Looking for additional suggestions for troubleshooting this problem. Any
thoughts?
--
If you are looking for SQL Server examples or a free SQL Server DBA
Dashboard tool check out my Website at http://www.sqlserverexamples.com
Post by Anders Bengtsson
Hi Greg,
You can see in the event log that the agent have recived new rules. You can
also clear the agent cache to make it reload everything from the management
server. Try create a new really simple rule in the same rule folder and see
if it trigger on a simple event you create on the SQL Server. When you get
the alert in the console, you can start investigate how to get a e-mail based
on the alert.
-----
Regards
Anders Bengtsson
Microsoft MVP - MOM
http://www.contoso.se
GL> I'm new to MOM and I'm trying to figure out how to create new EVENTS
GL> that will fire and send me a notify when a specific event log record
GL> is written to the application event log. So I thought I would get
GL> my feet wet by copying an existing event that was created as part to
GL> the SQL Server management pack install. I basically took an
GL> existing event that was working and senting me notifications and and
GL> copied and pasted into the same rule folder. I then disabled the
GL> original rule that was copied and enabled the copied rule. I then
GL> "Commited Configuration Change". I then went to the server that the
GL> rule was associated with and performed the action to create an event
GL> in the event log. The new rule never created an Alert and notified
GL> me. Does anyone know what I did wrong? What might be the steps to
GL> determine what is not working? How do I verify that the MOM agent
GL> on the remote server got updated with the new rule? Any suggestions
GL> on how to resolve this would be greatly appreciated.
GL>
Greg Larsen
2008-01-09 18:43:00 UTC
Permalink
I finally got my events to fire, but it required a stop and restart of the
mom agent. Any idea why it requires a restart of the mom agent. I thought I
was suppose to be able to commit the changes and at the next requested
configuration interval the mom agent is suppose to pick up the new changes.
Now since I can't see any event log messages saying changes where found as
your not suggests on the agent machine, is it possibly that the agent is not
actually configured to look for new changes based on an interval? How can I
verify that the agent is in fact polling for new event/alert configurations?
--
If you are looking for SQL Server examples or a free SQL Server DBA
Dashboard tool check out my Website at http://www.sqlserverexamples.com
Post by Anders Bengtsson
Hi Greg,
You can see in the event log that the agent have recived new rules. You can
also clear the agent cache to make it reload everything from the management
server. Try create a new really simple rule in the same rule folder and see
if it trigger on a simple event you create on the SQL Server. When you get
the alert in the console, you can start investigate how to get a e-mail based
on the alert.
-----
Regards
Anders Bengtsson
Microsoft MVP - MOM
http://www.contoso.se
GL> I'm new to MOM and I'm trying to figure out how to create new EVENTS
GL> that will fire and send me a notify when a specific event log record
GL> is written to the application event log. So I thought I would get
GL> my feet wet by copying an existing event that was created as part to
GL> the SQL Server management pack install. I basically took an
GL> existing event that was working and senting me notifications and and
GL> copied and pasted into the same rule folder. I then disabled the
GL> original rule that was copied and enabled the copied rule. I then
GL> "Commited Configuration Change". I then went to the server that the
GL> rule was associated with and performed the action to create an event
GL> in the event log. The new rule never created an Alert and notified
GL> me. Does anyone know what I did wrong? What might be the steps to
GL> determine what is not working? How do I verify that the MOM agent
GL> on the remote server got updated with the new rule? Any suggestions
GL> on how to resolve this would be greatly appreciated.
GL>
Loading...