Author |
Message |
nasdweb
Joined: 11 Jul 2012 Posts: 53
|
Posted: Tue Jul 02, 2013 7:42 pm Post subject: Email Notification only after 3-4 retries |
|
|
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
|
Posted: Wed Jul 03, 2013 8:57 am Post subject: |
|
|
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
|
Posted: Wed Jul 10, 2013 12:16 pm Post subject: |
|
|
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
|
Posted: Thu Jul 11, 2013 2:08 pm Post subject: |
|
|
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
_________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
nasdweb
Joined: 11 Jul 2012 Posts: 53
|
Posted: Tue Jul 16, 2013 8:31 pm Post subject: |
|
|
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
|
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
|
Posted: Wed Jul 17, 2013 7:10 am Post subject: |
|
|
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
|
Posted: Wed Jul 17, 2013 2:56 pm Post subject: |
|
|
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
|
Posted: Thu Jul 18, 2013 7:31 am Post subject: |
|
|
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
|
Posted: Thu Jul 18, 2013 12:49 pm Post subject: |
|
|
We look forward to the next release then. Thank you! |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8758
|
|
Back to top |
|
|
|