Werk #22345: Veeam agent plug-in: error handler no longer hides the original error
| Component | Checks & agents | ||
| Title | Veeam agent plug-in: error handler no longer hides the original error | ||
| Date | Oct 13, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
If the Veeam agent plug-in (veeam_backup_status.ps1) ran into an unexpected
error while collecting data, its final error handler tried to read the
ItemName property of the exception. Most exceptions don't have that property.
With PowerShell strict mode enabled, this raised a second error, which replaced
the original one:
The property 'ItemName' cannot be found on this object. Verify that the property exists.
The actual cause of the failure was therefore not reported.
The error handler now reports the complete original error, including its message, the script position where it occurred and its error category.
To benefit from this fix, update the agent plug-in on the Veeam backup server.