Home Directory

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

Directory Tree

Directory

fgranat

Reviews(2)
byfgranat, December 20, 2012
Hi,
I tested that script on my Veaam Backup server and nothing seems to happen as you can see below :

PS C:Program FilesNSClient++scripts> cmd /c echo check_veeam_backups.ps1 "[BKUP]-SALAG" 3; exit($lastexitcode) | powershell.exe -command -
check_veeam_backups.ps1 [BKUP]-SALAG 3

The job [BKUP]-SALAG ended successfuly yesterday evening.
Do you have any explanation ?

Rgds,

Frederic
Owner's reply

@fragnat:

What exact version of Veeam Backup & Replication do you use? Please, try to download my latest update of the plugin.

Also, please try double quotation of job name as on an example below:

check_veeam_backups1 = cmd /c echo scriptscheck_veeam_backups.ps1 ""0 - CRITICAL - backup level"" 1; exit $LastExitCode | powershell.exe -command -

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