stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
MIT License
6.05k stars 1.73k forks source link

unable to view dashboards #199

Closed corasaniti closed 4 years ago

corasaniti commented 4 years ago

Hi guys,

after cloning git repo and start stack with follow command....

ADMIN_USER=admin ADMIN_PASSWORD=admin docker-compose up -d

I am unable to view the graphana dashboards. From the grafana logs I see the following error Thanks

lvl=eror msg="Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory"
lvl=eror msg="Can't read alert notification provisioning files from directory" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers error="open /etc/grafana/provisioning/notifiers: no such file or directory
nightah commented 4 years ago

This is an expected error and does not prevent you from being able to view the dashboard.

Here's a snippet of a new stack being run up, including the line that you provided above.

t=2020-10-21T02:48:29+0000 lvl=info msg="Created default admin" logger=sqlstore user=admin
t=2020-10-21T02:48:29+0000 lvl=info msg="Starting plugin search" logger=plugins
t=2020-10-21T02:48:31+0000 lvl=info msg="Registering plugin" logger=plugins name="Direct Input"
t=2020-10-21T02:48:31+0000 lvl=info msg="inserting datasource from configuration " logger=provisioning.datasources name=Prometheus uid=
t=2020-10-21T02:48:31+0000 lvl=eror msg="Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory"
t=2020-10-21T02:48:31+0000 lvl=eror msg="Can't read alert notification provisioning files from directory" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers error="open /etc/grafana/provisioning/notifiers: no such file or directory"
t=2020-10-21T02:48:31+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=

This instance comes up fine with all the dashboards auto-provisioned. Can you please detail the exact issue you're having and provide full log outputs if the issue is still recurring?

corasaniti commented 4 years ago

Thanks to the answer I solved .... There was no issue. I didn't see the Dashboards in the "Recently Used" and "Starred" sections the first time I started the container. From the "Manage Dashboard" section and I see everything correctly. Thanks again. Issue closed immediately