Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Veaam Backup Check

Rating
5 votes
Favoured:
2
Current Version
1.0
Last Release Date
2012-06-14
Compatible With
  • Nagios XI
Hits
69098
Files:
FileDescription
check_veaam.vbscheck_veaam.vbs
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This script checks the Veeam backup log files on a NSClient++ host.
This script checks the Veeam backup log files on a NSClient++ host.

It will return a nice output line with information about status, bytes backed up runtime etc.

Options are /w: for days before generating a warning after last successful backup and /c: for days before creating a critical after last successful backup.
Reviews (4)
byfgranat, December 19, 2012
Hi,
I've got a problem with the script.
First there's an error at line 123 (that error occurs when job is starting in retry mode).

strBackupFailedDateTime = Right(strBackupFailedDateTime,Len(strBackupSuccessDateTime) - 1)

Whereas I think it should be :

strBackupFailedDateTime = Right(strBackupFailedDateTime,Len(strBackupFailedDateTime) - 1)

Second, when corrected, I've got the error : CHECK_NRPE: Socket timeout after 30 seconds.

Rgds,

Frederic
bychipa, November 21, 2012
As the Backup log files replace characters with an underscore character (_) from the Backup Job name, the "strVeeamBackupName" string should be parsed to replace all spaces.

The other problem is that I have one Job (from 10) that has failed for about 2 weeks. Even though logs exist in the history with Success status, I'm guessing they will be in one of the .1/2/3/4/5 archived log files. As I get this failure with the 2 weeks of failure job:

.\check_veaam.vbs(129, 4) Microsoft VBScript runtime error: Type mismatch: 'strBackupFailedDateTime'

I presume it is because there is no logic to skip this step since the file probably does not have a success report.

Otherwise it works perfect so far with Veeam 6.1.0.204.

Now I just need a wrapper script to automatically extract Job names and run the script for auto running / Job addition :)
byargonius, October 21, 2012
0 of 1 people found this review helpful
installation instructions for nsclient++ 0.4 would be fine.
byMab, October 20, 2012
0 of 1 people found this review helpful
hi tried to get this work but wasn't really any instructions.... does the script need to execute from the VeeamBR server do you have to use the script for each job running in Veeam. please help would really like to use this..