summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2016-10-23 21:16:17 +0200
committernicolargo <nicolas@nicolargo.com>2016-10-23 21:16:17 +0200
commit708bdc48eaebc73496ca800d23ebc27127f10085 (patch)
treeccc9024ad207f529213ee36b0c9eefac15f922f6 /conf
parentf77553c4588f964788b44a69ffd7fd0e08113d8f (diff)
Add default interface speed and automatic rate thresolds #718
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 57b048f5..990da6ec 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -96,11 +96,20 @@ careful=50
warning=70
critical=90
-#[network]
+[network]
+# Default bitrate thresholds in % of the network interface speed
+# Default values if not defined: 70/80/90
+rx_careful=70
+rx_warning=80
+rx_critical=90
+tx_careful=70
+tx_warning=80
+tx_critical=90
# Define the list of hidden network interfaces (comma-separated regexp)
#hide=docker.*,lo
# WLAN 0 alias
#wlan0_alias=Wireless IF
+# It is possible to overwrite the bitrate thresholds per interface
# WLAN 0 Default limits (in bits per second aka bps) for interface bitrate
#wlan0_rx_careful=4000000
#wlan0_rx_warning=5000000