Veeam Backup and Replication Server

The template assesses the overall health and performance of Veeam Backup and Replication Server.


Prerequisites:
-
WinRM must be installed and properly configured on the target server.
- PowerShell 3.0 should be installed on the Veeam server.


This template works on 6.x and 7.0 Veeam versions.

Note: Ensure the PowerShell snap-in is installed for Veeam or you may receive an error. Installations instruction can be found here: http://www.veeam.com/kb1489


Credentials:
Administrator on the target server.


Component Monitors

Service: Veeam Backup Catalog Service

This monitor returns the CPU and memory usage of Veeam Backup Catalog Service. This service manages and replicates guest OS file system index data files.

Service: Veeam Backup Proxy Service

This monitor returns the CPU and memory usage of Veeam Backup Proxy Service. This service receives and sends virtual machines data over network.

Service: Veeam Backup Service

This monitor returns the CPU and memory usage of Veeam Backup Service. This service manages scheduled jobs and serves Enterprise Manager requests.

Service: Veeam Installer Service

This monitor returns the CPU and memory usage of Veeam Installer Service. This service enables installing, updating, and configuring additional Veeam Backup components.

Service: Veeam vPower NFS Service

This monitor returns CPU and memory usage of Veeam vPower NFS Service. This service implements vPower NFS server enabling you to run virtual machines directly from backup files.

Installer Service TCP Port

This component monitor tests the ability of a Veeam Installer service to accept incoming sessions. By default, it monitors TCP port 6160.

Transport Service TCP Port

This component monitor tests the ability of a Veeam Transport service to accept incoming sessions. By default, it monitors TCP port 6162.


Failed Jobs

This monitor returns the number of failed jobs and the names of these jobs. The returned value should be zero at all times.

Job status

This monitor returns the status of a specific Veeam job. The returned values are as follows:

Last Job Result – This component returns the last job result status.

Possible values:
0 – Success.
1 – None.
2 – Failed.
3 – Other results.

Job State – This component returns the number of incoming NS queries. This record is the authoritative name server for the domain.

Possible values:
0 – Stopped.
1 – Starting.
2 – Working.
3 – Stopping.
4 – Resuming.
5 – Pausing.
6 – Other job state.

Last Session Backup Size – This component returns the size of the backup of the last session.

Last Session Compression Ratio – This component returns the compression ratio of the last session.

Last Session Data Size – This component returns the data size of the last session.

Last Session Deduplication Ratio – This component returns the deduplication ratio of the last session.

Note: In the Scripts Arguments field, you should provide the correct job name.


Configuring Windows Remote Management (WinRM):

  1. If not already done so, install PowerShell 2.0 and WinRM on the SAM and target servers. Powershell 2.0 can be found here: http://support.microsoft.com/kb/968930.
  2. On the SAM server, open a command prompt as an Administrator. To do this, perform the following step:
  • Go to the Start menu and right-click the cmd.exe and then select Run as Administrator.
  1. Enter the following in the command prompt:
           winrm quickconfig
            winrm set winrm/config/client @{TrustedHosts="*"}
  2. On the target server, open a command prompt as an Administrator and enter the following:
           winrm quickconfig
            winrm set winrm/config/client @{TrustedHosts="IP_ADDRESS"}

   where IP address is the IP address of your SAM server.

Portions of this documentation are based on: 
http://www.veeam.com/kb1518
http://forums.veeam.com/viewtopic.php?f=2&t=13559
Veeam Backup & Replication PowerShell Guide.

  • Hello,

    I have a recent problem where i installed the SnapIn , however still couldn't run the .ps1 on the machine, Turns out Veeam SDK didn't install properly , save one of these as .reg and run it ( depending where your ,dll is referenced

    [codesyntax lang="xml"]

    Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\VeeamPSSnapIn] "PowerShellVersion"="2.0" "Vendor"="Veeam" "Description"="This is a PowerShell snap-in that includes the Veeam's cmdlet." "VendorIndirect"="VeeamPSSnapIn, Veeam" "DescriptionIndirect"="VeeamPSSnapIn,This is a PowerShell snap-in that includes the Veeam's cmdlet." "Version"="8.0.0.0" "ApplicationBase"="C:\\Program Files\\Veeam\\Backup and Replication\\Backup" "AssemblyName"="Veeam.Backup.PowerShell, Version=8.0.0.0, Culture=neutral, PublicKeyToken=bfd684de2276783a" "ModuleName"="C:\\Program Files\\Veeam\\Backup and Replication\\Backup\\Veeam.Backup.PowerShell.dll"

    [/codesyntax]

    [codesyntax lang="xml"]

    Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\VeeamPSSnapIn] "PowerShellVersion"="2.0" "Vendor"="Veeam" "Description"="This is a PowerShell snap-in that includes the Veeam's cmdlet." "VendorIndirect"="VeeamPSSnapIn, Veeam" "DescriptionIndirect"="VeeamPSSnapIn,This is a PowerShell snap-in that includes the Veeam's cmdlet." "Version"="8.0.0.0" "ApplicationBase"="C:\\Program Files\\Veeam\\Backup and Replication\" "AssemblyName"="Veeam.Backup.PowerShell, Version=8.0.0.0, Culture=neutral, PublicKeyToken=bfd684de2276783a" "ModuleName"="C:\\Program Files\\Veeam\\Backup and Replication\\Veeam.Backup.PowerShell.dll"

    [/codesyntax]

  • I did try, but it tells me:

    'Veeam Backup & Replication Powershell SDK requires Veeam Backup & Replication 8.0 to be installed on the machine'

    Which is obviously isn't

  • Have you installed the Veeam PowerShell snapin on the Orion server or polling engine managing this node? http://www.veeam.com/kb1489

  • Will this work with version 8 guys?

    looking like no - error if anyone wants it:

    Output: ==============================================

    Message: Cannot load Windows PowerShell snap-in VeeamPSSnapIn because of the following error: Could not load file or assembly 'file:///C:\Program Files\Veeam\Backup and Replication\Veeam.Backup.PowerShell.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

  • Ah awesome, thought it may have been something like this.

    Thank you aLTeReGo. emoticons_happy.png