mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-26 10:42:29 +03:00
Update install documentation
This commit is contained in:
parent
283af00e7c
commit
73536bfa66
@ -41,6 +41,8 @@ Optional dependencies:
|
|||||||
- ``pysnmp`` (for SNMP support)
|
- ``pysnmp`` (for SNMP support)
|
||||||
- ``zeroconf`` and ``netifaces`` (for the auto discoverer mode)
|
- ``zeroconf`` and ``netifaces`` (for the auto discoverer mode)
|
||||||
- ``influxdb`` (for the InfluxDB export module)
|
- ``influxdb`` (for the InfluxDB export module)
|
||||||
|
- ``statsd`` (for the StatsD export module)
|
||||||
|
- ``pystache`` (for the action script feature)
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
@ -684,11 +684,11 @@ By action, we mean all shell command line. For example, if you want to execute t
|
|||||||
|
|
||||||
All the stats are usable in the command line by the use of the {{mustache}} syntax. Another example to create a log file containing used vs total disk space if a warning space trigger is reached:
|
All the stats are usable in the command line by the use of the {{mustache}} syntax. Another example to create a log file containing used vs total disk space if a warning space trigger is reached:
|
||||||
|
|
||||||
[fs]
|
[fs]
|
||||||
warning=70
|
warning=70
|
||||||
warning_action=echo {{mnt_point}} {{used}}/{{size}} > /tmp/fs.alert
|
warning_action=echo {{mnt_point}} {{used}}/{{size}} > /tmp/fs.alert
|
||||||
|
|
||||||
Note: You can use all the stats for the current plugin (see https://github.com/nicolargo/glances/wiki/The-Glances-2.x-API-How-to for the stats list)
|
*Note*: You can use all the stats for the current plugin (see https://github.com/nicolargo/glances/wiki/The-Glances-2.x-API-How-to for the stats list)
|
||||||
|
|
||||||
|
|
||||||
Gateway to others services
|
Gateway to others services
|
||||||
|
Loading…
Reference in New Issue
Block a user