I have installed the version 2.7.0 of the project and mistakenly removed the *.rdd files in the localhost/dump1090-local host folder. Is there a place i can download the rrd files only or a way to rebuild them when i try and build graphs it show missing files now. One other question if i change the port of the default server location to say port 100 instead of 80 would i have to change any config files to include that port other than the lightttp configs.
These are the data files.
Just do a reboot they are automatically generated. (you can also restart the collectd service)
As for port 80 changing to port 100 you will need to change the end of file
<Module dump1090> <Instance localhost> URL "http://localhost/dump1090" </Instance> </Module>
<Module dump1090> <Instance localhost> URL "http://localhost:100/dump1090" </Instance> </Module>
When you change lighttpd you need to restart that service here you need to restart collectd.
Is it possible to generate some performance graphs for dump978 similar to the dump1090 performance graphs?
dump978 does not output any statistics, so you would have to code that yourself
No it is not possible easily, would be quite some work.
You would also need to modify/add to the data collection and maybe adjust the graph generation.
OrangePI PC - Workaround for “Temperature Graph is Missing”
(1) The Problem:
pi@orangepipc:~$ sudo ~/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 24h [sudo] password for pi: 1949 (process ID) old priority 0, new priority 5 577x298 577x298 577x298 577x298 1107x284 577x298 577x298 577x298 577x298 577x298 ERROR: opening '/var/lib/collectd/rrd/localhost/table-localhost/gauge-cpu_temp.rrd': No such file or directory ERROR: opening '/var/lib/collectd/rrd/localhost/table-localhost/gauge-cpu_temp.rrd': No such file or directory ERROR: opening '/var/lib/collectd/rrd/localhost/interface-wlan0/if_octets.rrd': No such file or directory 577x298 1107x284 577x298 577x298 577x298 577x298 pi@orangepipc:~$
(2) The Workaround (Proposed by J Prochazka at Github)
1. Open file
collectd.conf for editing
sudo nano /etc/collectd/collectd.conf
2. At end of above file, add following code
# Orange Pi specific values. <Plugin table> <Table "/sys/devices/virtual/thermal/thermal_zone0/temp"> Instance localhost Separator " " <Result> Type gauge InstancePrefix "cpu_temp" ValuesFrom 0 </Result> </Table> </Plugin> <Plugin "disk"> Disk "mmcblk0" IgnoreSelected false </Plugin>
Save file (Ctrl+o) and close it (Ctrl+x)
4. Wait 5 minutes, then update graphs
sudo ~/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 24h 2994 (process ID) old priority 0, new priority 5 577x298 577x298 577x298 577x298 1107x284 577x298 577x298 577x298 577x298 577x298 577x298 577x298 ERROR: opening '/var/lib/collectd/rrd/localhost/interface-wlan0/if_octets.rrd': No such file or directory 577x298 1107x284 577x298 577x298 577x298 577x298 pi@orangepipc:~$
5. Clear browser cache (Ctrl+Shift+Delete) and Reloaded Browser (Ctrl+F5)
Works also for Odroid X4. Thanks
see my earlier post in this thread (#1834):
ABCD567 seems to have found my solution of adding to installed version. Better option is to update bash/portal/graphs.sh so it installs correctly. Given the demise of the CHIP SBC, just remove the option of “if, elseif” for RPI or CHIP. Modified the file today for a reinstall and it worked fine on my Orange Pi PC. A couple of other problems but I will explain in a separate post. Think I need to learn how to add to GitHub.
The current version of the script fails with
“dpkg: error: cannot access archive ‘dump1090-fa_3.7.1_*.deb’: No such file or directory”
File “~/adsb-receiver/bash/variables.sh” has been updated to include version 3.7.1 of Piaware and dump1090. Looks like there is no version 3.7.1 of dump-1090-fa on GitHub.
So change 3.7.1 to 3.6.3 in the code:
DUMP1090_FA_VERSION=“3.7.1” change to 3.6.3
PIAWARE_VERSION=“3.7.1” **script does not check for this so anything will do
Still need to modify ~/adsb-receiver/bash/feeders/piaware.sh to allow installation on Debian stretch (currently hard coded for jessie)
Also install failed for lack of “fakeroot” package - added to CheckPackage list in~/adsb-receiver/bash/decoders/dump1090-fa.sh
Sure there is: https://github.com/flightaware/dump1090/tree/v3.7.1
Thanks Oliver. Like I said, I need to investigate GitHub a bit more.
Figured out how to get that version using the install script. Also realised that I was not pulling the latest version of Piaware.
In ~/adsb-receiver/bash/decoders/dump1090-fa.sh, search for "git clone! and add “–branch v3.7.1” Note that is two dashes before the “branch”. You should end up with:
git clone --branch v3.7.1 https://github.com/flightaware/dump1090.git
Do the same for ~/adsb-receiver/bash/feeders/piaware.sh to get version 3.7.1