Grafana

From Indie IT Wiki

Grafana open source software for time series analytics.

Introduction

https://denlab.io/setup-a-wicked-grafana-dashboard-to-monitor-practically-anything/

Nice HOWTO: Influx Telegraf Grafana

https://lkhill.com/telegraf-influx-grafana-network-stats/

Change Dashboard Panel Title Font Size

  1. At the bottom of the dashboard, add a "text panel" in a smallest hight "1px" and turn on a transparent background.
  2. Open the Options tab and switch to HTML mode.
  3. Paste the following CSS code:
<style>
  .panel-title-container {
    font-size: x-large;
  }
</style>

Thanks :-)

Kiosk Fullscreen Mode

This will remove the toolbar shown at the top of every page, useful for kiosk screens.

Add &kiosk to the end of the url, or press d then k on your keyboard.

Copy Panel To Another Dashboard

Source

  1. Select your Dashboard
  2. Click on the Panel Title
  3. In pop-up window, click the 3 bars and choose Panel JSON
  4. Highlight all of and copy the Panel JSON text
  5. Click the close cross

Destination

  1. Change your Dashboard
  2. Click Add Row
  3. Click Graph
  4. Click on the Panel Title
  5. In pop-up window, click the 3 bars and choose Panel JSON
  6. Highlight all of the text and paste the Panel JSON text over existing
  7. Click the close cross
  8. Click Save Dashboard

Functions

https://www.reddit.com/r/sysadmin/comments/53mi0s/using_grafana_to_show_network_speed/

http://lkhill.com/using-influxdb-grafana-to-display-network-statistics/

Scripts

https://forums.lime-technology.com/topic/50495-scripts-for-server-monitoring-using-influx-db-and-grafana-without-telegraf-agent/

Annotations

https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/

Alerts

PMM Alerting with Templated Dashboards

https://dzone.com/articles/pmm-alerting-with-grafana-working-with-templated-d

Configure the link back to Grafana from alert notifications

http://docs.grafana.org/alerting/notifications/#configure-the-link-back-to-grafana-from-alert-notifications

http://docs.grafana.org/installation/configuration/#domain

http://your.grafana.server:3000/admin/settings

OnCall

https://github.com/grafana/oncall

Troubleshooting

Fix Error: NO_PUBKEY 40F370A1F9081B64

https://community.openhab.org/t/solved-grafana-repository-error-no-pubkey/66664

Migrating To New Host

Docker

Docker#Grafana