5.02021-11-21T21:37:34ZA-OVR_TPLGPREXT_TPLGRP/SoftwareVEEAM-AgentsVEEAM-Agents## Overview
This template provide a way to monitor backup made by [Veeam Backup Agent for Microsoft Windows](https://www.veeam.com/windows-cloud-server-backup-agent.html).
There is no additionnals scripts needed, all results are read from the Windows Event Log.
It also monitor the service state of the application.
This template is made with "zabbix active" item, meaning it can work behind remote firewall.
## Author
Cédric MARCOUX
A-OVR_TPLGPREXT_TPLGRP/SoftwareVeeamAgent_EventLogVeeamAgent_Service- VeeamAgent_EventLog_JobResultZABBIX_ACTIVEeventlog[Veeam Agent,,,Veeam Agent,190,,skip]5m30d0LOGVeeamAgent_EventLog{nodata(604800)}=1VeeamAgent - No job result since 1 WeekHIGHYES{logeventid(190)}=1 and {logseverity()}=1VeeamAgent Job completed successfullINFO{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES{logeventid(190)}=1 and {logseverity()}=2 and {iregexp(low on free disk space)}=1VeeamAgent Job completed successfull (warning about free space)INFO{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES{logeventid(190)}=1 and {logseverity()}=4VeeamAgent Job completed with errorHIGH{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES{logeventid(190)}=1 and {logseverity()}=2 and not {logeventid(low on free disk space)}=0VeeamAgent Job completed with warningAVERAGE{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES
- VeeamAgent_EventLog_JobRetryZABBIX_ACTIVEeventlog[Veeam Agent,,,Veeam Agent,191,,skip]5m30d0LOGVeeamAgent_EventLog
- VeeamAgent_EventLog_SynchronisationZABBIX_ACTIVEeventlog[Veeam Agent,,,Veeam Agent,195,,skip]5m30d0LOGVeeamAgent_EventLog{logeventid(195)}=1 and {logseverity()}=4VeeamAgent Synchronization completed with errorHIGH{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES{logeventid(195)}=1 and {logseverity()}=2VeeamAgent Synchronization completed with warningWARNING{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES
- VeeamAgent_ServiceZABBIX_ACTIVEservice.info[VeeamEndpointBackupSvc]5m30d30dVeeamAgent_Service{nodata(86400)}=1RECOVERY_EXPRESSION{last()}=0 or {last()}<>0VeeamAgent - No result from service since 24hHIGHYESVeeamAgent - No job result since 1 Week{VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].nodata(604800)}=1{last()}<>0RECOVERY_EXPRESSION{last()}=0VeeamAgent Service DownHIGH{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES
{VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,191,,skip].logeventid(191)}=1 and {VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,191,,skip].logseverity()}=2RECOVERY_EXPRESSION({VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].logeventid(190)}=1 and {VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].logseverity()}=1) or ({VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].logeventid(190)}=1 and {VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].logseverity()}=2 and {VEEAM-Agents:eventlog[Veeam Agent,,,Veeam Agent,190,,skip].iregexp(low on free disk space)}=1)VeeamAgent Job RetryWARNING{ITEM.LASTVALUE1}
{ITEM.LASTVALUE2}
{ITEM.LASTVALUE3}YES