You have to login in order to post a reply to this topic.

5 replies [Last post]
topakitz
topakitz's picture
User offline. Last seen 1 year 21 weeks ago. Offline
Joined: 08/21/2010
Posts: 8

Hi Im stucked.. I need some help.. I dont know how to do this.. If you can provide me the source for this I will be grateful..

I'm creating a error text checking job. Ms. Samantha already provided me a sample job but i can't seems to find a way to find associate it with what i needed. Attached are two sample logs: the previous logs has a latest error in 8/17/2010 2:00:12 which is ***   AUTOMATION ERROR and the other one is the latest logs has an error in 8/17/2010 5:45:12 which is ***   ERROR:Unable to connect to remote host but have all previous errors at the top.

What I want to do in the job is that it will only alert me when it will encounter the latest error and not alert me when i already acknowledge that latest error.

Notes: The text file is only one filename and updates every 15mins meaning it will insert the latest logs at the bottom of the previous logs.

It will be a big help.

Thanks in advance!!!

AttachmentSize
Previouslogs.txt8.45 KB
Latestlogs.txt8.68 KB
Samantha
Samantha's picture
User offline. Last seen 7 hours 57 min ago. Offline
Joined: 04/23/2010
Posts: 1349
Re: Need some Help... T_T

Hello Topakitz,

Can you please tell me in which way the acknowledgement of the error will be monitored?

:) Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

topakitz
topakitz's picture
User offline. Last seen 1 year 21 weeks ago. Offline
Joined: 08/21/2010
Posts: 8
Re: Need some Help... T_T

Hi Samantha,

For the acknowledgement of the error monitored, something that prompts me the error of that time and when i click ok its not going to prompt me again until it will encountered another error.

Thanks..

Topakitz

Samantha
Samantha's picture
User offline. Last seen 7 hours 57 min ago. Offline
Joined: 04/23/2010
Posts: 1349
Re: Need some Help... T_T

^
Which version of WA are you using?

Using WA beta 3.1 you can use a persistent variable, where you tell it that as long as the message that follows the "Error" word is not the same with the previous time it found it, then if will notify u.

As soon as u let me know which version u are using, I'll guide you through to build the job

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

topakitz
topakitz's picture
User offline. Last seen 1 year 21 weeks ago. Offline
Joined: 08/21/2010
Posts: 8
Re: Need some Help... T_T

I'm using WA v.3.0.3.410

Thanks...

Topakitz

Samantha
Samantha's picture
User offline. Last seen 7 hours 57 min ago. Offline
Joined: 04/23/2010
Posts: 1349
Re: Need some Help... T_T

Hello topakitz,

Please check the job attached, have I got right what it is you want to do I think this should make the trick for you, but it might also need some adjustments from you ;)

I take it that anything you have acknowledged is already stored in the previous logs. So what this job does is compares the two log files and only displays errors that are found in the latest logs and not the previous logs.

Let me know if this is what you were after or whether you need any help configuring it

:)
Samantha

AttachmentSize
error handling.waj 16 KB
__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..