Giter VIP home page Giter VIP logo

grafana-xxl's Introduction

Grafana XXL

DockerHub pulls GitHub stars DockerHub stars Commercial support ready

Dockerized Grafana with all preinstalled plugins from https://grafana.net/plugins.

Grafana XXL datasources and plugins

Please donate to author, so he can continue to publish another awesome projects for free:

Paypal donate button

Running your Grafana XXL Docker image

Start your image binding the external port 3000:

docker run -d --name=grafana-xxl -p 3000:3000 monitoringartist/grafana-xxl:latest

Try it out, default admin user is admin/admin.

Grafana XXL with persistent storage (recommended)

# create /var/lib/grafana as persistent volume storage
docker run -d -v /var/lib/grafana --name grafana-xxl-storage busybox:latest

# start grafana-xxl
docker run \
  -d \
  -p 3000:3000 \
  --name grafana-xxl \
  --volumes-from grafana-xxl-storage \
  monitoringartist/grafana-xxl:latest

Running specific version of Grafana XXL

# specify right tag, e.g. 2.6,3.1,dev (latest nigthly build) - see Docker Hub for available tags
docker run \
  -d \
  -p 3000:3000 \
  --name grafana-xxl \
  monitoringartist/grafana-xxl:dev

Building Grafana XXL for ARM

You need ARM-version Grafana's deb (for example from here). Also you need ARM-version of gosu (from here)

# armhf
docker build \
  --tag grafana-xxl \
  --build-arg GRAFANA_DEB_URL=https://github.com/fg2it/grafana-on-raspberry/releases/download/v5.0.4/grafana_5.0.4_armhf.deb \
  --build-arg GOSU_BIN_URL=https://github.com/tianon/gosu/releases/download/1.10/gosu-armhf .

# arm64
docker build \
  --tag grafana-xxl \
  --build-arg GRAFANA_DEB_URL=https://github.com/fg2it/grafana-on-raspberry/releases/download/v5.0.4/grafana_5.0.4_arm64.deb \
  --build-arg GOSU_BIN_URL=https://github.com/tianon/gosu/releases/download/1.10/gosu-arm64 .

Configuring your Grafana container

All options defined in conf/grafana.ini can be overriden using environment variables by using the syntax GF__. For example:

docker run \
  -d \
  -p 3000:3000 \
  --name=grafana-xxl \
  -e "GF_SERVER_ROOT_URL=http://grafana.server.name" \
  -e "GF_SECURITY_ADMIN_PASSWORD=secret" \
  monitoringartist/grafana-xxl:latest

More information in the grafana configuration documentation: http://docs.grafana.org/installation/configuration/

Configuring AWS credentials for CloudWatch support (only Grafana 3.+)

docker run \
  -d \
  -p 3000:3000 \
  --name=grafana-xxl \
  -e "GF_AWS_PROFILES=default" \
  -e "GF_AWS_default_ACCESS_KEY_ID=YOUR_ACCESS_KEY" \
  -e "GF_AWS_default_SECRET_ACCESS_KEY=YOUR_SECRET_KEY" \
  -e "GF_AWS_default_REGION=eu-west-1" \
  monitoringartist/grafana-xxl:latest

You may also specify multiple profiles to GF_AWS_PROFILES (e.g. GF_AWS_PROFILES=default another).

Supported variables:

  • GF_AWS_PROFILES: list of AWS profiles for Cloudwatch datasource
  • GF_AWS_${profile}_ACCESS_KEY_ID: AWS access key ID (required).
  • GF_AWS_${profile}_SECRET_ACCESS_KEY: AWS secret access key (required).
  • GF_AWS_${profile}_REGION: AWS region (optional).

Auto upgrade plugins

Container tries to upgrade all installed plugins in the container automatically before Grafana start. If you want to disable this behaviour, please use environment variable -e UPGRADEALL=false.

Supported monitoring services

Integrations

Author

Devops Monitoring Expert, who loves monitoring systems and cutting/bleeding edge technologies: Docker, Kubernetes, ECS, AWS, Google GCP, Terraform, Lambda, Zabbix, Grafana, Elasticsearch, Kibana, Prometheus, Sysdig, ...

Summary:

Professional devops / monitoring / consulting services:

Monitoring Artist

grafana-xxl's People

Contributors

cobolbaby avatar jangaraj avatar jazzzz avatar jplewes avatar jsargiot avatar nkolosnjaji avatar petemyron avatar pozgo avatar rorybrowne avatar thetitanrain avatar viveklanjekar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grafana-xxl's Issues

zabbix plugin broken in later / latest version?

Using Image as it is coming up I can see this in the logs..
msg="Failed to init plugin." logger=plugins error="Incompatible API version with plugin. Plugin version: 2, Client versions: [1]" plugin=alexanderzobnin-zabbix-datasource

As a result it seems the zabbix plugin just errors out - cant even delete it from the UI.

Things break with move to 6.3.4

W: --force-yes is deprecated, use one of the options starting with --allow instead.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 302 0 302 0 0 936 0 --:--:-- --:--:-- --:--:-- 934
dpkg-deb: error: '/tmp/grafana.deb' is not a debian format archive
dpkg: error processing archive /tmp/grafana.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/tmp/grafana.deb
ERROR: Service 'grafana-xxl' failed to build: The command '/bin/sh -c apt-get update && apt-get -y --force-yes --no-install-recommends install libfontconfig curl ca-certificates git jq && curl -L ${GRAFANA_DEB_URL} > /tmp/grafana.deb && dpkg -i /tmp/grafana.deb && rm -f /tmp/grafana.deb && curl -L ${GOSU_BIN_URL} > /usr/sbin/gosu && chmod +x /usr/sbin/gosu && for plugin in $(curl -s https://grafana.net/api/plugins?orderBy=name | jq '.items[] | select(.internal=='false') | .slug' | tr -d '"'); do grafana-cli --pluginsDir "${GF_PLUGIN_DIR}" plugins install $plugin; done && sed -i 's#<title>Grafana</title>#<title>Grafana XXL</title>#g' /usr/share/grafana/public/views/index-template.html && sed -i 's#<title>Grafana - Error</title>#<title>Grafana XXL - Error</title>#g' /usr/share/grafana/public/views/error-template.html && sed -i 's#

#
XXL
#g' /usr/share/grafana/public/app/partials/login.html && chmod +x /run.sh && mkdir -p /usr/share/grafana/.aws/ && touch /usr/share/grafana/.aws/credentials && apt-get remove -y --allow-downgrades --allow-remove-essential --allow-change-held-packages curl git jq && apt-get autoremove -y --allow-downgrades --allow-remove-essential --allow-change-held-packages && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1

[ops request] Can you create a new branch for enterprise edition?

I'm ready to submit a pull request for Grafana Enterprise, but don't want to create it against master or 6.3 branches. If I make a pull request against master, does github give you the ability to merge to a new branch or do you have to branch first, then make the pull request?

Definitely needs its own branch, unless I add a check for the license key or something similar.

Thoughts?

Still old version

Hello,

I don't know what I'm doing wrong nut I still get version 6.7.1

Freshly installed system but no 7.2.2

Thanks

Grafana 8.0.2 - Missing plugins.

Some of the plugins are missing for 8.0+

@jangaraj I have a PR ready with 8.0.2 and I can send it through but want to check if I should remove those missing plugins or leave them in?

The build doesn't fail.

Could you update it to Grafana 4.1-beta1 for Elasticsearch 5.x support.

https://github.com/grafana/grafana/blob/master/CHANGELOG.md

Enhancements
Postgres: Add support for Certs for Postgres database #6655
Victorops: Add VictorOps notification integration #6411, thx @ichekrygin
Opsgenie: Add OpsGenie notification integratiion #6687, thx @kylemcc
Singlestat: New aggregation on singlestat panel #6740, thx @dirk-leroux
Cloudwatch: Make it possible to specify access and secret key on the data source config page #6697
Table: Added Hidden Column Style for Table Panel #5677, thx @bmundt
Graph: Shared crosshair option renamed to shared tooltip, shows tooltip on all graphs as you hover over one graph. #1578, #6274
Elasticsearch: Added support for Missing option (bucket) for terms aggregation #4244, thx @shanielh
Elasticsearch: Added support for Elasticsearch 5.x #5740, thx @lpic10
CLI: Make it possible to reset the admin password using the grafana-cli. #5479
Influxdb: Support multiple tags in InfluxDB annotations. #4550, thx @adrianlzt
LDAP: Basic Auth now supports LDAP username and password, #6940, thx @utkarshcmu
LDAP: Now works with Auth Proxy, role and organisation mapping & sync will regularly be performed. #6895, thx @seuf
Alerting: Adds OK as no data option. #6866
Alert list: Order alerts based on state. #6676
Alerting: Add api endpoint for pausing all alerts. #6589
Panel: Added help text for panels. #4079, thx @utkarshcmu

Bugfixes
API: HTTP API for deleting org returning incorrect message for a non-existing org #6679
Dashboard: Posting empty dashboard result in corrupted dashboard #5443
Logging: Fixed logging level confing issue #6978
Notifications: Remove html escaping the email subject. #6905
Influxdb: Fixes broken field dropdown when using template vars as measurement. #6473

ARM version in DockerHUB

Hi,

Could you create the image of your docker in the dockerhub for ARM version.

I would like to use it in a docker-compose, and without this, ils hard to do it, and stay up to date with your work .

Thant you in advance for your great job

Grafana 6.2.0 has problem with empty password for zabbix datasource

It looks like this - when using provisioning in Grafana 6.2.0, empty password for zabbix api user is being thrown as exception (unmarshal Json).
Tag of image used: 6.2
Bumping version of Grafana in Dockerfile to 6.2.5 resolves the issue.
Of course I can build my own image, but, if I may ask - are there any plans to release newer version of image?

    jsonData:
      addThresholds: true
      alerting: true
      alertingMinSeverity: "3"
      disableReadOnlyUsersAck: true
      username: "guest"
      password: ""
      keepCookies:
      tlsAuth: false
      tlsAuthWithCACert: false
      tlsSkipVerify: true
      trends: true
      trendsFrom: "31d"
      trendsRange: "8d"
      zabbixVersion: "4"

"Failed to parse /etc/grafana/grafana.ini"

I just updated my grafana-xxl docker image and now the image doesn't start anymore.

Error logs looks like this:

grafana_1 | Restart grafana after installing plugins . <service grafana-server restart>
grafana_1 | t=2017-08-22T17:45:09+0000 lvl=crit msg="Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: permission denied%!(EXTRA []interface {}=[])"

I haven't done any customizing (straight from docker hub) so I'm puzzled what could cause this. If I skip entrypoint and run run.sh inside the image, it loads normally upto to INFO[08-22|17:44:45] Initializing HTTP Server logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket=.

Any ideas?

Grafana-XXL and Zabbix plugin

Hello,

I have been using this container for a while now, and is awesome, but couple days ago, my container stop working, and when I re-created it, the Zabbix plugin is missing, any idea?

The way that I built the container is:

docker run -d -v /var/lib/grafana --name grafana-xxl-storage busybox:latest
docker run \
  -d \
  -p 3000:3000 \
  --name=monitoreo \
  -e "GF_SERVER_ROOT_URL=http://grafana.foobar.com" \
  -e "GF_SECURITY_ADMIN_PASSWORD=34812b37189" \
  monitoringartist/grafana-xxl

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.