mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 20:21:35 +03:00
24 lines
354 B
ReStructuredText
24 lines
354 B
ReStructuredText
.. _mqtt:
|
|
|
|
MQTT
|
|
========
|
|
|
|
You can export statistics to an ``MQTT`` server. The
|
|
connection should be defined in the Glances configuration file as
|
|
following:
|
|
|
|
.. code-block:: ini
|
|
|
|
[mqtt]
|
|
host=localhost
|
|
port=883
|
|
user=glances
|
|
password=glances
|
|
topic=glances
|
|
|
|
and run Glances with:
|
|
|
|
.. code-block:: console
|
|
|
|
$ glances --export mqtt
|