Veeam Backup & Replication#

Monitors Veeam Backup & Replication v13 via the REST API. Collects job status, repository capacity, license usage, proxy health, protected objects, and infrastructure server availability.

License: Pro

Prerequisites#

  • Veeam Backup & Replication v13 or later
  • A Veeam account with Backup Administrator role (Backup Viewer is not sufficient for the REST API)
  • Network access from the agent to the Veeam server on port 9419 (REST API)

Configuration#

probes:
  - name: veeam-prod
    type: veeam
    params:
      endpoint: "https://veeam-server"
      port: 9419
      username: 'DOMAIN\svc_monitoring'
      password: 'password'
      interval: 300
      verify_ssl: false
      hours_to_check: 24

Parameters#

ParameterRequiredDefaultDescription
endpointYes-Veeam server hostname or IP (without port)
portNo9419REST API port
usernameYes-Veeam account with Backup Administrator role
passwordYes-Account password
intervalNo300Collection interval in seconds
verify_sslNotrueVerify TLS certificate
hours_to_checkNo24Time window for job history (hours)

Collected Metrics#

Job Overview#

Aggregated job counts by type (VSphereBackup, WindowsAgentBackup, BackupCopy, etc.):

MetricUnitDescription
veeam_jobs_totalCountTotal enabled jobs with activity in the time window
veeam_jobs_successCountJobs with last run successful
veeam_jobs_warningCountJobs with last run warnings
veeam_jobs_failedCountJobs with last run failed
veeam_jobs_runningCountJobs currently running

Job Details#

Per-job metrics for each active backup job:

MetricUnitDescription
veeam_job_statusLookupLast run result (None/Success/Warning/Failed/Running)
veeam_job_seconds_sinceSecondsTime since last run
veeam_job_objects_countCountNumber of objects processed
veeam_job_bottleneckLookupBottleneck type (None/Source/Proxy/Network/Target)
veeam_job_processed_bytesBytesTotal disk size processed
veeam_job_read_bytesBytesData read from source
veeam_job_transferred_bytesBytesData transferred after dedup/compression

Repositories#

Per-repository capacity metrics:

MetricUnitDescription
veeam_repo_capacityBytesTotal repository capacity
veeam_repo_usedBytesUsed space
veeam_repo_freeBytesFree space
veeam_repo_free_pctPercentFree space percentage

License#

MetricUnitDescription
veeam_license_statusLookupValid / Expired / Invalid
veeam_license_days_leftDaysDays until license expiration
veeam_license_instances_totalCountLicensed instances
veeam_license_instances_usedCountUsed instances
veeam_license_instances_remainingCountAvailable instances

Proxies#

Per-proxy status:

MetricUnitDescription
veeam_proxy_statusLookupDisabled / Offline / Online
veeam_proxies_totalCountTotal proxies
veeam_proxies_enabledCountEnabled proxies
veeam_proxies_disabledCountDisabled proxies

Protected Objects#

Per-object backup status:

MetricUnitDescription
veeam_object_restore_pointsCountNumber of restore points
veeam_object_last_run_failedCount1 if last backup failed, 0 otherwise
veeam_objects_totalCountTotal protected objects
veeam_objects_failedCountObjects whose last backup failed

Infrastructure#

Managed server availability:

MetricUnitDescription
veeam_server_statusLookupAvailable / Unavailable
veeam_servers_totalCountTotal managed servers
veeam_servers_availableCountAvailable servers
veeam_servers_unavailableCountUnavailable servers

PRTG Integration#

The probe includes PRTG lookups for status fields. When creating PRTG sensors, use the REST Custom sensor type pointing to:

http://<agent-ip>:<port>/api/<agent-key>/prtg/metrics/<probe-name>?tags=metric_type:<category>

Available categories: overview, jobs, repositories, license, proxies, protected_objects, infrastructure.

Example for job details:

http://192.168.1.100:8056/api/17b3cf0a-.../prtg/metrics/veeam-prod?tags=metric_type:jobs

Download the PRTG lookup files from the web interface (button “PRTG Lookups” in the Sensor Builder).

Troubleshooting#

HTTP 403 on startup#

The Veeam account must have the Backup Administrator role. The REST API does not work with Backup Viewer.

HTTP 500 on job collection#

Some Veeam installations have job types (e.g., HyperVBackup) that cause server-side errors. The agent handles this automatically by querying jobs per type.

No job metrics#

If hours_to_check is too short, jobs that ran outside the time window are excluded. Increase the value (default: 24 hours).

SenHub Agent 0.1.87