Comments (15)
this looks like grafana is not trusting the certificate from the checkmk
I'm using the grafana operator inside k8s, there this can be achieved by mounting the certificates to /etc/ssl/certs/ca-certificates.crt
using a configmap and extraVolume(Mounts).
in case of openshift this configmap can easily been created by letting openshift injecting the cluster trusted CA into a configmap
I hope this helps
from grafana-checkmk-datasource.
I am using the "2.0.0p15.cee". I also have the same problem....
Could somebody give some comments for this problem?
# curl 'cma03/remote_site/check_mk/view.py?_username=automation&_secret=XXXXXXXXXXX&view_name=svcproblems&output_format=json'; [ [ "service_state", "host", "service_description", "service_icons", "svc_plugin_output", "svc_state_age", "svc_check_age", "perfometer" ], [
regards,
from grafana-checkmk-datasource.
Looks like you are trying to connect to a remote site in a distributed monitoring environment. According to the documentation, you have to connect to the central site.
See 2.2 on the following page:
https://docs.checkmk.com/latest/en/grafana.html
from grafana-checkmk-datasource.
Looks like you are trying to connect to a remote site in a distributed monitoring environment. According to the documentation, you have to connect to the central site.
See 2.2 on the following page: https://docs.checkmk.com/latest/en/grafana.html
I disable the "Distributed Monitoring" then it was the same.
So I created the new site(mysite) but the problem was the same like attached file.
If you had some idea kindly tell me.
regards,
Yoshihiro
from grafana-checkmk-datasource.
Same issue here... Using 2.0.0p17 (CRE) - has anyone figured this out?
from grafana-checkmk-datasource.
Was there ever a resolution to this problem? I am on CheckMK 2.1.0p17. I have been using the old grafana plugin of version 1.1.0 for a long time and it still works but I can't seem to upgrade to the new 2.0.3 version. I get the same error above.
from grafana-checkmk-datasource.
The problem here is that there are a lot of different conditions under which this error could occur. If you could share the response of the network request with me, I can take a look. It should show up as webapi.py?action=get_combined_graph_identifications
in the Network Tab of the Inspector.
from grafana-checkmk-datasource.
for me the issue was an http proxy in between, which was sending a forbidden (to not use it for the connection to checkmk). I was able to see the error when switching from https to http (in the mentioned network inspector of the chrome developer tools).
so excluding it using NOPROXY was fixing it the error, revealing a second issue (visible thanks to the newest 2.0.3 plugin version). you must use an automation secret instead of a password.
hope this helps some of you
from grafana-checkmk-datasource.
this below is from the grafana.log file when i attempt save and test in the datasource. @m1schka I am using the secret and not the password for the automation user already.
logger=context userId=6 orgId=1 uname=xxxxxx t=2022-12-09T08:16:56.19340588-09:00 level=info msg="Request Completed" method=GET path=/login/ status=302 remote_addr=192.168.xxx.xxx time_ms=36 duration=36.178574ms size=24 referer= handler=/login logger=context userId=6 orgId=1 uname=xxxxxx t=2022-12-09T08:16:56.464335642-09:00 level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=192.168.xxx.xxx time_ms=2 duration=2.181657ms size=0 referer= handler=/api/live/ws logger=data-proxy-log userId=6 orgId=1 uname=xxxxxx path=/api/datasources/proxy/15/cmk/check_mk/webapi.py remote_addr=192.168.xxx.xxx referer=http://lovejoy.cvtc.org:3000/datasources/edit/GufJd9F4k t=2022-12-09T08:17:06.958309189-09:00 level=error msg="Proxy request failed" err="x509: certificate signed by unknown authority" logger=context userId=6 orgId=1 uname=xxxxxx t=2022-12-09T08:17:06.958460911-09:00 level=error msg="Request Completed" method=POST path=/api/datasources/proxy/15/cmk/check_mk/webapi.py status=502 remote_addr=192.168.xxx.xxx time_ms=12 duration=12.301322ms size=0 referer=http://lovejoy.cvtc.org:3000/datasources/edit/GufJd9F4k handler=/api/datasources/proxy/:id/*
from grafana-checkmk-datasource.
I find that strange because my checkmk is loaded with a valid wildcard ssl from godaddy.
from grafana-checkmk-datasource.
Ok well sure enough I put the SSL into the ca-certificates.crt file and rebooted and now it is connecting and pulling data just fine. I do find that odd that I had to do that for a publicly validated certificate, but all is working now, and I am getting the host and data.
from grafana-checkmk-datasource.
Hello All,
I also have the same problem. I am using the CheckMK "1.6.0p20" Enterprise and the Open Source Grafana v9.3.6 (978237e7cb)
For the plug-in, I´m using the "grafana-checkmk-datasource-1.1.0", because the compatibility with CheckMK "1.6.0p20", as I could see on https://docs.checkmk.com/1.6.0/en/grafana.html.
But, I not sure if this plug-in version 1.1.0 works fine with Open Source Grafana v9.3.6 (978237e7cb).
Checking on the README.md file zip on "https://github.com/tribe29/grafana-checkmk-datasource/archive/1.1.0.zip" I could check it below.
Requirements
Minimal Checkmk Version is 1.6.0p2
. The Grafana datsource requires the Checkmk Enterprise Edition or Checkmk Managed Services Edition.
But, I couldn´t find information about Grafana requirements. How can I check compatibility between them?
And about the error message, someone could help me to understand it? I´m really newbie on this new world.
Thanks in advance.
from grafana-checkmk-datasource.
Passive maintenance for checkmk 1.6.0 ended 2022-09-09 (see https://docs.checkmk.com/latest/en/cmk_versions.html#support_periods). We don't support this version for this plugin.
Version 1.1.0 of this plugin was release on 2019-09-30. Grafana released 6.3.6 on 2019-09-23, so those two versions probably should work together.
As for general troubleshooting you have multiple places to look for hints what's going wrong:
- network tab of the development console of your browser
- grafana logs
- checkmk logs
Please understand that we can not put time into supporting old versions of this plugin.
from grafana-checkmk-datasource.
Hello @BenediktSeidl,
Sure, completely understand.
Thanks for the information.
Best regards,
from grafana-checkmk-datasource.
I think all issues from this ticket should be resolved, so I'm closing that. If I missed something, please add a comment.
from grafana-checkmk-datasource.
Related Issues (20)
- Grafana cannot detect hosts from Checkmk HOT 7
- Migrate to grafana create-plugin
- can`t run the Datasource on Grafana v9.5.1 with "version": "3.0.0", "updated": "2023-04-06" HOT 6
- Not working with grafana 9.5.2 HOT 8
- Does not work with grafana version 9.4.7 HOT 4
- Make the summary field available to display HOT 3
- Cant make Totals work HOT 1
- Alias for the new V3.x in Grafana HOT 1
- Host metrics pollute graph and metric dropdowns HOT 11
- [Feature Request] Option to change pre-configured Checkmk colors to Grafana colors HOT 1
- Helper Request: Sample Dashbords with variables
- Hostname as fieldname not possible anymore HOT 4
- Cannot obtain data from a service containing a plus sign HOT 4
- refactor dropdowns: adapt to current 2.1.0 and master
- data source does not appear in grafana HOT 4
- Hostname in title (RAW edition) HOT 11
- Hostname in Legend HOT 2
- Tribe29 Logo not shown due to name mismatch HOT 2
- Graph not found for some common metrics HOT 4
- e2e tests do not use the latest grafana docker image
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 grafana-checkmk-datasource.