Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
829174bb
G
glances
项目概览
蜕变的菜鸟
/
glances
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
glances
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
829174bb
编写于
2月 28, 2021
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove pystache by chevron (mustache implementation) #1817
上级
551bdbfe
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
6 deletion
+6
-6
README.rst
README.rst
+1
-1
appveyor.yml
appveyor.yml
+1
-1
conf/glances.conf
conf/glances.conf
+1
-1
docs/aoa/actions.rst
docs/aoa/actions.rst
+2
-2
setup.py
setup.py
+1
-1
未找到文件。
README.rst
浏览文件 @
829174bb
...
...
@@ -65,6 +65,7 @@ Optional dependencies:
- ``bernhard`` (for the Riemann export module)
- ``bottle`` (for Web server mode)
- ``cassandra-driver`` (for the Cassandra export module)
- ``chevron`` (for the action script feature)
- ``couchdb`` (for the CouchDB export module)
- ``docker`` (for the Docker monitoring support) [Linux/macOS-only]
- ``elasticsearch`` (for the Elastic Search export module)
...
...
@@ -82,7 +83,6 @@ Optional dependencies:
- ``pymdstat`` (for RAID support) [Linux-only]
- ``pySMART.smartx`` (for HDD Smart support) [Linux-only]
- ``pysnmp`` (for SNMP support)
- ``pystache`` (for the action script feature)
- ``pyzmq`` (for the ZeroMQ export module)
- ``requests`` (for the Ports, Cloud plugins and RESTful export module)
- ``scandir`` (for the Folders plugin) [Only for Python < 3.5]
...
...
appveyor.yml
浏览文件 @
829174bb
...
...
@@ -87,7 +87,7 @@ install:
-
"
powershell
.ci
\\
appveyor
\\
install.ps1"
# - ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py')
-
"
%WITH_COMPILER%
%PYTHON%/python.exe
-m
pip
--version"
-
"
%WITH_COMPILER%
%PYTHON%/python.exe
-m
pip
install
--upgrade
--user
psutil
bottle
requests
netifaces
pystache
py-cpuinfo
scandir"
-
"
%WITH_COMPILER%
%PYTHON%/python.exe
-m
pip
install
--upgrade
--user
psutil
bottle
requests
netifaces
chevron
py-cpuinfo
scandir"
-
"
%WITH_COMPILER%
%PYTHON%/python.exe
-m
pip
freeze"
-
"
%WITH_COMPILER%
%PYTHON%/python.exe
setup.py
install"
...
...
conf/glances.conf
浏览文件 @
829174bb
...
...
@@ -155,7 +155,7 @@ nf_conntrack_percent_warning=80
nf_conntrack_percent_critical
=
90
[
wifi
]
disable
=
Fals
e
disable
=
Tru
e
# Define the list of hidden wireless network interfaces (comma-separated regexp)
hide
=
lo
,
docker
.*
# Define SIGNAL thresholds in db (lower is better...)
...
...
docs/aoa/actions.rst
浏览文件 @
829174bb
...
...
@@ -16,7 +16,7 @@ then add the ``_action`` line to the Glances configuration file:
critical_action=python /path/to/foo.py
All the stats are available in the command line through the use of the
`{{mustache}}`_ syntax. `
Pystache
`_ is required to render the mustache's template syntax.
`{{mustache}}`_ syntax. `
Chevron
`_ is required to render the mustache's template syntax.
Another example would be to create a log file
containing used vs total disk space if a space trigger warning is
...
...
@@ -74,4 +74,4 @@ use with caution:
critical_action_repeat=/home/myhome/bin/bipper.sh
.. _{{mustache}}: https://mustache.github.io/
.. _
Pystache: https://github.com/defunkt/pystache
.. _
Chevron: https://github.com/noahmorrison/chevron
setup.py
浏览文件 @
829174bb
...
...
@@ -51,7 +51,7 @@ def get_install_requires():
def
get_install_extras_require
():
extras_require
=
{
'action'
:
[
'
pystache
'
],
'action'
:
[
'
chevron
'
],
# Zeroconf 0.19.1 is the latest one compatible with Python 2 (issue #1293)
'browser'
:
[
'zeroconf==0.19.1'
if
PY2
else
'zeroconf>=0.19.1'
],
'cloud'
:
[
'requests'
],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录