Veeam Replication Job Monitoring & Email Reporting - sdharams/Data-center-Operations- GitHub Wiki
Project Overview
This project automates the monitoring of Veeam Backup & Replication jobs, specifically focusing on replication jobs to ensure business continuity. The system retrieves the latest replication job statuses, identifies whether they were completed successfully today, and sends a detailed email report with color-coded job statuses for quick analysis. Objectives
Automate the tracking of Veeam Replication Jobs
Identify jobs that were successfully completed today
Detect jobs that are pending or have never completed successfully
Send an HTML-based email report with color-coded job statuses
Improve visibility and proactive monitoring of backup replication jobs
Key Features
✅ Automated Veeam Job Status Retrieval
Fetches all replication jobs from Veeam Backup & Replication
Extracts latest successful completion times for each job
Identifies if the last successful run was today or on a previous date
✅ Color-Coded Email Reports
🟢 Completed Jobs (Green) → Successfully completed today
🔴 Pending Jobs (Red) → Last successful run was on a previous date
🔴 Never Completed Jobs (Red) → No successful job run recorded
✅ Real-Time Progress Updates in PowerShell
Shows progress bar while processing each job
Displays console messages indicating whether jobs are completed or pending
✅ Email Notification System
Sends an HTML report via SMTP to configured recipients
Ensures IT teams receive daily status updates
Technical Details
Technologies Used
Veeam PowerShell Module – To fetch replication job statuses
PowerShell Scripting – For automation and job processing
SMTP Email Integration – To send reports via email
## Prerequisites
Veeam Backup & Replication Console must be installed
PowerShell 5.1 or later required
SMTP server credentials to enable email notifications
## Script Execution Process
Fetch Replication Jobs from Veeam
Loop through each job and check its last successful completion time
Determine job status (Completed, Pending, or Never Completed)
Generate HTML Report with color-coded statuses
Send Email Report via SMTP
Display Progress Updates in PowerShell Console
Future Enhancements
Add support for multiple Veeam servers
Store historical job statuses for trend analysis
Contributors
[Santosh DHaramsale] – PowerShell Automation & Veeam Integration
Trigger alerts for failed jobs