Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active October 5, 2022 11:38
Show Gist options
  • Save gilangvperdana/859e4e80b9c1259c16fe98b55f34023d to your computer and use it in GitHub Desktop.
Save gilangvperdana/859e4e80b9c1259c16fe98b55f34023d to your computer and use it in GitHub Desktop.
Alerting Grafana with Picture

Alerting Grafana with Picture

Installation

docker run --name grafana --network=host --restart always -d -p 3000:3000 gilangvperdana/apps:grafanav7
docker exec -it -u 0 grafana bash
grafana-cli plugins install grafana-image-renderer
apt install chromium-browser

Error

  • Error while loading shared library libnss3.so
docker exec -it -u 0 grafana bash
sudo apt install libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev
docker restart grafana

ADD

  • On version > 8.0 we found an error Failed to start renderer plugin: Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol. Add this line to your Grafana Systemd.
[Service]
SystemCallFilter=
MemoryDenyWriteExecute=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment