-
Notifications
You must be signed in to change notification settings - Fork 14
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
No dashboards detected #13
Comments
I forgot to mention that if I markthe dashboards as starred, I get the same result. I am using grafana/grafana docker image that runs grafana 2.5 with port 3000 exposed. The output of grafanaalerts is: javier@javier-System-Product-Name: |
If I manually run the http query of DashboardScanner::obtain_dashboards() I get: javier@javier-System-Product-Name: |
I think you didn't mark dashboards with the tag "monitored" : "Dashboards to be monitored for alerts must be marked with the tag "monitored"" |
Thanks, I can't find the option to mark the dashboards as monitored. is Thanks, Javier. El 13/11/15 a las 00:15, VMironenko escribió:
|
I think the error is at #160 of alerting.py
The returned object from the DashboardScanner is None because it is searching for a field There appear to be a bunch of other field name changes downstream too Update: many of these errors appear to occur for Grafana 2.0.2+ and later) |
@moandcompany Tried looking for "dash-db". But it didn't work. What field should we look for in json? |
I installed grafana Alerts (grafana_alerts-1.0.0.dev7.tar.gz) with pip and configured it, but it first gave me this error:
javier@javier-System-Product-Name:
/prueba/monitoreo$ grafanaalerts []/prueba/monitoreo$None
Traceback (most recent call last):
File "/usr/local/bin/grafanaalerts", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/grafana_alerts/init.py", line 12, in main
return the_launcher.launch()
File "/usr/local/lib/python2.7/dist-packages/grafana_alerts/launcher.py", line 16, in launch
alert_checker.check()
File "/usr/local/lib/python2.7/dist-packages/grafana_alerts/alerting.py", line 40, in check
for d in dashboard_data_list:
TypeError: 'NoneType' object is not iterable
javier@javier-System-Product-Name:
I solved it replacing lines 39 and 40 of alerting.py with:
But grafanaalerts does not recognize the dashboards, it allways claim that there are no dashboards and I have 2 unstarred dashboards (and no starred dashboards).
The text was updated successfully, but these errors were encountered: