Skip to content

Commit 775882f

Browse files
authored
Add files via upload
1 parent 1c9f560 commit 775882f

File tree

6 files changed

+1550
-1813
lines changed

6 files changed

+1550
-1813
lines changed

CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,72 @@
1+
# Version 5 (12/01/2019)
2+
3+
Moved the source code & documentation to the IBM GITHUB
4+
5+
Source code refactoring(bridge internal optimization)
6+
- metadata retrieval optimizations (time performance)
7+
8+
9+
10+
# Version 4 (04/08/2019)
11+
12+
Added aggregation support to query interval
13+
- set the query interval automatically to the metric data polling interval if the downsampling is disabled explicitly
14+
- allow usage of AVG, MIN, MAX, SUM aggregators for the downsampled polling intervals
15+
16+
Changed the logic for checking the metric sensor configuration data.
17+
- Reason: GPFSFSInodeCap and GPFSPoolCap are virtual sensors. The config settings for this sensors need to be derived from the sensor GPFSDiskCap.
18+
19+
20+
21+
# Version 3 (08/06/2018)
22+
23+
Added python3.6 support
24+
25+
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
26+
- Query requests and results in [openTSDB API 2.3 supported format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
27+
- Fixed [alias tag issue](https://github.com/grafana/grafana/issues/7560)
28+
29+
Source code changes based on latest configuration updates to IBM Spectrum Scale performance monitoring tool (ZIMon):
30+
- changed '-s --server' option from required to optional. If not specified the server will be automatically set to 'localhost'.
31+
>> **NOTE**: Since Spectrum Scale version 5.0.0 the ZImon pmcollector allows query requests, per default, only from local host.
32+
- added vlaidity check for '-P --serverPort'
33+
- added configuration check for multithreaded serverPort. If configured, this will be automatically used for querying pmcollector.
34+
35+
Source code refactoring(bridge internal optimization)
36+
- refactoring of GET, POST Handler result objects (bridge internal)
37+
- metadata retrieval optimizations (time performance)
38+
39+
Improved logging, more options for troubleshooting
40+
- improved trace messages for logging connection issues
41+
- improved trace messages for logging wrong input parameters f.e. tag names, tag values
42+
43+
44+
45+
# Version 2 (05/24/2017)
46+
47+
Added HTTPS(SSL) connection support(via port 8443)
48+
- required [CherryPy version 4.0](download from: https://pypi.python.org/pypi/CherryPy/4.0.0) or higher
49+
- required [SSL private key and certificate](http://cherrypy.readthedocs.io/en/latest/deploy.html#ssl-support) to be generated
50+
- start the bridge with '-k' option (followed by the SSLkey location path) and port 8443 (-p option)
51+
52+
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
53+
- allowing the multiple filters usage in the [lookup](http://opentsdb.net/docs/build/html/api_http/search/lookup.html?) queries
54+
- Query requests and results in [openTSDB API 2.3 query format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
55+
56+
Improved logging, more options for troubleshooting
57+
- added python version, cherryPy version and the list of enabled sensors to the console message during the bridge start
58+
- added trace messages for logging received requests from Grafana and processed queries stored in zserver.log(INFO-level)
59+
- added trace messages for logging process details at different places (DEBUG-level)
60+
- added HTTPError codes to the error trace messages(if the error cause is known)
61+
- cherrypy_access.log enabled (automatically created with the bridge start)
62+
- cherrypy_error.log (automatically created with the bridge start)
63+
64+
Source code refactoring(bridge internal optimization)
65+
- moved to the new QueryHandler(backend query engine)
66+
- metadata retrieval simplification (all methods quering metadata moved to the separate module)
67+
68+
69+
170
# Version 1 (06/16/2016)
271

372
Initial version

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The ***IBM Spectrum Scale bridge for Grafana*** could be used for exploring IBM Spectrum Scale performance data on [Grafana dashboards](https://grafana.com/grafana/).
22

3-
Grafana Bridge is a standalone Python application. It translates the IBM Spectrum Scale metadata and performance data collected by the [IBM Spectrum Scale performance monitoring tool (ZiMon)](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adv.doc/bl1adv_PMToverview.htm) to the query requests acceptable by the [Grafana integrated openTSDB plugin](https://grafana.com/docs/features/datasources/opentsdb/).
3+
Grafana Bridge is a standalone Python application. It translates the IBM Spectrum Scale metadata and performance data collected by the [IBM Spectrum Scale performance monitoring tool (ZiMon)](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adv_PMToverview.htm) to the query requests acceptable by the [Grafana integrated openTSDB plugin](https://grafana.com/docs/features/datasources/opentsdb/).
44

55

66

@@ -9,16 +9,18 @@ Grafana Bridge is a standalone Python application. It translates the IBM Spectru
99
### Prerequisites
1010

1111
Before installing the IBM Spectrum Scale bridge for Grafana you must install the software prerequisites. Those are:
12-
1. [Performance Monitoring tool](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adv.doc/bl1adv_PMToverview.htm) installed and configured on your IBM Spectrum Scale device
13-
2. On the [collector node](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adv.doc/bl1adv_PMToverview.htm) the following software need to be installed:
14-
- [Python2.7](https://www.python.org/downloads/release/python-2717/)
12+
1. [Performance Monitoring tool](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adv_PMToverview.htm) installed and configured on your IBM Spectrum Scale device
13+
2. On the [collector node](https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.4/com.ibm.spectrum.scale.v5r04.doc/bl1adv_configurecollector.htm) the following software need to be installed:
14+
- [Python2.7](https://www.python.org/downloads/release/python-2717/)/ [Python3.6](https://www.python.org/downloads/release/python-369/)
1515
- [CerryPy](https://cherrypy.org/)
1616

1717

1818
### Dependencies
1919
This package could be used for:
20-
- IBM Spectrum Scale devices having mimimum release level 4.2.1 and above
21-
- Grafana 3.0.4 and above
20+
- IBM Spectrum Scale devices having mimimum release level 5.0.3 FP2 and above
21+
- Grafana 6.0.0 and above
22+
23+
To use this tool on the older IBM Spectrum Scale devices please refer to the [SUPPORT_MATRIX](SUPPORT_MATRIX.md) file.
2224

2325

2426

@@ -37,13 +39,13 @@ In a multi-collector environment, there is no need to run the bridge on each pmc
3739
#### Step 2. Verify Python and CherryPy
3840

3941
Ensure that Python and CherryPy have been installed on the IBM Spectrum Scale system.
40-
Check the [SUPPORT_MATRIX](SUPPORT_MATRIX.md) file for the recommended version.
42+
Check the SUPPORT_MATRIX file for the recommended version.
4143

4244

4345

4446
#### Step 3. Set up IBM Spectrum Scale Performance Monitoring Bridge
4547

46-
Download the zip package and unpack it in your favorite directory:
48+
Download the zip package and unpack it in your favorite directory on the collector node :
4749

4850
```shell
4951
# unzip zimonGrafanaIntf.zip
@@ -52,7 +54,7 @@ Download the zip package and unpack it in your favorite directory:
5254
Start the bridge application by issuing:
5355

5456
```shell
55-
# python zimonGrafanaIntf.py -s <pmcollector host>
57+
# python zimonGrafanaIntf.py
5658
```
5759

5860
If the bridge did establish the connection to the specified pmcollector and the initialization of the metadata was performed successfully, you should get the message "server started" at the end of line. Otherwise check the zserver.log stored in the zimonGrafanaIntf directory. Additionally, check the pmcollector service running properly by issuing:
@@ -73,9 +75,9 @@ Download and install [Grafana](https://grafana.com/get) according to the given i
7375

7476
Define a new data source (Data Sources -> Add New)
7577

76-
![](Add_DataSource.png)
78+
![](Example_Add_DataSource.png)
7779

78-
**NOTE**: The IBM Spectrum Scale bridge listens on port 4242
80+
**NOTE**: The IBM Spectrum Scale bridge listens on port 4242 for HTTP connections, and on port 8443 for HTTPS connections
7981

8082
Grafana now can talk to Spectrum Scale Performance Monitoring tool via the bridge. Follow the grafana instructions to create dashboards.
8183

SUPPORT_MATRIX.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
The following matrix gives a quick overview of the supported software for the IBM Spectrum Scale bridge for Grafana packages by version number:
22

3+
# Version 5 (12/01/2019)
4+
- Python 2.7 or Python 3.6
5+
- CherryPy 8.0.0 and above (For HTTPS connection required CherryPy 8.0.0/Python 2.7 or CherryPy 18.0.0/Python3.6)
6+
- IBM Spectrum Scale system must run 5.0.3 FP2 and above
7+
- Grafana 6.0.0 and above
8+
9+
# Version 4 (04/08/2019)
10+
- Python 2.7 or Python 3.6
11+
- CherryPy 8.0.0 and above (For HTTPS connection required CherryPy 8.0.0/Python 2.7 or CherryPy 18.0.0/Python3.6)
12+
- IBM Spectrum Scale system must run 4.2.3. FP14 and above
13+
- Grafana 6.0.0 and above
14+
15+
# Version 3 (08/06/2018)
16+
- Python 2.7 or Python 3.6
17+
- CherryPy 4.0.0 and above (For HTTPS connection required CherryPy 4.0.0/Python 2.7 or CherryPy 14.0.1/Python3.6)
18+
- IBM Spectrum Scale system must run 4.2.3. FP8 and above
19+
- Grafana 5.0.0 and above
20+
21+
# Version 2 (05/24/2017)
22+
- Python 2.7 or Python 3.4
23+
- CherryPy 3.6.0 (For HTTPS connection required CherryPy 4.0.0/Python 2.7 or CherryPy 8.2.0/Python3.4.3)
24+
- IBM Spectrum Scale system must run 4.2.1. or above (Note: For the optimal bridge performance we recommend to use the IBM Spectrum Scale release level 4.2.3 FP1)
25+
- Grafana 4.2.0
26+
327
# Version 1 (06/16/2016)
428
- Python 2.7
529
- CherryPy 3.6.0

0 commit comments

Comments
 (0)