Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Email Notification only after 3-4 retries

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
nasdweb



Joined: 11 Jul 2012
Posts: 53

PostPosted: Tue Jul 02, 2013 7:42 pm    Post subject: Email Notification only after 3-4 retries Reply with quote

I wanted to see if it was possible for VV to only send a email error notification after the second or third retry of a file replication process.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Wed Jul 03, 2013 8:57 am    Post subject: Reply with quote

Yes, please see e-mail conditions in the ViceVersa help file. The variable to use should be runs_since_last_email .
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
nasdweb



Joined: 11 Jul 2012
Posts: 53

PostPosted: Wed Jul 10, 2013 12:16 pm    Post subject: Reply with quote

TGRMN Software wrote:
Yes, please see e-mail conditions in the ViceVersa help file. The variable to use should be runs_since_last_email .


I tried using this variable, but it did not work in my case. Please confirm if my understanding of how it works and how it would not work in our situation.

We have VV and VVEngine running 24/7 and 365 days a year, so it seems that if an error occurs and the way the variable works, it sends it after x number of times the profile runs and stops. Since our profiles run daily and rarely ever stops unless I'm cleaning up log files or changing settings, this is not what we are looking for.

I also looked at the other conditions, where it sends the error email after x number of time has passed since the email is sent. Does this mean that the first email is not sent, but counted for in this condition, then sends it after the specified time?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Thu Jul 11, 2013 2:08 pm    Post subject: Reply with quote

Hi, in that case you could use:

elapsed_minutes The number of minutes that have passed since the last e-mail was sent. i.e. elapsed_minutes > 30 (send e-mail if the number of minutes that have passed since the last e-mail was sent is greater than 30).

or

error_email_elapsed_minutes The number of minutes that have passed since the last error e-mail was sent error_email_elapsed_minutes > 7 (send e-mail if the number of minutes that have passed since the last error e-mail was sent is greater than 7).

Did I understand correctly the requirements? thanks
Question
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
nasdweb



Joined: 11 Jul 2012
Posts: 53

PostPosted: Tue Jul 16, 2013 8:31 pm    Post subject: Reply with quote

TGRMN Software wrote:
Hi, in that case you could use:

elapsed_minutes The number of minutes that have passed since the last e-mail was sent. i.e. elapsed_minutes > 30 (send e-mail if the number of minutes that have passed since the last e-mail was sent is greater than 30).

or

error_email_elapsed_minutes The number of minutes that have passed since the last error e-mail was sent error_email_elapsed_minutes > 7 (send e-mail if the number of minutes that have passed since the last error e-mail was sent is greater than 7).

Did I understand correctly the requirements? thanks
Question


With both of these conditions, am I assuming that the first error email will always be sent, then will only be sent again if so and so much time has passed?

Sorry if I'm not explaining myself clearly. Our VVEngine runs 24/7 and processes thousands of files daily. If we were to set these conditions, I'm assuming the matter what we set, the first email would always be sent unless we place in some ridiculously high number of minutes where it would equate to days, if that's even possible.

My request is to basically tell VV that OK, we get that there's a copy error because the file was in use, we don't care about that and you don't need to let us know that, but if this same error occured more than 3 times in a row, then let us know immediately via email.

Essentially, only let us know if it occurs more than x number of times. Our goal is to cut down on the unnecessary emails, so if the above is not possible, then maybe there's a permanent setting fix for the every now and then error notifications we receive on a daily basis that reports VV erroring on the replication process because the file was in use, then recovers minutes later.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Wed Jul 17, 2013 7:10 am    Post subject: Reply with quote

Do you have it set to send notification e-mails in case of success (no error at all) or only on errors? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
nasdweb



Joined: 11 Jul 2012
Posts: 53

PostPosted: Wed Jul 17, 2013 2:56 pm    Post subject: Reply with quote

TGRMN Software wrote:
Do you have it set to send notification e-mails in case of success (no error at all) or only on errors? thanks



The send email only on execution error is checked.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Thu Jul 18, 2013 7:31 am    Post subject: Reply with quote

Hi, unfortunately I do not think it's possible to set it up exactly as you need, e.g. e-mail after x consecutive errors. Using error_email_elapsed_minutes would only partially work. It would still send an e-mail in this case:

error(e-mail sent here)->error->OK->error->error->(e-mail sent here if error_email_elapsed_minutes elapsed).

What you are looking for is a variable such as consecutive_error_runs and then use a condition consecutive_error_runs > 5 for instance.

This makes a lot of sense and I have added this for the next build / release.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
nasdweb



Joined: 11 Jul 2012
Posts: 53

PostPosted: Thu Jul 18, 2013 12:49 pm    Post subject: Reply with quote

We look forward to the next release then. Thank you!
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Wed Nov 06, 2013 1:10 am    Post subject: Reply with quote

Hi, this new variable consecutive_error_runs has been added to the latest build 2513, please see:

http://www.tgrmn.com/web/forum/viewforumf1.htm

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: