grafana influxdb nodered

Post Reply
DylanM
Maker in Training
Posts: 65
Joined: Sun Jun 22, 2014 8:39 pm
Location: Gelorup

grafana influxdb nodered

Post by DylanM » Mon Aug 22, 2016 8:59 pm

Hi, I have installed nodered and have that working same with influx and I can also access both the web interfaces but I cannot access grafana. The config is all the defaults. Is there something specific I should be changing?
I know everything about nothing.

User avatar
seaton
Master Maker
Posts: 222
Joined: Tue Jun 24, 2014 11:41 am
Location: Bunbury, WA
Contact:

Re: grafana influxdb nodered

Post by seaton » Tue Aug 23, 2016 8:49 am

Hi Dylan,

You need to make sure grafana-server service is up and running

Code: Select all

sudo service grafana-server start


to autostart on reboot:

Code: Select all

sudo chkconfig grafana-server on


then access grafana via http://xxx.xxx.xxx.xxx:3000/

DylanM
Maker in Training
Posts: 65
Joined: Sun Jun 22, 2014 8:39 pm
Location: Gelorup

Re: grafana influxdb nodered

Post by DylanM » Tue Aug 23, 2016 10:47 pm

Hi I have done this still can't connect. I used the repo from pithings.wordpress.com and a build from someones blog both times it has not worked.
I know everything about nothing.

User avatar
seaton
Master Maker
Posts: 222
Joined: Tue Jun 24, 2014 11:41 am
Location: Bunbury, WA
Contact:

Re: grafana influxdb nodered

Post by seaton » Wed Aug 24, 2016 2:05 pm

Hmm looks like you will need to troubleshoot by looking through your logs and try and track down whats happening.

Is grafana-server running ?

have a look at your processes via top or ps i.e.

Code: Select all

ps -ax | grep grafana

DylanM
Maker in Training
Posts: 65
Joined: Sun Jun 22, 2014 8:39 pm
Location: Gelorup

Re: grafana influxdb nodered

Post by DylanM » Wed Aug 24, 2016 9:18 pm

Hi I checked my processes with top. neither grafana or influx are running even after starting them. I have also tried upgrading them and this has not changed.
I know everything about nothing.

User avatar
seaton
Master Maker
Posts: 222
Joined: Tue Jun 24, 2014 11:41 am
Location: Bunbury, WA
Contact:

Re: grafana influxdb nodered

Post by seaton » Thu Aug 25, 2016 2:45 pm

you will need to start looking through log files in /var/log/ and see what things are saying.

try manually starting influxdb


Code: Select all

sudo service influxdb restart

DylanM
Maker in Training
Posts: 65
Joined: Sun Jun 22, 2014 8:39 pm
Location: Gelorup

Re: grafana influxdb nodered

Post by DylanM » Thu Aug 25, 2016 6:32 pm

Could grafana not be working because I don't have an rpi 2 but instead an a. All the builds of grafana I have seen have been for rpi2 b
I know everything about nothing.

DylanM
Maker in Training
Posts: 65
Joined: Sun Jun 22, 2014 8:39 pm
Location: Gelorup

Re: grafana influxdb nodered

Post by DylanM » Thu Aug 25, 2016 10:56 pm

InfluxDB is fixed I downloaded a .deb from the influx website and I have found a grafana image for rpi1 as the difference in arm processors seems to be the issue for some others.
I know everything about nothing.

User avatar
seaton
Master Maker
Posts: 222
Joined: Tue Jun 24, 2014 11:41 am
Location: Bunbury, WA
Contact:

Re: grafana influxdb nodered

Post by seaton » Sun Sep 11, 2016 5:38 pm

DylanM wrote:InfluxDB is fixed I downloaded a .deb from the influx website and I have found a grafana image for rpi1 as the difference in arm processors seems to be the issue for some others.


excellent well done.

As I mentioned to you at meeting, I now run influxdb and grafana on my mac mini as I don't think running a DB on a pi would be good for the SD card.

parkview
Guru Maker
Posts: 603
Joined: Tue Jun 24, 2014 8:25 pm
Location: Busselton
Contact:

Re: grafana influxdb nodered

Post by parkview » Sun Sep 11, 2016 9:19 pm

if you do need/want to run something with a bit of storage I/O, or low power storage, you can pick up a cheap SanDisk (or other brand) USB flash drive. I recently picked up a low profile 64GB flash drive for $18 from dx.com. If it's over 16GB, I would recommend reformatting it to EXT4. VFAT32 formatting will only allow around 16K files to be stored in one folder.

It's also much faster to access than the SD card. I initially had my timelapse photography rig storing images to a large SD card. Every now and then it would frustratingly freeze for 5-10 seconds!! I have had no issues with USB flash drives.

Post Reply