Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
Successfully installed ciso8601-2.3.0 influxdb-client-1.37.0 reactivex-4.0.4 typing-extensions-4.8.0
</pre>
 
The next consists of creating a configuration file suitable for our setup.
<pre class="board-terminal">
(venv) armbian@sbcspg:~/.config/glances$ cp -v ~/devel/glances/venv/share/doc/glances/glances.conf .
'/home/armbian/devel/glances/venv/share/doc/glances/glances.conf' -> './glances.conf'
</pre>
In particulate, make sure the the <code>influxdb2</code> section is edited properly:
<pre class="board-terminal">
...
[influxdb2]
# Configuration for the --export influxdb2 option
# Note: hostname is always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
...
</pre>
Once the configuration file is in place, Glances can be started in quiet mode as follows:
<pre class="board-terminal">
(venv) armbian@sbcspg:~/.config/glances$ glances -q --export influxdb2
</pre>
If everything works as expected, collected data are displayed live in the Grafana's dashboard:
[[File:Sbcspg-glances-grafana-1.png|center|thumb|600px|Grafana dashboard showing collected data]]
4,650
edits