Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading the grafana to Version 11.3.0, not able to see the data from check-mk data source (2.2.0p35.cee) #275

Open
Prakashadapala opened this issue Nov 11, 2024 · 3 comments

Comments

@Prakashadapala
Copy link

After upgrading the grafana to Version 11.3.0, not able to see the data from check-mk data source (2.2.0p35.cee)

Grafana: Version 11.3.0
OS version: OEL 8.5
CheckMK Plugin: tribe-29-checkmk-datasource-3.3.0.zip

CMK version: 2.2.0p35.cee
OS version: OEL 9.4

Data source is working, reached version 2.2.0p35.cee of Checkmk

When i am trying to plot the graph able to user filters where i can see checkmk site name and all hostname and service details, but when i try to plot the graph no data is pulled.(Displaying message No data available either its any service (CPU, DISK, IO)

@BenediktSeidl
Copy link
Contributor

can you check out the current beta release?
can you see any failed http requests in the network tab of the developer tools? what is the request or response of those requests?
do you see an error similar to this one? what's the exact wording?

@Prakashadapala
Copy link
Author

@BenediktSeidl

I am not able to find any data in grafana even though i selected host details and predefine graph

image|690x316

here you can find logs on garafana server
logger=grafana-apiserver t=2024-11-14T02:54:42.615366242Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager"
logger=grafana-apiserver t=2024-11-14T02:54:42.616985943Z level=info msg="Adding GroupVersion iam.grafana.app v0alpha1 to ResourceManager"
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:54:59.669991027Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=0 duration=847.132µs size=105 referer= handler=/api/live/ws status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:55:13.406260346Z level=info msg="Request Completed" method=GET path=/ status=302 remote_addr=time_ms=0 duration=743.316µs size=47 referer= handler=/ status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:55:13.660951975Z level=info msg="Request Completed" method=GET path=/user/auth-tokens/rotate status=302 remote_addr=time_ms=5 duration=5.106325ms size=24 referer= handler=/user/auth-tokens/rotate status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T02:55:15.411007076Z level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=time_ms=2 duration=2.287355ms size=0 referer= handler=/api/live/ws status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T02:55:18.651692019Z level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=time_ms=2 duration=2.430408ms size=0 referer= handler=/api/live/ws status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:55:28.161356429Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=0 duration=811.279µs size=105 referer= handler=/api/live/ws status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T02:55:31.359846109Z level=info msg="Request Completed" method=POST path=/api/datasources/proxy/uid/ee3mpjha7s6psa/rest/check_mk/api/1.0/objects/autocomplete/combined_graphs status=400 remote_addr=time_ms=381 duration=381.246827ms size=251 referer="http://usnc1grap1lvd:3000/dashboard/new?editPanel=1&from=now-6h&timezone=browser&to=now" handler=/api/datasources/proxy/uid/:uid/* status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:56:28.651742401Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=0 duration=969.908µs size=105 referer= handler=/api/live/ws status_source=server
logger=infra.usagestats t=2024-11-14T02:56:33.166810945Z level=info msg="Usage stats are ready to report"
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:57:29.447537304Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=1 duration=1.161542ms size=105 referer= handler=/api/live/ws status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:58:29.936885381Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=0 duration=901.452µs size=105 referer= handler=/api/live/ws status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T02:59:35.837784338Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=1 duration=1.014114ms size=105 referer= handler=/api/live/ws status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T03:00:36.640113031Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=time_ms=0 duration=740.619µs size=105 referer= handler=/api/live/ws status_source=server
image

@Prakashadapala
Copy link
Author

@BenediktSeidl Even tried with the mention beta version, same not able to fetch the data, i am able to get only hostdetails from checkmk data source, but not able to plot the resource utilization graphs

Here you can find the latest logs in grafana, post beta version.
logger=grafana.update.checker t=2024-11-14T03:05:09.120035073Z level=info msg="Update check succeeded" duration=130.106225ms
logger=grafana-apiserver t=2024-11-14T03:05:09.343780134Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager"
logger=grafana-apiserver t=2024-11-14T03:05:09.34550953Z level=info msg="Adding GroupVersion iam.grafana.app v0alpha1 to ResourceManager"
logger=grafana-apiserver t=2024-11-14T03:05:09.346220317Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager"
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T03:05:09.446183404Z level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr= time_ms=12 duration=12.577189ms size=0 referer= handler=/api/live/ws status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T03:05:10.00753904Z level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr= time_ms=2 duration=2.346153ms size=0 referer= handler=/api/live/ws status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T03:05:23.688943471Z level=info msg="Request Completed" method=GET path=/api/gnet/plugins/tribe-29-checkmk-datasource status=404 remote_addr= time_ms=109 duration=109.834553ms size=116 referer=http://usnc1grap1lvd:3000/connections/datasources/edit/ee3mpjha7s6psa handler=/api/gnet/* status_source=server
logger=context userId=1 orgId=1 uname=admin t=2024-11-14T03:05:37.090366063Z level=info msg="Request Completed" method=POST path=/api/datasources/proxy/uid/ee3mpjha7s6psa/rest/check_mk/api/1.0/objects/autocomplete/combined_graphs status=400 remote_addr= time_ms=372 duration=372.386581ms size=251 referer="http://usnc1grap1lvd:3000/explore?orgId=1&panes=%7B%22erj%22%3A%7B%22datasource%22%3A%22ee3mpjha7s6psa%22%2C%22queries%22%3A%5B%7B%22refId%22%3A%22A%22%2C%22datasource%22%3A%7B%22type%22%3A%22tribe-29-checkmk-datasource%22%2C%22uid%22%3A%22ee3mpjha7s6psa%22%7D%7D%5D%2C%22range%22%3A%7B%22from%22%3A%22now-1h%22%2C%22to%22%3A%22now%22%7D%7D%7D&schemaVersion=1" handler=/api/datasources/proxy/uid/:uid/* status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-14T03:05:40.540698488Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr= time_ms=0 duration=726.371µs size=105 referer= handler=/api/live/ws status_source=server
logger=infra.usagestats t=2024-11-14T03:06:14.015700861Z level=info msg="Usage stats are ready to report"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants