Announcement

Collapse
No announcement yet.

Automated Installation of Dump1090-Mutability, Data Feeders, and Performance Graphs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The dump1090-fa is a bit more advance than mutability ver 1.15, is regularly maintained & updated, and has a prettier map and aircraft table layout.

    The main issue with dump1090-fa to be officially used by other tracking site is that it is not "Generic" like mutablity, as its map carries logo of a competetor "Flightaware", even though its source code has been made open source by Flightaware.
    Last edited by abcd567; 2019-06-12, 19:27.

    Comment


    • Yeah it would be nice if that branding was optional.

      On the other hand they are paying for the code to be maintained.
      If you know it doesn't change who you are feeding, it really doesn't matter.

      That bar at the top is a little annoying though and for my personal use i normally change it.

      Comment


      • Just a thought: FR24 can fork dump1090 from Flightaware github, and simply remove the logo if it is offending for them. Then they can compile it and use with their feeder.

        Or may be I can do above forking, remove Flightaware logo, and name the fork "dump1090-generic" ... just kidding, dont want to get involved into this

        Comment


        • Are the graphs configurable in any way?

          I moved my feeder Pi up to that attic a few hours ago.

          Disc Bandwidth 19-06-16 at 4.24.14 PM.png

          I know I am feeding because I have checked my stats but, my bandwidth is only showing for eth and I'm now connected via WiFi, not Ethernet.

          Disk usage is showing but disk I/O has no data.

          I've rebooted a couple of times too.

          Comment


          • disk usage not working is caused by the current collectd version.

            you can install a new version like this:

            Code:
            wget -O /tmp/collectd.deb http://raspbian.raspberrypi.org/raspbian/pool/main/c/collectd/collectd-core_5.8.1-1.3_armhf.deb
            sudo dpkg -i /tmp/collectd.deb
            As for including WiFi in the ethernet graph, i would suggest my version of the graphs.
            https://github.com/wiedehopf/graphs1090#graphs1090

            It will overwrite the adsb receiver version of graphs and you'll have to use another URL to access the graphs.
            Also you would want to remove the old automatic graph generation (sudo rm /etc/cron.d/adsb-receiver-performance-graphs)

            You can also of course look at how i included the WiFi bandwidth in the graph and modify the adsb receiver shell script.

            Comment


            • Odd. I thought I had done that before at the prompting of abcde....but now I'm not sure.

              This is the output I received:

              $ wget -O /tmp/collectd.deb http://raspbian.raspberrypi.org/rasp...-1.3_armhf.deb
              --2019-06-16 17:10:10-- http://raspbian.raspberrypi.org/rasp...-1.3_armhf.deb
              Resolving raspbian.raspberrypi.org (raspbian.raspberrypi.org)... 93.93.128.193, 2a00:1098:0:80:1000:75:0:3
              Connecting to raspbian.raspberrypi.org (raspbian.raspberrypi.org)|93.93.128.193|:80... connected.
              HTTP request sent, awaiting response... 302 Found
              Location: http://mirrors.gigenet.com/raspbian/...-1.3_armhf.deb [following]
              --2019-06-16 17:10:10-- http://mirrors.gigenet.com/raspbian/...-1.3_armhf.deb
              Resolving mirrors.gigenet.com (mirrors.gigenet.com)... 69.65.16.171, 2001:1850:f000:f000:f000:f000::
              Connecting to mirrors.gigenet.com (mirrors.gigenet.com)|69.65.16.171|:80... connected.
              HTTP request sent, awaiting response... 200 OK
              Length: 1040512 (1016K) [application/octet-stream]
              Saving to: '/tmp/collectd.deb'

              /tmp/collectd.deb 100%[===================>] 1016K 1.32MB/s in 0.8s

              2019-06-16 17:10:11 (1.32 MB/s) - '/tmp/collectd.deb' saved [1040512/1040512]

              pi@PiAware24:~ $ sudo dpkg -i /tmp/collectd.deb
              (Reading database ... 57466 files and directories currently installed.)
              Preparing to unpack /tmp/collectd.deb ...
              Unpacking collectd-core (5.8.1-1.3) over (5.7.1-1.1) ...
              Setting up collectd-core (5.8.1-1.3) ...
              Processing triggers for systemd (232-25+deb9u11) ...
              Processing triggers for man-db (2.7.6.1-2) ...
              pi@PiAware24:~ $

              What URL would I use now to pull the graphs?

              Do I need to reboot?

              Thanks for all the help you have been.

              Comment


              • What did you already do?

                Anyway installing my graphs is explained on the github page i linked.

                It's a different version of graphs, i based them on the adsb receiver graphs but made several improvements and no fancy web portal is necessary.

                Comment


                • Originally posted by wiedehopf View Post
                  What did you already do?

                  Anyway installing my graphs is explained on the github page i linked.

                  It's a different version of graphs, i based them on the adsb receiver graphs but made several improvements and no fancy web portal is necessary.
                  I thought I had already run the install routine you provided and actually looked at your updated graphs. Then, somehow I was back to looking at the performance graphs I had posted photos of.

                  I'm pretty sure the web portal still links to the older graphs even though I have installed your newer ones but, at this point I have done a number of things to my original install I can't be certain.

                  In any event, I have your updated graphs working now.

                  Comment


                  • Yeah the web portal is for adsb-receiver.

                    Those graphs are still generated from the data collected even when you run the install script for my graphs.
                    My graphs are not available via the web portal. Instead they have those URLs: http://pi/perf OR http://pi/graphs1090


                    You might want to consider running these commands as well to change the database format over.
                    It will take around 8 minutes, don't interrupt it.
                    (the screen command makes it safe against network interruptions though, just wait 10 minutes and it'll be finished.)

                    Code:
                    sudo apt update
                    sudo apt install -y screen
                    sudo screen bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/new-format.sh)"

                    Comment


                    • Originally posted by wiedehopf View Post
                      Yeah the web portal is for adsb-receiver.

                      Those graphs are still generated from the data collected even when you run the install script for my graphs.
                      My graphs are not available via the web portal. Instead they have those URLs: http://pi/perf OR http://pi/graphs1090


                      You might want to consider running these commands as well to change the database format over.
                      It will take around 8 minutes, don't interrupt it.
                      (the screen command makes it safe against network interruptions though, just wait 10 minutes and it'll be finished.)

                      Code:
                      sudo apt update
                      sudo apt install -y screen
                      sudo screen bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/new-format.sh)"
                      I'm wondering if it wouldn't be prudent to begin from the beginning again.

                      Running the commands above beginning with "sudo apt update" generated the following results:

                      $ sudo apt update
                      Hit:1 http://repo.feed.flightradar24.com flightradar24 InRelease
                      Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
                      Get:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
                      Hit:4 https://apt.rb24.com rpi-stable InRelease
                      Fetched 15.0 kB in 1s (7,574 B/s)
                      Reading package lists... Error!
                      E: Problem parsing dependency 2
                      E: Error occurred while processing gir1.2-gtk-3.0 (NewVersion2)
                      E: Problem with MergeList /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_stretch_ui_bi nary-armhf_Packages
                      E: The package lists or status file could not be parsed or opened.
                      pi@PiAware24:~ $ sudo apt install -y screen
                      Reading package lists... Error!
                      E: Problem parsing dependency 2
                      E: Error occurred while processing gir1.2-gtk-3.0 (NewVersion2)
                      E: Problem with MergeList /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_stretch_ui_bi nary-armhf_Packages
                      E: The package lists or status file could not be parsed or opened.
                      pi@PiAware24:~

                      I'm not "Linux" smart enough to know why these commands failed or how to fix it.

                      Thanks for your help and patience!

                      Comment


                      • Some googling the error suggests this:

                        Code:
                        sudo rm /var/lib/apt/lists/* -vf
                        sudo apt-get clean
                        sudo apt-get update
                        sudo apt-get dist-upgrade

                        Comment


                        • Originally posted by wiedehopf View Post
                          disk usage not working is caused by the current collectd version.

                          you can install a new version like this:

                          Code:
                          wget -O /tmp/collectd.deb http://raspbian.raspberrypi.org/raspbian/pool/main/c/collectd/collectd-core_5.8.1-1.3_armhf.deb
                          sudo dpkg -i /tmp/collectd.deb
                          This worked for me and has fixed disk graphs that had been missing for some time, thank you!
                          T-EIKY1 | T-EICK1

                          Comment


                          • Hi mgunther!
                            Nice to see you after a long gap.
                            If I remember correctly, you were the key contributer to "Adsb-receiver Project" during the stage J Prochazka was developing it.

                            Comment


                            • Originally posted by abcd567 View Post
                              Hi mgunther!
                              Nice to see you after a long gap.
                              If I remember correctly, you were the key contributer to "Adsb-receiver Project" during the stage J Prochazka was developing it.
                              Yes I worked on it for a while in the past but not for some time now. I just noticed the disk graphs had disappeared on one of my existing installations and a new one that I'm preparing to set up at my mom's place soon. Took me a good while to figure out what was going on and I had to re-learn how the whole graphing system works
                              T-EIKY1 | T-EICK1

                              Comment


                              • Originally posted by mgunther View Post
                                Yes I worked on it for a while in the past but not for some time now.
                                Wiedehop has recently written a script which installs graphs only (no web portal). Give a look here:

                                https://github.com/wiedehopf/graphs1090#graphs1090

                                .

                                Comment

                                Working...
                                X