Hi Saige,
this looks like openATTIC is trying to access a URL of Grafana which does not exist.
This is likely due to the dashboards name, which is exposed to the URL. The names of the dashboards might be correctly pre-filled when you import them.
For instance, if you import `Ceph - Cluster` (and keep this as the name of the dashboard) it will be converted to `ceph-cluster` in the path of the URL when it is accessed. openATTIC requires exactly this name in the path of the URL to the Grafana dashboard, meaning it requires the name of the dashboard to be `Ceph - Cluster` as the conversion of the name of the dashboard is handled by Grafana. The complete URL might look like the following.
http://your_host:3000/dashboard/db/ceph-cluster?refresh=30s&orgId=1
The required path names in the URL for the dashboards are the following:
Please also note that only the Grafana version shipped with SLES
is supposed to work. Newer Grafana 4 versions might work, but
don't have to and Grafana 5 will not work.
Patrick
--
You received this message because you are subscribed to the Google Groups "openATTIC Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openattic-use...@googlegroups.com.
To post to this group, send email to openatt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openattic-users/571494dc-93cc-49c4-bb7a-b673b6e780a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Hi Saige,
It seems that you're using Grafana 5.
The proxy implemented in openATTIC for Grafana does not work with Grafana 5. It _may_ be possible to circumvent this limitation (only for the proxy implementation) by setting the `root_url` setting of Grafana properly, but there's no way to configure Grafana 5 to make the dashboards work with openATTIC as the URLs of Grafana 5 are different from Grafana 4.
Grafana 4: http://your_host:3000/dashboard/db/ceph-cluster?refresh=30s&orgId=1
Grafana 5:
http://localhost:3000/d/AAAAAA/ceph-cluster?refresh=30s&orgId=1
There is a unique identifier in the URL of Grafana (`AAAAAA` in this example) which points to a particular dashboard, which openATTIC doesn't know about and cannot handle.
Hence, there is sadly no way to configure openATTIC to make it work with Grafana 5.
PS: The dashboards name doesn't have to be `ceph-cluster`, but can be. It just needs a name which is converted (Grafana does that automatically) to `ceph-cluster` in the path of the URL to the dashboard. As `Ceph - Cluster` is converted to `ceph-cluster`, that name is fine. Using `ceph-cluster` as dashboard name would also result in `ceph-cluster` in the path to the dashboard and would therefore also work.
Side note: The dashboard module [1] of the Ceph Manager is going
to work with Grafana 5 in the future. The proxy implementation for
the dashboard is already in place and the dashboards as well as
the integration to the frontend are currently being developed.
Patrick
To view this discussion on the web visit https://groups.google.com/d/msgid/openattic-users/2327b963-514a-4330-aee0-b64c2e2103e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.