Monitoring and long-term reporting for IBM Spectrum Protect Plus. Provides a data bridge from SPP to InfluxDB and provides visualization dashboards via Grafana.
Apache License 2.0
13
stars
8
forks
source link
Release of version 1.2.0, 1.2.1 and SPPCheck 1.0.0 #110
Release of SPPCheck version 1.0.0
Note that this release does not include code documentation yet.
It must still be transferred from the masters thesis into code documentation later on.
[1.2.1] - 2022-08-21
Added
Release of SPPCheck v1.0.0
Its changes will be logged within this file
SPPCheck function and internal structure
Added Grafana Dashboard for SPPCheck
Changed
Upgraded CodeQL to v3
Extended SppUtils.mk_logger_file method by an logger_dir argument to allow different log files for SPPMon and SPPCheck
Added "sppcheckLogs" to the gitignore file.
Moved all cSpell settings from the workspace file to the settings file
Removed/Moved total count of exceptions during execution
Moved verbose setting of sub-modules into init method to avoid issues and clarify program structure
Error-Messages now have the prefix "ERROR: "
Added InfluxClient function "get_list_rp" to query all retention policies, moving it out of existing functionality
Fixed
Code scanning alert #2 and #3: Printing passwords into logger due to an faulty if-expression.
CheckPID file now uses the class-verbose setting and no longer ARGS-Verbose, making it independent of actual args.
Fixed PID file checks under windows
Fixed PID file entries not being deleted.
Removed unnecessary and confusing check when creating a SelectionQuery
Known Issues
SPPCheck lacks a lot of documentation, which is to be delivered on a later date.
[1.2.0] - 2022-06-17
Added
Adds FullLogs and LoadedSystem information to the Grafana SPPMon Runtime Duration panel.
Adds clarification that all timestamps are changed into second precision on insert.
Adds support for batch insert to insert into a different retention policy
Selection queries now also support an alternative retention policy to query from
CreateRP-Method in the influxClient to allow creating non-lasting retention policies
Adds pandas-stubs, openpyxl and pyxlsb to requirements file
Prints total count of errors during the execution if there are any - instead of "script finished" output
Added type spelling dictionary to the settings file
Added linting settings to the settings file
Added two new tables to the definitions.py file which are only executed if SPPCheck is executed.
Changed
Moved pid files-functions and other functions from SPPMon to helper functions.
Adjusted log messages to make their message generic if required.
Added arguments to replace self-access.
Changed default log and pid-file locations from home/sppmonLogs/FILE to spectrum-protect-sppmon/sppmonLogs/FILE
Added init declarations in the SPPMon __init__ function to allow overview of all self-vars
Changed SelectionQueries to only take a single table instead of an List of such, as it isn't required and complicates the code
Predefined retention policies are no longer protected in the definitions module.
Sending a select query now raises a error when it fails.
Allows SelectionQueries from table to be another inner-selection query
Changed all calls of the constructor
Made sure to only allow inner queries when using the selection-keyword.
Changed the severity of unknown type-annotation due to submodules not being typed from error to warning.
Minor printing edits when generifing Dashboard
Removes deprecated functions
Fixed
Fixed typo in exception_utils.py file, renaming it and all references on it.
Lots of typos in the inline documentation
SelectionQuery and associated methods: Introduces Optional annotation to fix linter error
Known Issues
In newer Grafana versions the dashboard import might corrupt the datasource name. A fix is unavailable yet, though the error is only visual.
Some typos in the table definitions (commited / uncommited) cannot be fixed. This would not be backward-compatible and break the database.
Release of SPPCheck version 1.0.0 Note that this release does not include code documentation yet. It must still be transferred from the masters thesis into code documentation later on.
[1.2.1] - 2022-08-21
Added
Changed
SppUtils.mk_logger_file
method by an logger_dir argument to allow different log files for SPPMon and SPPCheckFixed
Known Issues
[1.2.0] - 2022-06-17
Added
Changed
home/sppmonLogs/FILE
tospectrum-protect-sppmon/sppmonLogs/FILE
__init__
function to allow overview of all self-varsFixed
Known Issues