提交 f2a5df00 编写于 作者: N Nicolargo

Add comments to AMPs section in the configuration file

上级 02e9aa72
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册