Comments (5)
Hello,
first of all you need to check in the SUPPORT_MATRIX for the bridge version supporting the IBM Spectrum Scale version which is in your usage. (For IBM Spectrum Scale 5.4.1 the bridge versionv7.0.6 should be fine)
You will also need to generate scale_grafana API-key on the Spectrum Scale side and include the key value in the bridge settings. Read the following article in the IBM Spectrum Scale bridge for Grafana Wiki. This API key will allow the bridge to talk to pmcollector over unix socket.
from ibm-spectrum-scale-bridge-for-grafana.
Hi Helene,
Thanks for your answer.
However, the documentation you are pointing me to is using the port 9980 on the localhost interface, not an unix socket file.
What i was trying to say is that the pmcollector now seems to only expose the socket file /var/run/perfmon/pmcollector.socket to accept requests. I don't see where we can configure the grafana bridge to use this file instead of the localhost:9980 address.
from ibm-spectrum-scale-bridge-for-grafana.
Hi Helene, Thanks for your answer. However, the documentation you are pointing me to is using the port 9980 on the localhost interface, not an unix socket file. What i was trying to say is that the pmcollector now seems to only expose the socket file /var/run/perfmon/pmcollector.socket to accept requests. I don't see where we can configure the grafana bridge to use this file instead of the localhost:9980 address.
The grafana bridge v7.0.6 does it automatically. Important, you have generated scale_grafana API key on the scale side and passed through the API Key value to the bridge config
from ibm-spectrum-scale-bridge-for-grafana.
I have correctly generated the api key and added it to the bridge config. But i keep getting the following error when i start the bridge.
I did a small test and the bridge is sending a request to the 9980 port, not to the /var/run/perfmon/pmcollector.socket socket.
Apart from the apiKey i am using the default config. Is there something i missed?
2022-08-02 14:51:16,597 - bridgeLogger - INFO - *** IBM Spectrum Scale bridge for Grafana - Version: 7.0.6 ***
2022-08-02 14:51:16,597 - bridgeLogger - MOREINFO - zimonGrafanaItf invoked with parameters:
port=4242
protocol=http
server=localhost
serverPort=9980
retryDelay=60
apiKeyName=scale_grafana
caCertPath=False
includeDiskData=True
logPath=/var/log/zimon/
logLevel=10
logFile=zserver.log
2022-08-02 14:51:16,598 - bridgeLogger - DEBUG - readSensorsConfigFromMMSDRFS attempt to read /var/mmfs/gen/mmsdrfs
2022-08-02 14:51:16,599 - bridgeLogger - DEBUG - __do_RESTcall invoke __ params: perfmon/topo GET None
2022-08-02 14:51:16,599 - bridgeLogger - DEBUG - createRequestDataObj __ created request
2022-08-02 14:51:16,600 - bridgeLogger - WARNING - Perfmon RESTcall error __ Server responded: 503 Connection refused from server
2022-08-02 14:51:16,600 - bridgeLogger - ERROR - QueryHandler: getTopology returns no data.
from ibm-spectrum-scale-bridge-for-grafana.
It looks like you have an issue on the IBM Spectrum Scale Side (Connection refused) . Are you running the bridge on the pmcollector node or remote one? If you are running locally, then I can provide you some instructions how to increase traces of mmsysmon daemon, to see what is the reason the daemon refuses this communication. Basically with switching to unix domain socket we did introduce the api key authentication verification. This verification is done by mmsymon. That means, the request from the bridge is sent over REST API to 9980. mmsysmon daemon is listening on this port, and does verify api key for each incomming request. Finally it sends the request to unix domain socket. The best way, to continue investigation would be, an opened issue by IBM Spectrum Scale support. You can reference to this conversation in the ticket, support team will contact me and I can provide you some instructions for the next steps in the problem investigation.
from ibm-spectrum-scale-bridge-for-grafana.
Related Issues (20)
- Error starting grafana bridge v7.1.0 HOT 1
- Wiki references wrong file HOT 2
- SERVER default not working in container HOT 1
- Fix code scanning alert - Clear-text logging of sensitive information
- How works Prometheus Integration ? HOT 7
- ZimonGrafana Bridge don't start on rhel8.8 with python3.8 installed HOT 1
- Add Basic Auth support to Prometheus Brigde HOT 3
- Create a collection of grafana dashboards based on Prometheus Bridge
- Mount a volume with the mmsdrfs/ZIMonsensors.cfg file HOT 2
- Issue with gpfs_filesetquota metrics collect HOT 8
- Update UBI image to 9.3-1610 HOT 1
- cannot get metadata from pmcollector HOT 8
- Fix code scanning alert - Clear-text logging of sensitive information
- GrafanaBridge has no systemd unit files shipped
- Did you mean CloudWatch ? HOT 1
- Grafana Dashboard shows HTTP 500 Error by using grafana bridge with CNSA 5.1.5 prerelease version HOT 1
- initialization failures with 7.0.4 HOT 5
- openshift-marketplace doesn't available on KVM based installation HOT 2
- new dashboard for ESS NVME and Hybrid models
- No sensor configuration data parsed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibm-spectrum-scale-bridge-for-grafana.