Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Efficient ways to monitor bandwidth usage?
New on LowEndTalk? Please Register and read our Community Rules.

Efficient ways to monitor bandwidth usage?

comXyzcomXyz Member

Hi everyone,

I will need to use some dedicated servers with limited bandwidth allocated.
What are the efficient ways to monitor the bandwidth usage and stop the servers to avoid bandwidth overages?

Thanks.

Comments

  • ArkasArkas Member

    What control panel are you using?

  • comXyzcomXyz Member

    @Arkas said: What control panel are you using?

    I don't use any control panel. The server will run different microservices, most of the services are docker-based.

    I'm thinking of collecting the result from vnstat to a web service and then manually do necessary actions.

  • ArkasArkas Member

    there are many options for you to install monitoring services for bandwidth that alert you when you reach a certain limit, even stopping all services if necessary. The options are too many to list.

    for example check here:
    https://www.tecmint.com/linux-network-bandwidth-monitoring-tools/

    Thanked by 1comXyz
  • ralfralf Member

    I use hetrixtools. It monitors many things, and this is one of them.

    Thanked by 3comXyz AXYZE szymonp
  • HotmarerHotmarer Member

    vnstat + bash script to shutdown server when the limit has been reached

  • @Hotmarer said:
    vnstat + bash script to shutdown server when the limit has been reached

    Shutting down seems a bit much?

  • HotmarerHotmarer Member

    @stevewatson301 said:

    @Hotmarer said:
    vnstat + bash script to shutdown server when the limit has been reached

    Shutting down seems a bit much?

    It is better for him to stop the server himself than to have it removed by the service provider.

  • DPDP Member, Moderator, The Domain Guy

    @stevewatson301 said:

    @Hotmarer said:
    vnstat + bash script to shutdown server when the limit has been reached

    Shutting down seems a bit much?

    Yeah that's mean :smiley:

    Or maybe use something like Wonder Shaper.

  • ForhostingForhosting Member, Patron Provider
    edited June 19

    Librenms
    enable the traffic billing in the config and do a cron to the built-in API.
    And set the desired action in your cron once the limit has been reached.

    Thanked by 1Hotmarer
Sign In or Register to comment.