storage: improve tapealert plugin#2370
Conversation
.../source/manually_added_config_directive_descriptions/sd-device-DriveTapeAlertEnabled.rst.inc
Outdated
Show resolved
Hide resolved
.../source/manually_added_config_directive_descriptions/sd-device-DriveTapeAlertEnabled.rst.inc
Outdated
Show resolved
Hide resolved
docs/manuals/source/TasksAndConcepts/Plugins/StorageDaemonPlugins/ScsitapealertSd.rst.inc
Outdated
Show resolved
Hide resolved
bruno-at-bareos
left a comment
There was a problem hiding this comment.
On my side unifying TapeAlert word would be a significant plus. One line log has also my preference.
See also my other comment about build
docs/manuals/source/manually_added_config_directive_descriptions/sd-device-AlertCommand.rst.inc
Outdated
Show resolved
Hide resolved
docs/manuals/source/manually_added_config_directive_descriptions/sd-device-AlertCommand.rst.inc
Outdated
Show resolved
Hide resolved
.../source/manually_added_config_directive_descriptions/sd-device-DriveTapeAlertEnabled.rst.inc
Outdated
Show resolved
Hide resolved
.../source/manually_added_config_directive_descriptions/sd-device-DriveTapeAlertEnabled.rst.inc
Outdated
Show resolved
Hide resolved
.../source/manually_added_config_directive_descriptions/sd-device-DriveTapeAlertEnabled.rst.inc
Show resolved
Hide resolved
|
Actually when I tried to build the pr failed around this stage My cmake looks like gcc --version gcc (SUSE Linux) 15.2.0 |
yep, that's reasonable. I changed the strings to Concerning your build, I cannot see what failed. The error is further ahead in the log. Probably easiest if you rerun with |
sebsura
left a comment
There was a problem hiding this comment.
Thanks for the great work! This will help a lot with weird tape related issues!
bruno-at-bareos
left a comment
There was a problem hiding this comment.
Build is ok, nice improvement, congrats.
c2d3906 to
a4345ba
Compare
* handle more event types * log flags as job messages * provide T10 standardized messages
* limitations of Alert Command * configuration of scsitapealert-sd plugin
266596f to
859a6ab
Compare
This PR resolves #2369 by extending the
scsitapealert-sdplugin for the storage daemon to write proper tapealert reports into the joblog.It also updates the documentation on how to setup the plugin.
Thank you for contributing to the Bareos Project!
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
Make sure you check/merge the PR using
devtools/pr-toolto have some simple automated checks run and a proper changelog record added.General
Source code quality
Tests
There is no proper way of automated testing for this. However, I solemnly swear I tried it on physical and virtual tape libraries and it worked properly.