diff options
Diffstat (limited to 'conf/glances.conf')
-rw-r--r-- | conf/glances.conf | 63 |
1 files changed, 47 insertions, 16 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 2be758d9..c486614f 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -1,4 +1,5 @@ [quicklook] +# Define CPU, MEM and SWAP thresholds in % cpu_careful=50 cpu_warning=70 cpu_critical=90 @@ -10,12 +11,13 @@ swap_warning=70 swap_critical=90 [cpu] +# Define CPU thresholds in % # Default values if not defined: 50/70/90 user_careful=50 user_warning=70 user_critical=90 #user_log=False -#user_critical_action=echo {{user}} {{value}} {{max}} > /tmp/cpu.alert +#user_critical_action=echo `date` - {{user}} > /tmp/cpu.alert iowait_careful=50 iowait_warning=70 iowait_critical=90 @@ -28,6 +30,7 @@ steal_critical=90 #steal_log=True [percpu] +# Define CPU thresholds in % # Default values if not defined: 50/70/90 user_careful=50 user_warning=70 @@ -40,6 +43,7 @@ system_warning=70 system_critical=90 [load] +# Define LOAD thresholds # Value * number of cores # Default values if not defined: 0.7/1.0/5.0 per number of cores # Source: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages @@ -50,22 +54,22 @@ critical=5.0 #log=False [mem] -# Default limits for free RAM memory in % +# Define RAM thresholds in % # Default values if not defined: 50/70/90 careful=50 warning=70 critical=90 [memswap] -# Default limits for free swap memory in % +# Define SWAP thresholds in % # Default values if not defined: 50/70/90 careful=50 warning=70 critical=90 #[network] -# Define the list of hidden network interfaces (comma separeted) -#hide=lo +# Define the list of hidden network interfaces (comma-separated regexp) +#hide=docker.*,lo # WLAN 0 alias #wlan0_alias=Wireless IF # WLAN 0 Default limits (in bits per second aka bps) for interface bitrate @@ -79,34 +83,53 @@ critical=90 #wlan0_tx_log=True #[diskio] -# Define the list of hidden disks (comma separeted) -#hide=sda2,sda5 +# Define the list of hidden disks (comma-separated regexp) +#hide=sda2,sda5,loop.* # Alias for sda1 #sda1_alias=IntDisk [fs] -# Default limits for free filesytem space in % +# Define the list of hidden file system (comma-separated regexp) +#hide=/boot.* +# Define filesystem space thresholds in % # Default values if not defined: 50/70/90 # It is also possible to define per mount point value # Example: /_careful=40 careful=50 warning=70 critical=90 -# Allow additionnals files types (comma-separated FS type) +# Allow additional file system types (comma-separated FS type) #allow=zfs +#[folders] +# Define a folder list to monitor +# The list is composed of items (list_#nb <= 10) +# An item is defined by: +# * path: absolute path +# * careful: optional careful threshold (in MB) +# * warning: optional warning threshold (in MB) +# * critical: optional critical threshold (in MB) +#folder_1_path=/tmp +#folder_1_careful=2500 +#folder_1_warning=3000 +#folder_1_critical=3500 +#folder_2_path=/home/nicolargo/Videos +#folder_2_warning=17000 +#folder_2_critical=20000 +#folder_3_path=/nonexisting + [sensors] -# Sensors core limits (in Celsius...) +# Sensors core thresholds (in Celsius...) # Default values if not defined: 60/70/80 temperature_core_careful=60 temperature_core_warning=70 temperature_core_critical=80 -# Temperatures in °C for hddtemp +# Temperatures threshold in °C for hddtemp # Default values if not defined: 45/52/60 temperature_hdd_careful=45 temperature_hdd_warning=52 temperature_hdd_critical=60 -# Battery % limits +# Battery threshold in % battery_careful=80 battery_warning=90 battery_critical=95 @@ -117,7 +140,7 @@ battery_critical=95 #core 1_alias=CPU Core 1 [processlist] -# Limit values for CPU/MEM per process in % +# Define CPU/MEM (per process) thresholds in % # Default values if not defined: 50/70/90 cpu_careful=50 cpu_warning=70 @@ -165,18 +188,18 @@ mem_critical=90 #server_4_name=pasbon #server_4_port=61237 -[passwords] +#[passwords] # Define the passwords list # Syntax: host=password # Where: host is the hostname # password is the clear password -# Additionnaly (and optionnaly) a default password could be defined +# Additionally (and optionally) a default password could be defined #xps=abc #default=defaultpassword [influxdb] # Configuration file for the --export-influxdb option -# https://influxdb.com/ +# https://influxdb.com/ host=localhost port=8086 user=root @@ -200,6 +223,14 @@ host=localhost port=8125 #prefix=glances +[elasticsearch] +# Configuration file for the --export-elasticsearch option +# Data are available via the ES Restful API. ex: URL/<index>/cpu/system +# https://www.elastic.co +host=localhost +port=9200 +index=glances + [rabbitmq] host=localhost port=5672 |