Difference between revisions of "PMSS:Bandwidth monitoring"

From Pulsed Media Wiki
Line 1: Line 1:
Bandwidth monitoring is automatically setup - '''no limits or shaping''', simple monitoring.
+
Bandwidth monitoring is automatically setup - '''no limits or shaping by default''', just monitoring.
Stats are collected in files and sent to management server every several minutes.
 
  
 
You can view user traffic usage with showTraffic in console. File is in path so works anywhere.
 
You can view user traffic usage with showTraffic in console. File is in path so works anywhere.
 
This displays bandwidth and traffic usage per user for the past week, this includes SFTP, FTP, SCP and Torrent traffic.
 
This displays bandwidth and traffic usage per user for the past week, this includes SFTP, FTP, SCP and Torrent traffic.
 +
 +
This uses kernel level tracking and conntrack module to do it, it monitors all packages sent by certain [[UID|Linux System User ID]] on all protocols. Only outgoing packages are tracked, and only network utilization metrics are being collected.
  
 
To view complete server usage vnstat has been installed, ie. vnstat -d will display per day statistics and vnstat -m will display per month statistics.
 
To view complete server usage vnstat has been installed, ie. vnstat -d will display per day statistics and vnstat -m will display per month statistics.

Revision as of 14:26, 20 August 2018

Bandwidth monitoring is automatically setup - no limits or shaping by default, just monitoring.

You can view user traffic usage with showTraffic in console. File is in path so works anywhere. This displays bandwidth and traffic usage per user for the past week, this includes SFTP, FTP, SCP and Torrent traffic.

This uses kernel level tracking and conntrack module to do it, it monitors all packages sent by certain Linux System User ID on all protocols. Only outgoing packages are tracked, and only network utilization metrics are being collected.

To view complete server usage vnstat has been installed, ie. vnstat -d will display per day statistics and vnstat -m will display per month statistics.