Systems Management (OpenView-OP Mgmt) User Discussions
cancel

Send Event when a particular pattern is not found in log file

Highlighted
Absent Member.. mprasad Absent Member..
Absent Member..

Send Event when a particular pattern is not found in log file

Hi,

I am a newbie to HP OMU/OVO. I have got an requirement where I need to look into a log file for a particular pattern and generate alarm when it is found and not foud. In case it is found I need to send normal event to OVO message browser and when not found need to send critical alarm to message browser console. In this environment we are using OVO 8.I have created log file template for normal scenario when string is found in log file. I need help in figuring out ways to send critical alarm when that pattern is not found in log file. Any kind of help/input/guidance is appreciated.  

2 REPLIES
SHTRUKUM Trusted Contributor.
Trusted Contributor.

Re: Send Event when a particular pattern is not found in log file

Hi,

You can used the same patteren but use not match condition. Check the condition parameter.

Absent Member.. mprasad Absent Member..
Absent Member..

Re: Send Event when a particular pattern is not found in log file

I tried doing tha but it is not working. My understanding is if i will use both conditions together in a single template it will not work.lets say we have a file with a pattern matched case along with some other lines too. Now this template will match all the lines of that file and will send both critical and normal alarm. Is my understanding correct?
It might be different issue that i have not recived these both alarms but logically please correct me if i m wrong. Thanks in advance