diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-05-01 21:00:47 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-05-01 21:00:47 +0200 |
commit | 1621832567ff096b7407626b27f52b6563de3c1c (patch) | |
tree | 5160218e438e7812a9832b7012e1678a66f51b88 /conf | |
parent | 9999f558df0289a1bffa244bba1d24f692cacc4c (diff) |
Almost finished. Just had to correct an issue on the WebUI displaying AMP with empty result
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 1726f8e4..9fa40ce3 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -1,3 +1,7 @@ +############################################################################## +# plugins +############################################################################## + [quicklook] # Define CPU, MEM and SWAP thresholds in % cpu_careful=50 @@ -156,31 +160,9 @@ mem_careful=50 mem_warning=70 mem_critical=90 -[monitor] -# Define the list of processes to monitor -# *** This section is optional *** -# The list is composed of items (list_#nb <= 10) -# An item is defined: -# * description: Description of the processes (max 16 chars) -# * regex: regular expression of the processes to monitor -# * command: (optional) full path to shell command/script for extended stat -# Use with caution. Should return a single line string. -# Only execute when at least one process is running -# By default display CPU and MEM % -# Limitation: Do not use in client / server mode -# * countmin: (optional) minimal number of processes -# A warning will be displayed if number of process < count -# * countmax: (optional) maximum number of processes -# A warning will be displayed if number of process > count -list_1_description=Dropbox -list_1_regex=.*dropbox.* -list_1_countmin=1 -list_1_command=dropbox status | head -1 -list_2_description=Python programs -list_2_regex=.*python.* -list_3_description=Famous Xeyes -list_3_regex=.*xeyes.* -list_3_countmin=1 +############################################################################## +# Client/server +############################################################################## [serverlist] # Define the static servers list @@ -204,6 +186,10 @@ list_3_countmin=1 #xps=abc #default=defaultpassword +############################################################################## +# Exports +############################################################################## + [influxdb] # Configuration for the --export-influxdb option # https://influxdb.com/ @@ -251,7 +237,7 @@ user=guest password=guest queue=glances_queue -###### +############################################################################## # AMPS # * enable: Enable (true) or disable (false) the AMP # * regex: Regular expression to filter the process(es) @@ -263,7 +249,7 @@ queue=glances_queue # * countmax: (optional) maximum number of processes # A warning will be displayed if number of process > count # * <foo>: Others variables can be defined and used in the AMP script -###### +############################################################################## [amp_dropbox] # Use the default AMP (no dedicated AMP Python script) |