Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Veaam Backup Check
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.
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
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 :)
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 :)
installation instructions for nsclient++ 0.4 would be fine.