{
  "annotations": {
    "list": [
      {
        "enable": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "builtIn": 1,
        "datasource": {
          "apiVersion": "",
          "type": "datasource",
          "uid": "grafana"
        },
        "hide": true,
        "target": {
          "limit": 0,
          "matchAny": false,
          "refId": "A",
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Convert Grafana dashboards containing OpenNMS data sources and/or panels to the latest version.",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": "",
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "apiVersion": "",
        "type": "grafana",
        "uid": "grafana"
      },
      "gridPos": {
        "h": 20,
        "static": false,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "targets": [
        {
          "datasource": {
            "type": "datasource",
            "uid": "grafana"
          },
          "refId": "A"
        }
      ],
      "type": "opennms-dashboard-convert-panel",
      "links": [],
      "pluginVersion": "12",
      "transformations": []
    },
    {
      "datasource": {
        "apiVersion": "",
        "type": "grafana",
        "uid": "grafana"
      },
      "description": "",
      "gridPos": {
        "h": 20,
        "static": false,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 4,
      "options": {
        "code": {
          "language": "plaintext",
          "showLineNumbers": false,
          "showMiniMap": false
        },
        "content": "# Dashboard Converter Instructions\n\nThis conversion tool will convert Grafana dashboards in the older HELM format, or dashboards using OPG v9-12, to the latest OpenNMS Plugin for Grafana format.\n\nNote that the OPG version tracks the Grafana version.\n\nCurrently, the conversions supported are: from HELM v8 to OpenNMS Plugin for Grafana v9 or v12; and from OPG v9-v12 to OPG v12.\n\nWe strongly suggest that you convert to the v12 format if possible, otherwise use the v9 format.\n\n- You will need to get the Dashboard JSON from any dashboards you wish to convert.\n  - If you are migrating a dashboard from this Grafana instance:\n    - Go into the dashboard's Settings > JSON Model and copy the JSON to your clipboard.\n  - If you are migrating a dashboard from a different Grafana instance:\n    - Click the dashboard Share button and select the Export tab.\n    - Toggle on the \"Export for sharing externally\" option and click the \"View JSON\" button.\n- Paste the JSON into the \"Enter Source Dashboard Json\" box.\n  - The dashboard title will appear and you may edit it as needed before converting.\n  - To unhide all queries, switch \"Unhide all queries\" on. This will \"unhide\" all queries for each panel.\n  - To convert any graph panels (these are deprecated in Grafana 9) to the new Grafana Timeseries panel, switch this option on.\n    - This applies only if your dashboard still contains legacy graph panels that have not yet been migrated to Time Series panels.\n    - This feature may not convert every possible option. You may instead decide to leave this off. In this case, after converting the dashboard, you can go into each panel's options and click the \"Migrate\" button to use the Grafana migration tool to convert the panel to Timeseries.\n  - Click \"Convert\". The converted Dashboard JSON will appear in the Target textbox.\n- Copy the converted JSON.\n- Go into Dashboards > Browse, select New > Import Dashboard and copy the new JSON into the \"Import via panel json\" box and select Load.\n  - You can ignore the \"Change UID\"; Grafana will assign a new UID to the new dashboard.\n  - In some cases, you may need to choose an OpenNMS data source.\n  - Click \"Import\" to create and save the new dashboard.\n- Your dashboard should now be displayed.",
        "mode": "markdown"
      },
      "pluginVersion": "12",
      "targets": [
        {
          "datasource": {
            "type": "datasource",
            "uid": "grafana"
          },
          "refId": "A"
        }
      ],
      "type": "text",
      "links": [],
      "transformations": []
    }
  ],
  "preload": true,
  "refresh": "",
  "revision": 1,
  "schemaVersion": 38,
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "quick_ranges": [],
    "refresh_intervals": []
  },
  "timezone": "",
  "title": "Dashboard Converter | OpenNMS Plugin for Grafana",
  "version": 6,
  "weekStart": ""
}
