mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-05 11:31:31 +00:00
🚑 Adds add-on configuration to InfluxDB export
This commit is contained in:
parent
836fa1fbdf
commit
c6b5d36c53
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@ options+=(-C /etc/glances.conf)
|
||||||
options+=(--export influxdb)
|
options+=(--export influxdb)
|
||||||
options+=(--quiet)
|
options+=(--quiet)
|
||||||
|
|
||||||
|
options+=(--time "$(bashio::config 'refresh_time')")
|
||||||
|
|
||||||
|
if bashio::config.false 'process_info'; then
|
||||||
|
options+=(--disable-process)
|
||||||
|
fi
|
||||||
|
|
||||||
if bashio::debug; then
|
if bashio::debug; then
|
||||||
options+=(--debug)
|
options+=(--debug)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue