summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glances/amps_list.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/glances/amps_list.py b/glances/amps_list.py
index 49e9e159..eab3b0d6 100644
--- a/glances/amps_list.py
+++ b/glances/amps_list.py
@@ -56,6 +56,10 @@ class AmpsList(object):
if self.config is None:
return False
+ # Display a warning (deprecated) message if the monitor section exist
+ if "monitor" in self.config.sections():
+ logger.warning("A deprecated [monitor] section exists in the Glances configuration file. You should use the new Applications Monitoring Process module instead (http://glances.readthedocs.io/en/develop/aoa/amps.html).")
+
header = "glances_"
# For each AMP scrip, call the load_config method
for s in self.config.sections():