You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Zabbix, it would be great to be able to call zabbix_sender once the backup is done with the exit status, so we can log directly into the monitoring system if it was successful or not. Monitoring email is inconvenient (for us).
The text was updated successfully, but these errors were encountered:
@maxxer - I know this is a bit old. If you're still interested, I've added a feature to do this the next release. Take a look at the release_1.8 branch and let me know if you think.
# (optional) custom actions
# Define commands to pass to Invoke-Expression at script start and script end
# note: Errors will only be reported if the script does not eventually succeed. Errors
# from unsuccessful attempts to backup or maintain the repository will not result
# in the custom error action being called unless all attempts to backup or maintain failed.
$CustomActionStart = $null
$CustomActionEndError = $null
$CustomActionEndSuccess = $null
# Examples: Calling a healthcheck remote service
# $healthCheckURL = "https://healthcheckservice.com/etc/etc"
# $CustomActionStart = "Invoke-RestMethod $healthCheckURL/start"
# $CustomActionEndError = "Invoke-RestMethod $healthCheckURL/fail"
# $CustomActionEndSuccess = "Invoke-RestMethod $healthCheckURL"
# Example: Invoking a script
# $successScript = Join-Path $InstallPath "mySuccessScript.ps1"
# $CustomActionEndSuccess = "& $successScript"
We use Zabbix, it would be great to be able to call
zabbix_sender
once the backup is done with the exit status, so we can log directly into the monitoring system if it was successful or not. Monitoring email is inconvenient (for us).The text was updated successfully, but these errors were encountered: