Is there a way to get a report for historic network activity? Right now, I’ve installed sysstat and learning to use that. My search engine searching has got some results, but when I read about some programs that monitor activity, I’m not sure if I am overlooking something or if they don’t offer it or if I have combed the doc files enough so figured I’d ask here.

I’m teaching myself how to run my own server. Starting with storage needs and then seeing how it goes from there. I’m hoping to find a way to get a report of past traffic/activity specifically.

Running Debian 12.

  • ShadowA
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Past data, no. It’s not actively logged anywhere.

  • ik5pvx@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    There are many options, but you have to search for network graphs …

    Here are some names that come off the top of my head:

    MRTG - a classic, serves as basis for many other tools. Can monitor anything that has SNMP and if you do some scripting also things without SNMP.

    Cacti - a bit more evolute than the above, but same concept.

    LibreNMS - this one uses a database for storing data. Can monitor network elements as well as servers. Nice graphs. There’s no .deb but it’s easy to install.

    Prometheus - this can monitor a lot of things, you will need a graphing front end to get the most of it.

    Grafana - coupled with Prometheus or any other modern data collection tool it’s a very powerful graphing and reporting tool. A bit daunting maybe, it requires some learning.

    There are many others, some generic, some specialized. Pick one and try it, if you don’t like the results there’s plenty of choices. A VM will help with not cluttering your server.

  • Zoidberg@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    For a simple way to do what you want, you can use vnstat. It can give you totals per interface, hour, day, week, month, etc.

    Of course it can only show figures captured after it was installed.