Hi everyone. Ive tried installing collectd graphs for rpi2 using the following steps:
Code:
sudo apt-get install rrdtool && sudo apt-get install collectd
wget http://raspi.ayadex.com/volatile/web_install.sh
sudo chmod +x web_install.sh
sudo ./web_install.sh "dump-tools"
cd ~/pi/dump-tools
sudo ./install.sh "crontab"
when
Code:
sudo ./web_install.sh "dump-tools"
is run, here is a snip of messages that I get:
Code:
5120 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
5129 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
5138 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
5147 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
===== Finished creating inital graphs! =====
First part of installation is finished. please check http://<rpi-ip>/collectd and see if you see any graphs.
If that is the case please run sudo ./install.sh "crontab" from the /home/pi/dump-tools diretory to enable automatic graph creation.
I've seen a lot of people posting this error, but have not been able to find a conclusive fix. What am I doing wrong?
Hello everybody,
at first, I'd like to thanks to all those good people who made it's working for dump1090, including collectd graphs as the same as the dump program - it's fantastic and superb!
In case of issue with "
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory"
, I solved it fortunately, replacing all "relative" paths, such as "
~/..." , by direct location, in all possible solution's scripts (*.sh files): a path "
~/dump-tools..." I replaced by
"/home/pi/dump-tools/". I had to do this in install.sh, and AFAIR into update.sh, (I am not sure if I had to do this into make-graph.sh) but changed it also into collected.conf.
Plese try also:
sudo hostname localhost
to set hostname to "localhost" while you're installing collectd scripts.
It solved all the troubles concerning "
No such file or directory" during generating charts, and I could ran collectd smoothly after that.
best regards
pp