diff options
author | Nicolargo <nicolas@nicolargo.com> | 2016-06-10 16:34:33 +0200 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2016-06-10 16:34:33 +0200 |
commit | f2a5df0070a11c50d0e22aebf119d92bb5644788 (patch) | |
tree | cd29a84dd8d2dbaa4fd7fdd83202b53197973db3 /conf | |
parent | 02e9aa7232fe61da9e8a3f303dfde63316a80450 (diff) |
Add comments to AMPs section in the configuration file
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 13 |
1 files 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 |