Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

VEEAM Backup & Replication Popular

================ VEEAM-Backup-Recovery-jobs ================

This template use the VEEAM Backup & Replication PowerShell Cmdlets to discover and manage VEEAM Backup jobs, Veeam BackupSync, Veeam Tape Job, Veeam Endpoint Backup Jobs, All Repositories and Veeam Services.

Work with Veeam backup & replication V7 to V9.5
Work with Zabbix 3.X (english template only for V3.X) & 4.X
French & English translation for the Template

Explanation of how it works :
The "Result Export Xml Veeam" item sends a powerhell command (with nowait option) to the host to create an xml file of the result of the Get-VBRBbackupSession,Get-VBRJob, Get-VRBBackup and Get-VBREPJob commands that is stored under C:\Program Files\Zabbix Agent\scripts\TempXmlVeeam\*.xml (variable $pathxml)
Then, each request imports the xml to retrieve the information.
Why? Because the execution of this command can take between 30 seconds and more than 3 minutes (depending on the history and the number of tasks) and I end up with several scripts running for a certain time and the execution is in timeout. 

 

-------- Setup --------

  1. Install the Zabbix agent on your host
  2. Copy zabbix_vbr_job.ps1 in the directory : "C:\Program Files\Zabbix Agent\scripts" (create folder if not exist)
  3. Add the following line to your Zabbix agent configuration file.
    EnableRemoteCommands=1 
    UnsafeUserParameters=1 
    ServerActive="IP or DNS Zabbix Server"
    Alias=service.discovery.veeam:service.discovery
    UserParameter=vbr[*],powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1" "$1" "$2" "$3"
  4. In Zabbix : Administration, General, Regular Expression : Add a new regular expression :
    Name : "Veeam" ; Expression type : "TRUE" ; Expression : "Veeam.*"
    And modify regular expression "Windows service startup states for discovery" : Add : 
    Name : "Veeam" ; Expression type : "FALSE" ; Expression : "Veeam.*"
  5. Import TemplateVEEAM-BACKUPtrapper.xml file into Zabbix.
  6. Purge and clean Template OS Windows if is linked to the host (you can relink it after).
  7. Associate "Template VEEAM - Backup and Replication" to the host.
  8. Wait about 1h for discovery, XML file to be generated and first informations retrieves.

    ! If you use old version (< v3) please Purge and clean "Template VEEAM-BACKUP trapper".


With a large or very large backup tasks history, the XML size can be more than 500 MB (so script finish in timeout) you can reduce this with this link : 
https://www.veeam.com/kb1995 
Use first : "Changing Session history retention" and if this is not enough, "Clear old job sessions".

More informations on Github

Rating
554
★★★★★
4 votes

Listing Details

Type
Template
Min Zabbix version
3.0.x
Features
  • Zabbix Agent
  • Zabbix Agent Active
  • Zabbix Trapper
  • Custom Script
Link
github.com/romainsi/zabbix-VEEAM_B-R
Created
2017-10-27
Modified
2018-12-14 10:37:27
Author
Romainsi
Owner
Romain Sicaud
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us