Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Dashboard title cannot be empty #108

Closed
albttx opened this issue Nov 6, 2018 · 2 comments
Closed

Dashboard title cannot be empty #108

albttx opened this issue Nov 6, 2018 · 2 comments

Comments

@albttx
Copy link

albttx commented Nov 6, 2018

It's close to the #77

I can't import my grafana dashboard

- hosts: grafana
  vars:
    grafana_security:
      admin_user: admin
      admin_password: password42
    grafana_datasources:
      - name: prometheus
        type: prometheus
        url: 'http://localhost:9090'
        access: proxy
        basicAuth: false
    grafana_dashboards:
      - dashboard_id: 42
        revision_id: 1
        datasource: prometheus

    prometheus_targets:
      node:
      - targets:
        - localhost:9100
        - x.x.x.x:9100
  roles:
    - cloudalchemy.grafana
    - cloudalchemy.prometheus

I uncomment the no_log: true, here is the output:

failed: [x.x.x.x] (item=/tmp/dashboards/42.json) => {"changed": false, "connection": "close", "content": "{\"message\":\"Dashboard title cannot be empty\"}", "content_length": "45", "content_type": "application/json", "date": "Tue, 06 Nov 2018 16:36:48 GMT", "item": "/tmp/dashboards/42.json", "json": {"message": "Dashboard title cannot be empty"}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "status": 400, "url": "http://0.0.0.0:3000/api/dashboards/db"}

Any idea ?

@albttx
Copy link
Author

albttx commented Nov 7, 2018

Issue was the dashboard 42, 111 are 404 not found

@albttx albttx closed this as completed Nov 7, 2018
@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant