mirror of https://github.com/nicolargo/glances.git
Add comments to AMPs section in the configuration file
This commit is contained in:
parent
02e9aa7232
commit
f2a5df0070
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue