Giter Club home page Giter Club logo

grafana-on-raspberry's People

Contributors

fg2it avatar georgehahn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grafana-on-raspberry's Issues

Blank page

Hi,
i just figured out that the latest version seems not work properly on my installation.
Only a blank/white page is displayed and the network logs says that the js scripts couldn't be loaded (404)
Is anyone facing this issue too?

Repository for Raspbian (Debian) Stretch

Thank you for your awesome work providing Grafana packages for the Raspberry Pi for easy installation.

Since Debian Stretch was released a few months ago and Raspbian also released their version based on Debian Stretch it would be awesome if the repository would be updated for Stretch.

Request for armel packages

Hi, i have Odroid XU4

Linux manager 4.14.29-125 #1 SMP PREEMPT Thu Mar 22 21:40:52 UTC 2018 armv7l armv7l armv7l GNU/Linux

Could you build an armel version of the package pls?

State it is for Raspberry 2 only.

I was following your procedure for Grafana v2.1.2 on Raspberry PI 1B+. After 7 hours installing one GO then another and finally compiling NodeJS for 4 hours I ran into a trouble in NodeJS.
make[1]: *** [/home/pi/node-v0.12.7/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 132
It is known problem in NodeJS on Raspberry PI 1 (due to ARMv6). Problem is that it took me 7+ hours to discover it.

I think it would be nice to state in your procedure that it is only for Raspberry 2.

Good job otherwise.
Michal

Make packages also available for Ubuntu Trusty/Xenial?

Hey,

after searching for a current Grafana on ARMHF platform in deb package format I found your page.
I use Ubuntu Xenial/Trusty at the moment instead of Debian.

Do you see a chance to also make the packages available for that? Or can I directly use e.g. the Jessie package?
I just found out that Xenial seems tobe based on Debian Stretch, so what about packages for Stretch ? :-)) ...

Ingo Fischer

No key for Rpi1 install

I follow the Wiki instructions to install on a RPI 1. I get the following error:

curl https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 717k 100 717k 0 0 177k 0 0:00:04 0:00:04 --:--:-- 177k gpg: no valid OpenPGP data found.

And of course apt says:

sudo apt-get update ... W: GPG error: https://dl.bintray.com jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379...

Introduce tag latest

Could you introduce the latest tag for your images on hub.docker.com? I would like to stay on the latest version without the need to change my docker-compose.yml for each new release.

Thanks!

InfluxDB Error: undefined

Hi, i have installed the system but i can't add the source correctly. My system is based on InfluxDB v1.0.2 and the latest grafana docker. The error says:

InfluxDB Error: undefined

It's really unuseful. My DB works, i can access it via GUI, from http://rasp.orbax:8083, but if i add the source with this URL: http://localhost:8086 it not work. Also from http://localhost:8083.

Missing line while zomming

Some of my dashboard panel, when i'm pass from 3h visualization to 1h disappears. If i try to move over the graph the data is actually present, only the visualization fail...

why different pacakge for v7 and v6 but not for v8?

Hi,
unfortunately it's takes me too long to figure out that mya brand new pi zerow has the old v6 cpu son i can't use the same package as on my pi3. is there any good reason why not use the same package on all pi as eg influx do his pacakge whic hcan be run on all raspberry pi. does it really has any advantage to build with different instruction set?

What about grafana v3.0?

Hello, i'm trying to compile v3.0. Can you help with this errors?

root@raspberrypi:/tmp/graf-build/src/github.com/grafana/grafana# npm install
\
> [email protected] install /tmp/graf-build/src/github.com/grafana/grafana/node_modules/phantomjs-prebuilt
> node install.js

Considering PhantomJS found at /usr/local/bin/phantomjs
Found PhantomJS at /usr/local/bin/phantomjs ...verifying
PhantomJS detected, but wrong version 2.0.0 @ /usr/local/bin/phantomjs.
Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
npm ERR! Linux 4.1.21-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.1
npm ERR! npm  v2.14.20
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls phantomjs-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/graf-build/src/github.com/grafana/grafana/npm-debug.log

root@raspberrypi:/tmp/graf-build/src/github.com/grafana/grafana# phantomjs --version
2.0.0

Another installation method

I wanted to let you know that we (@cloudalchemy) wrote an ansible role to install grafana on most platforms with various CPU architectures, not only x86_64. And somehow this role is currently one of recommended method of provisioning grafana according to official docs. It wouldn't be possible without you awesome work, so thanks a lot!

Just wanted to ask if you would add any info about this installation method somewhere in your docs?

Docker: Plugin installation did not happen in 3.1.1

hey,

I used the following to create the 3.1.1 docker process:

docker run -d -p 3000:3000 --name grafana3 -v grafana-storage3:/var/lib/grafana -e "GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-piechart-panel" fg2it/grafana-armhf:v3.1.1

The plugins were not installed automatically ...

I was able to use

docker exec grafana3 grafana-cli plugins install grafana-clock-panel
docker exec grafana3 grafana-cli plugins install grafana-piechart-panel

to install the plugins manually and now they are available ...

Will try now with v4.0.1 -> works there, so only 3.1.1 affected!

Error while installing for raspberry Pi 1 (B)

As instructed on https://github.com/fg2it/grafana-on-raspberry/wiki, I added

echo "https://dl.bintray.com/fg2it/deb-rpi-1b jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

However when running apt-get update, I get:

E: Type 'https://dl.bintray.com/fg2it/deb-rpi-1b' is not known on line 1 in source list /etc/apt/sources.list.d/grafana.list
E: The list of sources could not be read.

Upon closer inspected it seemed the correct command should be:

echo "deb https://dl.bintray.com/fg2it/deb-rpi-1b jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

(note the deb )

Now apt-get update does get somewhat further, it returns:

W: Failed to fetch https://dl.bintray.com/fg2it/deb-rpi-1b/dists/jessie/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Is there anything I should do?

Thanks for your effort of getting this to work on Raspberry Pi.

[Proposal] Docker ARM for Official

Hi @fg2it,

I like to do the following proposal regarding grafana and docker:

  • Use your knowledge to build deb for arm (PI1, PI2 and PI3) and arm64.
  • Use my knowledge to build docker images for these packages (aka grafana:linux-arm and grafana:linux-arm64) + grafana:linux-amd64 with support for manifest list, so that one doesn't need to explicit set the tag/architecture.
  • Merge all above into the official grafana docker project, so that there is only one place where all of this is maintained.

What do you think about it? :-)

armv7 build failure due to crossbuild-essential-armhf install

Building for armv7 fails when installing crossbuild-essential-armhf in docker

+ apt-get install -y crossbuild-essential-armhf
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 crossbuild-essential-armhf : Depends: gcc-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
                              Depends: g++-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

End of life notice confusing

I think the end of life notice is confusing/misleading where it says this repo is "no more needed". The link to the official "armv7 and arm64" packages does not include a docker image, so this repo seems to be somewhat useful and the last known way to easily get a working grafana on docker... on arm.

Missing Docker tag "latest" causes error

# docker pull fg2it/grafana-armhf
Using default tag: latest
Error response from daemon: manifest for fg2it/grafana-armhf:latest not found

The missing Docker tag "latest" causes the above errror message on my Raspbian system.
The official Grafana Docker image provides a "latest" tag and it is the default for Docker if you don't provide a specific tag name.
Could you please provide the "latest" tag like the official Grafana Docker image does?

Request for "latest" tag

If you could tag the newest non-beta docker image with "latest", I'd really appreciate it! It would make auto-updates much easier with tools like watchtower.

Not clear what to do

It is still not clear what I have to do to install grafana on my rpi2. Do I download the. Deb FILe and build it or do I have to do the whole procedure in the Readme file?

armhf docker container not starting on arm64 with volume

When I try to start the container I get the following error:

lvl=crit msg="Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: permission denied%!(EXTRA []interface {}=[])"

using fg2it/grafana-armhf:v5.0.3

[question] How to use custom UID / GID with grafana docker image

Hello @fg2it,

Currently, I have my own docker image available on docker hub, which is based upon yours. It adds some configurations to run the image under a custom uid and gid.

However looking at the official v5.1.0, this custom uid and gid should now be supported and my own docker image wouldn't be needed anymore.

I've tried your lastest version like this:

version: "3.6"

services:
  grafana:
    image: fg2it/grafana-armhf:v5.1.0
    ports:
      - "3000:3000"
    volumes:
#      - /mnt/swarm-volumes/grafana/data:/var/lib/grafana
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
#    user: "1000"
    environment:
      - GF_UID=1000
      - GF_GID=1000
    deploy:
      replicas: 1

Within the container:

root@c3cb3da395dd:/# id grafana
uid=472(grafana) gid=472(grafana) groups=472(grafana)

root@c3cb3da395dd:/# ls -al /var/lib/grafana/
total 404
drwxrwxrwx 1 grafana grafana   4096 Apr 29 11:33 .
drwxr-xr-x 1 root    root      4096 Apr 28 22:26 ..
-rw-r--r-- 1 grafana grafana 393216 Apr 29 11:33 grafana.db
drwxrwxrwx 2 grafana grafana   4096 Apr 28 22:26 plugins

root@c3cb3da395dd:/# echo $GF_UID $GF_GID
1000 1000

So from the info above you can see that GF_UID and GF_GID didn't change the uid and gid for user grafana.

I also tried this according to grafana docker install:

version: "3.6"

services:
  grafana:
    image: fg2it/grafana-armhf:v5.1.0
    ports:
      - "3000:3000"
    volumes:
#      - /mnt/swarm-volumes/grafana/data:/var/lib/grafana
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    user: "1000"
#    environment:
#     - GF_UID=1000
#      - GF_GID=1000
    deploy:
      replicas: 1

Within the container:

root@83b148de388f:/# id grafana
uid=472(grafana) gid=472(grafana) groups=472(grafana)

root@83b148de388f:/# ls -al /var/lib/grafana/
total 404
drwxrwxrwx 1 grafana grafana   4096 Apr 29 11:40 .
drwxr-xr-x 1 root    root      4096 Apr 28 22:26 ..
-rw-r--r-- 1    1000 root    393216 Apr 29 11:40 grafana.db
drwxrwxrwx 2 grafana grafana   4096 Apr 28 22:26 plugins

So from the info above you can see that user: 1000 didn't change the uid and gid for user grafana, but it did set user 1000 on the grafana.db. The plugins directory however remains assigned to grafana user and group.

I was expecting in one of the above try-outs that all files and dirs within /var/lib/grafana would belong to grafana:grafana, where the uid and gid both could be customly set, so that persistence would be possible with an "external" user.

While writing this, I just realise that it probably is an issue upon the official grafana ...

Can you help me out on this one or do I need to submit an issue at official grafana project?

Thanks in advance.
Raymond

A cry for help (or information source)

Hi! I just started playing with your docker image of grafana. It installs and runs alright. Now I need to make it available on my local network (and in the future also publicly?). Do you have any idea how I could proceed to make it happen? I know it is a super broad question, but I have no idea how to even start tackling it.

Any help would be much appreciated!

Please provide Grafana 3.1.1

Grafana 3.1.1 exists since August 1, 2016. Can you please provide Debian packages for this release, too.

Thanks a lot.

What is "PLUG IP" in rig-monitor.conf

Hello,

I have discovered this projet Yesterday and it sedicung me like nothing ! ^^
I just block on one thing for the moment,

In conf/rig-monitor.conf
RIG_LIST

I am not sure to understand what is the PLUG IP

Someone could tell me more about it ?
I know my rigs IP(s), is it the same IP ?

Thanks by advance ๐Ÿ˜ƒ

Wrong place, mb :)

update to 4.3.2

hi,
since upstream release 4.3.2 it'd be nice to update pi packages too.
regards.

grafana ignoring grafana.ini?

I've installed the docker image on my rpi3, then I made changes to etc/grafana.ini but when I start grafana it ignores the changes that I've made.
Is the ini placed somewhere else when it's a docker image?

And one more thing, after I've run "docker run -d --name=grafana -p 3000:3000 fg2it/grafana-armhf:4.2.0" I can't run the other commands like:
docker run \ -d \ -p 3000:3000 \ --name=grafana \ -e "GF_SERVER_ROOT_URL=http://grafana.server.name" \ -e "GF_SECURITY_ADMIN_PASSWORD=secret" \ fg2it/grafana-armhf:v4.1.2

That only gives me an error:
docker: Error response from daemon: Conflict. The container name "/grafana" is already in use by container aa4432cbe755560aeabc16e4cf2d1f799cec238b49306b14c2e22ed17a6f6940. You have to remove (or rename) that container to be able to reuse that name.. See 'docker run --help'.

I'm starting grafana by docker start grafana since the docker run command only works once since I already have a container named grafana after the first run

Thank you so much!

Not really an issue - but your docker packages helped me tremendously! Thanks :) If you are interested, I have some Dockerfiles for influxdb on ARM laying around.

Semicolon on grafana.ini

Hello, I tried to install Grafana on a Raspi 3 with a brand new flashed Raspian.
It was not working, so I checked the config file grafana.ini and all the entries had a semicolon ';' at the beginning of every line. I removed all of them and now Grafana is working perfectly.

Request for arm64 packages

Thanks very much for building these rpi packages.

I'm having the pine64, which is an arm64 architecture and also not provided with the regular repository.
I now installed your armhf package, but would be great if a arm64 package would be available as well.

Grafana on Pi Zero (W)

Hi,
I tried to to install Grafana on a Raspberry Pi Zero W. I figured if the armv6 Version works for the Pi 1 it should work for the Zero as well.

As I am completely new to the raspi party, I thought I'll keep it simple and install 4.0.1 from your example on the wiki page:

sudo apt-get install adduser libfontconfig curl -L https://dl.bintray.com/fg2it/deb-rpi-1b/main/g/:grafana_4.0.1-1480722218_armhf.deb -o /tmp/grafana_4.0.1-1480722218_armhf.deb sudo dpkg -i /tmp/grafana_4.0.1-1480722218_armhf.deb

Install seems fine, no errors and none when I try to start the service. However I cannot access the web-gui and HTOP show no process. So I tried to see the status and this showed up:

grafana-server.service - Grafana instance Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled) Active: failed (Result: start-limit) since Tue 2017-03-21 07:33:48 UTC; 1min 38s ago Docs: http://docs.grafana.org Process: 1370 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE} cfg:default.paths.logs=${LOG_DIR} cfg:default.paths.data=${DATA_DIR} cfg:default.paths.plugins=${PLUGINS_DIR} (code=killed, signal=ILL) Main PID: 1370 (code=killed, signal=ILL)

Any ideas?

Can this be installed in RPi Zero W?

I have RPi Zero W V1.1 (openhabian) but I can't run grafana after installation.

โ— grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sun 2018-05-06 23:18:18 +08; 2s ago
Docs: http://docs.grafana.org
Process: 3911 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid cfg:default.paths.logs=${LOG_DIR} cfg:default.paths.data=${DATA_DIR} cfg:default.paths.plugins=${PLUGINS_DIR} cfg:default.paths.provisioning=${PROVISIONING_CFG_DIR} (code=killed, signal=ILL)
Main PID: 3911 (code=killed, signal=ILL)

May 06 23:18:18 RadarCNSSO systemd[1]: grafana-server.service: Failed with result 'signal'.
May 06 23:18:18 RadarCNSSO systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart.
May 06 23:18:18 RadarCNSSO systemd[1]: Stopped Grafana instance.
May 06 23:18:18 RadarCNSSO systemd[1]: grafana-server.service: Start request repeated too quickly.
May 06 23:18:18 RadarCNSSO systemd[1]: Failed to start Grafana instance.
May 06 23:18:18 RadarCNSSO systemd[1]: grafana-server.service: Unit entered failed state.
May 06 23:18:18 RadarCNSSO systemd[1]: grafana-server.service: Failed with result 'signal'.

Make executable available

Is it possible you put the results in an Executables folder so it can be used without me setting up the re-compile myself? Yes, I'm that lazy.

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.