MSCOM 2007SP1 Generic log monitor not providing description with alerts
Home  » Forums  » MSCOM 2007SP1 Generic log monitor not providing description with alerts

MSCOM 2007SP1 Generic log monitor not providing description with alerts
Posted: Sun, Feb 14, 2010 7:08 PM :: Rank: 0
Author
Points: 371
Level: System Center Hero

I have built a text log, repeated event detection monitor to alert if 3 instances of "OracleException" are encountered in logs within a 5 minute period. The two issues I am seeing are:

1)The monitor alerts based on the same three instances every 15-20 minutes, without any new occurances being added to the log file. I was under the assumption MSCOM picked up where it left off with the log file, and would only alert on any new occurances of the text string.

2)I've added the following in the alert description but its not displayed in the alert message. This should be the correct format for a log monitor.

Logfile Directory: $Data/Context/LogfileDirectory$ Logfile Name: $Data/Context/LogfileName$ String: $Data/Context/Params/Param[1]$

Any help appreciated.

   Report Abuse
RE: MSCOM 2007SP1 Generic log monitor not providing description with alerts
Posted: Mon, Feb 15, 2010 1:42 PM :: Rank: 0
Author
Points: 41211
Level: System Center Expert

 Have a look at the XML Cheat Sheet for  OpsMgr and SCE. I believe we have the correct XPath presented in there. Here's a link to the download.

XML Cheat Sheet for OpsMgr and SCE

   Report Abuse
Re: MSCOM 2007SP1 Generic log monitor not providing description with alerts
Posted: Mon, Feb 15, 2010 6:03 PM :: Rank: 2
Author
Points: 371
Level: System Center Hero
Logfile Directory: $Data/EventData/DataItem/LogfileDirectory$

Logfile Name: $Data/EventData/DataItem/LogfileName$

String: $Data/EventData/DataItem/Params/Param[1]$

Yields

Alert description: Logfile Directory: Logfile Name: String: in the alert.

Per the XML cheat sheet, this should be the correct values for a log file monitor.

Also on the client server, it writes three 5401 events in the Operations Manager log for each of the 3 parameters in the alert description with the following:

Parameter replacement during creation of the alert failed.



Alert: UIGeneratedMonitor8ab95debc0d341b383f135dab80c41e8

Workflow ID: 65BC3FFB-D3EB-5DAB-1B67-BC731DF1B452

Management Group ID: E42BCB66-5719-DB1A-BBA1-9B0E1F8B24F9



Failing replacement: $Data/EventData/DataItem/LogfileDirectory$

   Report Abuse
RE: MSCOM 2007SP1 Generic log monitor not providing description with alerts
Posted: Mon, Feb 15, 2010 7:47 PM :: Rank: 11
Author
Points: 41211
Level: System Center Expert

Will you attach your MP XML for me to look at? Will look into this in the lab in a bit to see if I can duplicate the error or find error in MP configuration.

   Report Abuse
RE: MSCOM 2007SP1 Generic log monitor not providing description with alerts
Posted: Wed, Feb 17, 2010 11:33 AM :: Rank: 0
Author
Points: 371
Level: System Center Hero

Thanks for the help!!

   Report Abuse

Home  » Forums  » MSCOM 2007SP1 Generic log monitor not providing description with alerts
Tag Cloud
Quick Links
Top Contributors
Featured Members
Pete Zerger
Points: 41211
Level: System Center Expert
Simon Skinner
Points: 30429
Level: System Center Expert
Tommy Gunn
Points: 29964
Level: System Center Expert
Stefan Koell
Points: 20109
Level: System Center Expert
Tenchuu
Points: 15261
Level: System Center Expert