Releases: romainsi/zabbix-VB-R-SQL
2.8
Script changes:
- Add more debugging messages
- Improve object creation
- Function renaming and cleanup
- No other functional changes
Template changes:
- Fix issue with too long {#JOBREASON} on operational data
- Fix {$VEEAM_JOB_HOURS_WARN} context usage (JOBNAME instead of JOBID)
- Fix item naming on French versions
- Synchronize French versions (xml and yaml had different items)
- Update description and bump version to match script
- Add dashboard with job duration graphs
- Standardize template tags to match Zabbix 6.0 default templates
2.7a
2.7
2.6
The changes on the script are small:
- Remove the call to zabbix_sender and replace it with Write-Output (no longer uses zabbix sender/trapper)
- Adjust command line arguments to get job and repository information separately
The template had the following changes:
- Get the data directly from the new items which call the script with different arguments
- Minor adjustments to some items
Template Veeam Backup And Replication
New script version.
- Improved error handling for the SQL connection
- Added comments on the top of script and to each function (get-help .\zabbix_vbr_job.ps1 now works)
- A few more cleanups
Template Veeam Backup And Replication
Thanks again to aholiveira ;)
New version of the script, template and readme.
The script has been refactored a bit to optimize it and make it simpler to maintain.
The template has been changed to:
- Solve the early trigger of "job running for more than 8h"
- Add a graph to the new "job duration" item
- Add a description on the template
- Cleanup the "job ended with warning/error" triggers (using jobreason and removing unnecessary expressions)
README was changed to clarify some detail on the SQL user creation.
Template Veeam Backup And Replication
Thanks to aholiveira
zabbix_vbr_job.ps1 - The script was heavily refactored, some bugs fixed, date handling improved (it now handles different timezones correctly), international character handling fixed, variables moved to the top of the script, SQL connection string is now generated using the builder class and changes to reflect the template modifications. Backup copy jobs are also now supported. Adding support for other jobs types is now also easier.
Template Veeam Backup And Replication.yaml - The template was also heavily modified, with key names being normalized and prefixed with "veeam" to avoid collisions, and restructured to accommodate the changes done in the data reading script. system.run was also removed and replaced by UserParameters (this removes the logging of user commands in zabbix agent log)
veeam.conf - This file could be placed under C:\Program Files\Zabbix Agent 2\zabbix_agent2.d (adjust userparameters with "Include=")
It allows the powershell script to be called via "veeam.info" UserParameter instead of system.run, which allows for less "noise" in the log and better extensibility in the future. Zabbix agent service has to be restarted after placing this file on the folder.
Template Veeam Backup And Replication
Old release before change