Checkmk / grafana-checkmk-datasource

CheckMK data source for Grafana
Apache License 2.0
80 stars 14 forks source link

Grafana cannot detect hosts from Checkmk #100

Open babsdn opened 1 year ago

babsdn commented 1 year ago

I have installed grafana v9.3.2 and checkmk raw edition but according to attach pic grafana cannot detect any host or service from checkmk . What is the issue ? How can solve it ?

check11

babsdn commented 1 year ago

Also I have added checkmk with grafana user not cmkadmin

BenediktSeidl commented 1 year ago

We will need more context here:

for debugging purpose it would also be a good idea to use the automation user, so we can rule out any permission problems, as this user has admin permissions.

Semetra22 commented 1 year ago

@babsdn Having the same issue.

clavis-420 commented 1 year ago

It indeed seems to be a permission issue, giving my grafana user administrator rights solved the problem for me, so the use of the automation user isn't necesssary.

michael-r-elp commented 1 year ago

My solution was to clone the user role to create a seperate grafana role and give that role the See all host and services permission. After assigning that role to the grafana user everything worked fine for me, so far. That might be the preferable solution for anyone who doesn't want to grant full admin rights to the grafana user.

acopernic commented 1 year ago

Had same issue and did the same thing. Thank you.

filipnet commented 1 year ago

Hello and thank you very much. This is not an issue but a permission problem. The built-in role "user" does not have the permission "See all host and services". This can be validated here: Setup > Users > Roles & permissions > Permission matrix

Solution:

Suggestion: Add the notes into README.md and close the issue.