Bers
Contributor
Contributor

vdr mail report

How to make automatically email reportings for VDR appliance?

For ex. email about successful or error in backup job(s).

Tags (3)
0 Kudos
8 Replies
MKguy
Virtuoso
Virtuoso

It's not possible. Simple as that.

VDR is not capable of doing something as ``sophisticated'' as sending emails about (un)successful backups. I couldn't even find a logfile on the filesystem of the appliance that I could parse with a script or something.

-- http://alpacapowered.wordpress.com
0 Kudos
Bers
Contributor
Contributor

I thought that some kind of logs from vdr a here:

root@localhost:~# cd /var/vmware/datarecovery/

chunkDedupe-0.log Config10.dat operations_log.utx VMDRExec.dir/

chunkDedupe-9.log datarecovery-0.log vcbAPI-0.log

chunkDedupe-index datarecovery-9.log vcbAPI-9.log

Config10.bak datarecovery-index vcbAPI-index

0 Kudos
nipah
Contributor
Contributor

From what I have found, what you see in the VDR plugin -> Configuration -> Log is found inside the following file

/var/vmware/datarecovery/operations_log.utx

This file is binary but using "strings -e l" of this file gives readable text and looks to be in a format that can be parsed and email out.

Bers
Contributor
Contributor

I'm not very familiar with linux.

How can i parse and email successful backup job strings from this file: operations_log.utx[/i]?

0 Kudos
KBuchanan
Enthusiast
Enthusiast

If you're not familar with Linux...you need to get familar!

I don't mean to sound condescending, I'm a LInux Novice/Intermediate, also. I'm comfortable enough to manage a Linux system, write scripts, and troubleshoot. There many resources on the web to help orient you to using Linux...google "linux tutorial".

Even if someone here could give you a script to parse and e-mail the file, you shouldn't just accept it without understanding it. ...just my advice...

As far as the concept goes...I'm with you...WHY DIDN'T THEY INCLUDE SOME TYPE OF ERROR NOTIFICATION?!? I'll you why...VDR is an immature backup product that, at best, is rudimentary. I'm confident that in a few years, it could be the premier backup solution for VMs. Until then you better find another solution and let VDR "bake-in-the-oven" a bit longer.

0 Kudos
PatrickMc78
Contributor
Contributor

As a system admin, I recommend using biterscripting for log file parsing. I started with the script posted at and modified it to suit our requirements.

Patrick

0 Kudos
gunnarb
Expert
Expert

Did you ever come up with a solution to this problem? I'm in the process of writing a script for this but would be interested in how other people solved it. For my script all i want to get in email is Succes or Failure followed by the server name. Looking at the log file I think this is doable. What did you end up with?

-Gunnar

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com
0 Kudos
jim3cantos
Contributor
Contributor

0 Kudos