From f2a5df0070a11c50d0e22aebf119d92bb5644788 Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Fri, 10 Jun 2016 16:34:33 +0200 Subject: [PATCH] Add comments to AMPs section in the configuration file --- conf/glances.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/conf/glances.conf b/conf/glances.conf index 82780b84..4fb8b8c4 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -284,6 +284,8 @@ queue=glances_queue [amp_dropbox] # Use the default AMP (no dedicated AMP Python script) +# Check if the Dropbox daemon is running +# Every 3 seconds, display the 'dropbox status' command line enable=false regex=.*dropbox.* refresh=3 @@ -292,13 +294,16 @@ command=dropbox status countmin=1 [amp_python] -# Monitor all Python scripts +# Use the default AMP (no dedicated AMP Python script) +# Monitor all the Python scripts +# Alert if more than 20 Python scripts are running enable=false regex=.*python.* refresh=3 -countmax=2 +countmax=20 [amp_nginx] +# Use the NGinx AMP # Nginx status page should be enable (https://easyengine.io/tutorials/nginx/status-page/) enable=true regex=\/usr\/sbin\/nginx @@ -307,7 +312,7 @@ one_line=false status_url=http://localhost/nginx_status [amp_systemd] -# Systemd +# Use the Systemd AMP enable=true regex=\/usr\/lib\/systemd\/systemd refresh=30 @@ -315,7 +320,7 @@ one_line=true systemctl_cmd=/usr/bin/systemctl --plain [amp_systemv] -# Systemv +# Use the Systemv AMP enable=true regex=\/sbin\/init refresh=30 -- GitLab