Author |
Message |
Guest Guest
|
Posted: Thu Aug 23, 2007 12:38 am Post subject: |
|
|
Guys with respect, but if you ever looking to hit professional market
any backup software replication or whatever you want to call it, requires notifcations. Close system's management becoming more like a routine
and one person is no longer responsible for a single server or a proccess in that matter.
If i'm running a backup over the Internet which takes about 12 -/+ hours
and 12hrs later i find out that it failed after running 10 mins.. what good does that do for me ? Another thing is notification has to have escalation procedures... |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Thu Aug 23, 2007 1:49 am Post subject: |
|
|
Hi, although e-mail notifications can be setup using scripts (see http://www.tgrmn.com/web/kb/item67.htm) we are now planning to add e-mail support directly into the profile settings, without the need of using scripts. The script functionality will be kept in the program for users who require full customization of the notification. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Guest
|
Posted: Thu Aug 23, 2007 3:14 am Post subject: |
|
|
But you should be able to customize when to generate notification
for example in network monitoring...
Device is Up
Device been Up for 5min (you can adjust the value)
Device Up and responding for 20 min
Device is down for at least 5 min.
Device is down for 20 min etc.. etc.
In backup should go something like this
Backup Started on Machine IP or Host Optional Path showing source and target maybe even profile name.
And if there's a will a repeat notification let';s say every hour confirming that it is still running or a notification if it fails and why.
And then after is completed. |
|
Back to top |
|
|
thefishmonger
Joined: 29 Feb 2008 Posts: 1 Location: UK
|
Posted: Fri Feb 29, 2008 7:01 pm Post subject: |
|
|
I've created a custom email notification script as the one posted did not work for me, plus I wanted to see the whole log.
Excellent site for email vbs scripts:
http://www.paulsadowski.com/WSH/cdo.htm
This script emails the actual viceversa log file as an attachment. (I trigger the .vbs script within a batch file after running my viceversa job).
Code: | Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Offsite ViceVersa Log"
objMessage.From = "YOU SMTP EMAIL ADDRESS HERE"
objMessage.To = "DESTINATION SMTP EMAIL ADDRESS HERE"
objMessage.TextBody = "The log file attached is from Offsite Data Backup"
objMessage.AddAttachment "C:\Documents and Settings\User\Desktop\server
shared\ifgmirror\log1.log"
'==This section provides the configuration information for the remote SMTP
server.
'==Normally you will only change the server name or IP.
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
'Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "YOUR SMTP
SERVER ADDRESS E.G. mail.smtp.com"
'Your UserID on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusername") = "YOUR SMTP
SERVER USERNAME"
'Your password on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "YOU SMTP
SERVER PASSWORD"
'Server port (typically 25)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objMessage.Configuration.Fields.Update
'==End remote SMTP server configuration section==
objMessage.Send |
Note: wscript.exe in the windows\system32 dir trigger the vbs scripts and can sometimes be treated as a virus attack attempt. So make sure it's not blocked by your av or firewall programs.
Hope it helps someone.
Additional info on the batch file..
My job establishes a windows vpn network connection, triggers the viceversa job, disconnects the vpn connection and then emails the log file.
I schedule a job pointing to a shortcut to the batch file, which is set to run in minimised mode. /hiddenautoexec keeps it hidden away in the background whilst it runs.
More info on running .bat minimised here:
http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized
The .bat code:
Code: |
rasdial <Connection Name> /disconnect
rasdial <Connection Name> <username> <password>
"C:\Program Files\ViceVersa Pro 2\ViceVersa.exe" "C:\Documents and Settings\Administrator\My Documents\ViceVersa PRO 2\YOURVICEVERSAJOB.fsf" /hiddenautoexec /autoclose /wait
rasdial <Connection Name> /disconnect
C:\sendvvlog1.vbs
|
(sendvvlog1.vbs being the script you can download and edit above)
-- http://www.tgrmn.com -- |
|
Back to top |
|
|
JoeWied Guest
|
Posted: Wed Mar 25, 2009 2:25 am Post subject: Email Notification |
|
|
Unfortunately end_scripts doesn't work on my machine. No clue why.
Same script with 'backupname'_start.vbs (instead of 'backupname'_end.vbs) is running correctly. Both checkboxes (in adv. section) are set on. System: Windows 2003 Standard Server.
no error code - it seems, that the endscript doesn't start.
Where is that email-notification on GUI, which you've promised ? |
|
Back to top |
|
|
seankozak
Joined: 20 Apr 2009 Posts: 1 Location: Vancouver, BC
|
Posted: Mon Apr 20, 2009 11:25 pm Post subject: Email notifications |
|
|
Hello TGRMN!
We recently started using your software and have been relatively happy with its functionality. The one missing piece for us is the ability to send an email to multiple addresses when a transfer is complete.
All attempts with the scripts have been unsuccessful.
The post below points to this feature being built into the GUI code under the profile preferences (from Aug-2007). Any chance we'll see this soon?
Thanks.
Sean
running XP SP3
TGRMN Software wrote: | Hi, although e-mail notifications can be setup using scripts (see http://www.tgrmn.com/web/kb/item67.htm) we are now planning to add e-mail support directly into the profile settings, without the need of using scripts. The script functionality will be kept in the program for users who require full customization of the notification. |
|
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
|
Back to top |
|
|
|