Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Network monitoring via Glance Dashboard

Network monitoring via Glance Dashboard

Scheduled Pinned Locked Moved Selfhosted
selfhosted
13 Posts 7 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • irmadlad@lemmy.worldI [email protected]

    That's one I haven't tried. I've probably tried most of the other dashboard offerings and decided to go with Homarr. I do like the monitoring aspect of Glance, tho I use NetData for that kind of monitoring. But yeah bro, looks great!

    M This user is from outside of this forum
    M This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #4

    Glance is cool I love the style and it is well implemented so you can easily add custom HTML and CSS which is what I did to do this custom monitoring.
    Data are gathered from iptables counters that periodically reset, the hardest and most interesting part was to understand networking and to track packet through applications based on if they were port binded or reverse proxyed (I use Caddy for web facing app I want access to without a VPN).
    I'll definitively check more advanced solution, I just needed to do it manually first to actually understand what I'm doing (which took me like 2 weeks until I finally found this gem on ArchLinux wiki https://www.frozentux.net/iptables-tutorial/iptables-tutorial.html)

    irmadlad@lemmy.worldI 1 Reply Last reply
    0
    • N [email protected]

      What's your thought of homepage?

      irmadlad@lemmy.worldI This user is from outside of this forum
      irmadlad@lemmy.worldI This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #5

      homepage

      I liked Homepage. Very customizable, very well presented package and the UI is nice. I know, if you are running the *arr stack, it does a lot of interfacing with those apps. Not exclusively the *arr stack as it can interface with ProxMox to show how many VMs you're running and load/CPU etc.

      1 Reply Last reply
      0
      • M [email protected]

        Glance is cool I love the style and it is well implemented so you can easily add custom HTML and CSS which is what I did to do this custom monitoring.
        Data are gathered from iptables counters that periodically reset, the hardest and most interesting part was to understand networking and to track packet through applications based on if they were port binded or reverse proxyed (I use Caddy for web facing app I want access to without a VPN).
        I'll definitively check more advanced solution, I just needed to do it manually first to actually understand what I'm doing (which took me like 2 weeks until I finally found this gem on ArchLinux wiki https://www.frozentux.net/iptables-tutorial/iptables-tutorial.html)

        irmadlad@lemmy.worldI This user is from outside of this forum
        irmadlad@lemmy.worldI This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #6

        Do you have persistent IPtables then?

        M 1 Reply Last reply
        0
        • N [email protected]

          What's your thought of homepage?

          F This user is from outside of this forum
          F This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #7

          Name is silly. How does go about finding the homepage for Homepage?

          N ironkrill@lemmy.caI 2 Replies Last reply
          0
          • F [email protected]

            Name is silly. How does go about finding the homepage for Homepage?

            N This user is from outside of this forum
            N This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #8

            I agree it's a bad name. Here is the link https://gethomepage.dev/

            1 Reply Last reply
            0
            • irmadlad@lemmy.worldI [email protected]

              Do you have persistent IPtables then?

              M This user is from outside of this forum
              M This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #9

              Yes the full recipe is:

              • 1 Flask API for sending custom HTML to Glance
              • 1 systemd unit + python script for the right graph (last 60 minutes, resetting counter and collecting data via nftables python module)
              • 1 systemd unit + python script for the left graph (last 24h, aggregate data from the last hour collevted by the first script
                And that's it, the systemd units are used to schedule python scripts and all the data are stored in flat csv file
                (forgot one bash script +systemd unit to to flush docker rules at boot and apply custom ones)
              1 Reply Last reply
              0
              • M [email protected]

                I spent some time learning and configuring my firewall, then displayed it in form of SVG graph on Glance.
                I'm pretty happy about the result so I wanted to share it 🙂

                sunny@slrpnk.netS This user is from outside of this forum
                sunny@slrpnk.netS This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #10

                Just been at it myself setting up my config for glance with custom css theme. Would love to compare notes, how did you get those network graphs going?

                M 1 Reply Last reply
                0
                • sunny@slrpnk.netS [email protected]

                  Just been at it myself setting up my config for glance with custom css theme. Would love to compare notes, how did you get those network graphs going?

                  M This user is from outside of this forum
                  M This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #11

                  It is using Glance extension module (you can send custom HTML by setting up a local web api like Flask)
                  The graph are HTML SVG tags which are basic drawing you just have to input the x,y coordinates of your graph (I copied Glance market chart)
                  For networking data collection and monitoring I've setup my own rules and scripts but it is doable with others network monitoring tools if they let you access data easily

                  1 Reply Last reply
                  0
                  • F [email protected]

                    Name is silly. How does go about finding the homepage for Homepage?

                    ironkrill@lemmy.caI This user is from outside of this forum
                    ironkrill@lemmy.caI This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #12

                    It's pretty bad. That said, I search for "gethomepage" and find it every time.

                    1 Reply Last reply
                    0
                    • M [email protected]

                      I spent some time learning and configuring my firewall, then displayed it in form of SVG graph on Glance.
                      I'm pretty happy about the result so I wanted to share it 🙂

                      G This user is from outside of this forum
                      G This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #13

                      glance is great, and this is an awesome custom addon

                      1 Reply Last reply
                      0
                      • System shared this topic on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups