Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit dc86fe7

Browse files
Merge pull request #88 from IBM/develop
Release of new live version, version 1.0.2->1.1.1
2 parents 5b3ea9f + 56c0f51 commit dc86fe7

File tree

15 files changed

+692
-593
lines changed

15 files changed

+692
-593
lines changed

CHANGELOG.md

Lines changed: 93 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,75 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
89
## [Unreleased] - yyyy-mm-dd
910

10-
Here we write upgrading notes for brands. It's a team effort to make them as
11-
straightforward as possible.
11+
### Added
12+
13+
### Changed
14+
15+
### Fixed
16+
17+
## [1.1.1] - 2022-02-22
1218

1319
### Added
1420

21+
* Adds FullLogs and LoadedSystem information to the Grafana SPPMon Runtime Duration panel.
22+
* Adds license information into each SPPMon code file.
23+
* Specifies the encoding and reading permission when opening config files.
24+
1525
### Changed
1626

27+
* Avoids the wget-certificate check when installing and downloading the python tgz in the installer.
28+
* Updates the requirements.txt to include sub-dependencies and updates to lates version.
29+
1730
### Fixed
1831

32+
* Fixes Issue #86 vSnap hanging up on start due to pool call by checking first if the `vsnap` command is available.
33+
34+
## [1.1.0] - 2021-09-09
35+
36+
### Added
37+
38+
* Added ConnectionUtils function `rest_response_error`. This function helps to extract the response-error message and includes all important pieces of information into a ValueError. This error should be raised afterward.
39+
* Config-file option for ssh-clients `skip_cmds`. List of strings like `["mpstat", "ps"]` to skip commands on certain clients.
40+
41+
### Changed
42+
43+
* REST-API Login and Statuscheck for get_objects use the new function `rest_response_error` to raise their error.
44+
* Adds the `skip_cmd` option to the default-config file.
45+
46+
### Fixed
47+
48+
* `--test`-execution: Fixes unusual KeyError when using a config file with more than one vSnap (or other) ssh-client.
49+
50+
## [1.0.2] - 2021-08-31
51+
52+
### Changed
53+
54+
* Marked the default group time when using the template CQ more clearly as `[*]`
55+
* Grafana Dashboards:
56+
* 14-Day dashboard:
57+
* Changed VADP Proxy state table to support the VADPName grouping and status
58+
* Used Grafana organizing mechanics to leave query intact, hiding old data with status=null and vadpName="".
59+
* Changed VADP Proxy state per site to only use new data since 14-day is not too long
60+
* Changed to use field count and group over status instead of two separate queries
61+
* 90-Day dashboard:
62+
* Changed %-Enabled VADP dashboard to total count dashboard
63+
* Added for both VADP Proxy state and total count dashboard a new query, grouping over status and grouping on `count`. Old queries left intact for backward compatibility.
64+
* Hides series with null/none, adding average to legend.
65+
66+
* InfluxDB-Table `VADPs`:
67+
* Moved fields `state` and `vadpName` to tags
68+
* Renamed `state` to `status` to avoid issues due to double-named tags/fields
69+
* Changed CQ to group only over 'old' Tags
70+
* Changed aggregation from a split over enabled/disable to grouping over the state itself.
71+
This removes now-duplicate CQ definitions and all `WHERE`-grouping clauses.
72+
73+
### Fixed
74+
75+
* VADPs are no longer dropped due to being marked as duplicates by the InfluxDB.
76+
1977
## [1.0.1] - 2021-08-27
2078

2179
### Fixed
@@ -46,11 +104,11 @@ straightforward as possible.
46104

47105
#### Added
48106

49-
* Install Script for automatically installing SPPMon, Python, InfluxDB, and Grafana on a blank CentOs system.
50-
* Features a `--alwaysConfirm` argument for less confirmations
107+
* Install script for automatically installing SPPMon, Python, InfluxDB, and Grafana on a blank CentOs system.
108+
* Features a `--alwaysConfirm` argument for fewer confirmations
51109
* Two stand-alone python scripts for automatically creating Config files and adding them to crontab
52110
> These scripts are used within the install script
53-
* Created script `scripts/generifyDashboard.py`, which is now on developer side. This makes sure a dashboard exported for external use is truly generic.
111+
* Created script `scripts/generifyDashboard.py`, which is now on the developer side. This makes sure a dashboard exported for external use is truly generic.
54112
> See Grafana changes for reasoning
55113
56114
### Python / Execution
@@ -59,54 +117,54 @@ straightforward as possible.
59117

60118
* `--test`: Fixes Abort without summary on SSH-Errors
61119
* Fixes empty error message without explanation if sites are an empty array
62-
* Also adds debug output for easier remote tracing
63-
* Corrupted config-file path no longer breaks SPPMon but prints a error message
64-
* Partly fixes #40, but some ID's still remain missing due other issues. Descriped within issue itself.
65-
* JobLogs: The type-filter is no longer ignored on regular/loaded execution - requesting way less logs.
66-
* Fixed an error when importing individual job log statistics and `ressourceType` was missing
120+
* Adds debug output for easier remote tracing
121+
* Corrupted config-file path no longer breaks SPPMon but prints an error message
122+
* Partly fixes #40, but some IDs still remain missing due to other issues. The fix is described within the issue.
123+
* JobLogs: The type-filter is no longer ignored on regular/loaded execution - requesting way fewer logs.
124+
* Fixed an error when importing individual job log statistics, and `ressourceType` was missing
67125

68126
#### Changes
69127

70128
* Replaces OptionParser with Argumentparser
71-
* Improves `--test` argument: Outsources code, improves display and messages.
129+
* Improves `--test` argument: Outsources code, improve display and messages.
72130
* Enhanced Description and help message
73131
* Catches typos and missing arguments within the parser
74132
* Removed disallowed terms from SPPMon code, using `allow_list` instead
75133
* Reworks REST-API POST-Requests to be merged with GET-Requests
76134
* This includes the repeated tries if a request fails
77135
* Deprecates `url_set_param`, using functionality of `requests`-package instead
78-
* Using Python-Structs for url-params instead of cryptical encoded params
79-
* Reworks REST-API requests even more to use parameters more efficient and consistent, making the code hopefully more readable.
136+
* Using Python-Structs for URL-params instead of cryptical encoded params
137+
* Reworks REST-API requests to use parameters more efficiently and consistently, making the code hopefully more readable.
80138
* Changes get_url_params to gain all parameters from URL-Encoding
81139
* Introduces set_url_params to set all params into URL encoding
82-
* Reads params of next page and allows injecting whole dictionary of params
83-
* Changes vms per SLA-request to not query all vms anymore, ~~but using pageSize to 1 and reading the `total` aggregated field and not repeat for other pages~~.
140+
* Reads params of next page and allows injecting the whole dictionary of params
141+
* Changes VMs per SLA-request to not query all VMs anymore, ~~but using pageSize to 1 and reading the `total` aggregated field and not repeat for other pages~~.
84142
* Changed to query so-far unknown endpoint, using count and group aggregate to query all data with a single API-request
85-
> This brings the sla-request in line with the other api-requests.
86-
* Reworked/Commented the job-log request and prepared a filter via individual joblog-ID's
87-
* Labeled python argument ` -create_dashboard` and associated args as depricated, to be removed in v1.1 (See Grafana-Changes)
143+
> This brings the SLA request in line with the other API requests.
144+
* Reworked/Commented the job-log request and prepared a filter via individual JobLog-ID's
145+
* Labeled python argument ` -create_dashboard` and associated args as deprecated, to be removed in v1.1 (See Grafana-Changes)
88146

89147
### Influx
90148

91149
#### Changes
92150

93-
* Checks user (GrafanaReader) for permissions (READ) on current Database, warns if user not exists and grands permissions if missing (Feature of V1.0)
151+
* Checks user (GrafanaReader) for permissions (READ) on current Database, warns if user not exists, and grants permissions if missing (Feature of V1.0)
94152
* Reworks Influx-write Queries to repeat once if failed with fallback options
95153
* This includes enhanced error messages
96154
* Influx-Statistic send is reworked to be per table
97155
* Split Influx-Stats: Query duration per item also groups via table and show average
98156

99157
#### Fixes
100158

101-
* Optimized Continious-Queries setup
102-
* No longer all CQ are re-build on start of **all** sppmon exections, works now as intended
103-
* Changed definition to match influxDB return values (7d -> 1 w)
104-
* Changed quotations to match influxDB return values
159+
* Optimized Continuous-Queries setup
160+
* No longer all CQ is re-build on the start of **all** SPPMon executions, works now as intended
161+
* Changed definition to match InfluxDB return values (7d -> 1 w)
162+
* Changed quotations to match InfluxDB return values
105163

106164
#### Breaking Changes
107165

108166
* Typo fix in stddev, breaking old data.
109-
* These numbers are used nowhere, therefore this will likley not break anything
167+
* These numbers are used nowhere, this will likely not break anything
110168
* Old Data is still available by the old name `sttdev`
111169

112170
### Grafana-Dashboards
@@ -116,27 +174,27 @@ straightforward as possible.
116174
* Added Hyper-V Job Duration Panel similar to VMWare-Panel into 14 and 90/INF Dashboard
117175
* Added versioning tags to each dashboard. Starting with v1.0
118176
* Added unique data source tags to the 14-day dashboard
119-
* They have no use yet, but might be used for directly referencing onto a certain dashboard from 90-days/mult dashboard
120-
* Added unique tags for identifying 14-day, 90-day and mult dashboards
121-
* Created links from each dashboards to the others, grouped by type
177+
* They have no use yet but might be used for directly referencing onto a certain dashboard from 90-days/multiple dashboards
178+
* Added unique tags for identifying 14-day, 90-day, and multiple dashboards
179+
* Created links from each dashboard to the others, grouped by type
122180
* The 14-days dashboards are created as dropdown
123181

124182
#### Changes
125183

126184
* Changed dashboard to be exported for `external use`:
127-
* You may change the datasource on importing
128-
* Both UID and Dashboard name will be variable generated based on datasource chosen
129-
* Labeled python argument ` -create_dashboard` and associated args as depricated, to be removed in v1.1
130-
> Note: Listed here only for completeness, see python changes
131-
* Created pyhton stand-alone script for generifying dashboard
185+
* You may change the data source on importing
186+
* Both UID and Dashboard names will be variable generated based on the data source chosen
187+
* Labeled Python argument ` -create_dashboard` and associated args as deprecated, to be removed in v1.1
188+
> Note: Listed here only for completeness, see Python changes
189+
* Created a Python stand-alone script for generifying dashboard
132190
> Note: Listed here only for completeness, see script changes
133191
134192
## [0.5.4-beta] - 2021-08-11
135193

136194
### Fixes
137195

138-
* Bugfixes flat CPU-statistics due `ps` unexpected behavior.
139-
* `ps` no longer tracks CPU-Data, Track of RAM and some other system informations remains.
196+
* Bugfixes flat CPU statistics due to `ps` unexpected behavior.
197+
* `ps` no longer tracks CPU-Data, Track of RAM, and some other system information remains.
140198
* Re-introduced `top`-ssh command, but only collecting CPU-Statistics (see top-memory-truncation issue #14 & #32)
141199
> **The process-stats panel is accurate again after applying this fix.**
142200
@@ -146,7 +204,7 @@ straightforward as possible.
146204

147205
* Changed top-level exception catching: Catches any exceptions instead of only our self-defined ValueErrors
148206
-> Prevents a complete abort of SPPMon if something unexpected happens.
149-
-> **This will reduce the need of urgent hotfixes like this one.**
207+
-> **This will reduce the need for urgent hotfixes like this one.**
150208
* Changes empty result severity of REST-Requests from error to info
151209
* Changed typings from critical components to support better linting
152210

0 commit comments

Comments
 (0)