🎉 Release of add-on Glances 0.18.0

This commit is contained in:
Community Hass.io Add-ons Bot 2023-03-14 11:23:35 +00:00
parent 4a04bfc9fc
commit c6e63cdbcd
5 changed files with 137 additions and 87 deletions

View file

@ -782,10 +782,10 @@ SOFTWARE.
[foldingathome-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [foldingathome-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[foldingathome-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [foldingathome-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg
[foldingathome-i386-shield]: https://img.shields.io/badge/i386-no-red.svg [foldingathome-i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[addon-glances]: https://github.com/hassio-addons/addon-glances/tree/v0.17.2 [addon-glances]: https://github.com/hassio-addons/addon-glances/tree/v0.18.0
[addon-doc-glances]: https://github.com/hassio-addons/addon-glances/blob/v0.17.2/README.md [addon-doc-glances]: https://github.com/hassio-addons/addon-glances/blob/v0.18.0/README.md
[glances-issue]: https://github.com/hassio-addons/addon-glances/issues [glances-issue]: https://github.com/hassio-addons/addon-glances/issues
[glances-version-shield]: https://img.shields.io/badge/version-v0.17.2-blue.svg [glances-version-shield]: https://img.shields.io/badge/version-v0.18.0-blue.svg
[glances-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [glances-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[glances-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [glances-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[glances-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [glances-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg

View file

@ -1,12 +1,17 @@
## Whats changed ## Whats changed
## 🐛 Bug fixes ## ✨ New features
- Add py3-packaging dependency @tjorim (#303) - ✨Add support for InfluxDB2 @kamontat ([#311](https://github.com/hassio-addons/addon-glances/pull/311))
- Add py3-six dependency @tjorim (#307)
## 🧰 Maintenance
- 🎆 Updates maintenance/license year to 2023 @frenck ([#323](https://github.com/hassio-addons/addon-glances/pull/323))
## ⬆️ Dependency updates ## ⬆️ Dependency updates
- ⬆️ Upgrades python3 to 3.10.9-r0 @tjorim (#304) - ⬆️ Bump requests to 2.28.2 @dependabot ([#314](https://github.com/hassio-addons/addon-glances/pull/314))
- ⬆️ Upgrades add-on base image to 13.0.0 @frenck (#306) - ⬆️ Bump glances to 3.3.1.1 @dependabot ([#316](https://github.com/hassio-addons/addon-glances/pull/316))
- 🧹 Remove obsolete requirements @tjorim (#305) - ⬆️ Upgrades add-on base image to 13.1.3 @frenck ([#324](https://github.com/hassio-addons/addon-glances/pull/324))
- ⬆️ Bump zeroconf to 0.47.3 @dependabot ([#320](https://github.com/hassio-addons/addon-glances/pull/320))
- ⬆️ Bump bottle to 0.12.25 @dependabot ([#322](https://github.com/hassio-addons/addon-glances/pull/322))

View file

@ -39,12 +39,20 @@ influxdb:
enabled: false enabled: false
host: a0d7b954-influxdb host: a0d7b954-influxdb
port: 8086 port: 8086
interval: 60
ssl: false
prefix: localhost
version: 1 # Either 1 or 2
# Version 1
username: glances username: glances
password: "!secret glances_influxdb_password" password: "!secret glances_influxdb_password"
database: glances database: glances
prefix: localhost
interval: 60 # Version 2
ssl: false token: "!secret glances_influxdb2_token"
bucket: glances
org: myorg
``` ```
**Note**: _This is just an example, don't copy and paste it! Create your own!_ **Note**: _This is just an example, don't copy and paste it! Create your own!_
@ -119,28 +127,6 @@ use `a0d7b954-influxdb` as the hostname._
The port on which InfluxDB is listening. The port on which InfluxDB is listening.
#### Option `influxdb`: `username`
The username that you have created for Glances to authenticate against
InfluxDB.
#### Option `influxdb`: `password`
The password for the above username option.
#### Option `influxdb`: `database`
The name of the database to store all Glances information into.
**Note**: _It is strongly recommended to create a separate database for glances
and not store this in the same database name as Home Assistant._
#### Option `prefix`: `localhost`
The hostname to append for exported data.
**Note**: _For the Grafana Glances dashboard set this to `localhost`._
#### Option `influxdb`: `interval` #### Option `influxdb`: `interval`
Defines the interval (in seconds) on how often Glances exports data to InfluxDB. Defines the interval (in seconds) on how often Glances exports data to InfluxDB.
@ -151,6 +137,60 @@ Adding this option will allow SSL to be used on the InfluxDB connection. If not
set will default to `false` which is the required setting for the Community set will default to `false` which is the required setting for the Community
InfluxDB add-on. InfluxDB add-on.
#### Option `influxdb`: `prefix`
The hostname to append for exported data.
**Note**: _For the Grafana Glances dashboard set this to `localhost`._
#### Option `influxdb`: `version`
The influxdb version to connecting. Either **1** or **2**.
#### Option `influxdb`: `username`
> Applied to version 1 only
The username that you have created for Glances to authenticate against
InfluxDB.
#### Option `influxdb`: `password`
> Applied to version 1 only
The password for the above username option.
#### Option `influxdb`: `database`
> Applied to version 1 only
The name of the database to store all Glances information into.
**Note**: _It is strongly recommended to create a separate database for glances
and not store this in the same database name as Home Assistant._
#### Option `influxdb`: `token`
> Applied to version 2 only
An InfluxDB token with permissions to write to the given bucket. This should
look like `t9iHPiGQyg0ds4K1IlBrCyBsNGh71dkdR6u8Y9eeR37UzfGuFukFCdbMI4YA9EtKb4zr5coFXKw67tbBEP7CPw==`
#### Option `influxdb`: `bucket`
> Applied to version 1 only
The name of the bucket to store all Glances information into.
**Note**: _It is strongly recommended to create a separate bucket for glances
and not store this in the same bucket as Home Assistant._
#### Option `influxdb`: `organization`
> Applied to version 1 only
The InfluxDB organization that owns the given bucket.
## Adding Glances as a sensor into Home Assistant ## Adding Glances as a sensor into Home Assistant
The Home Assistant Glances sensor platform is consuming the system information The Home Assistant Glances sensor platform is consuming the system information
@ -208,7 +248,7 @@ check [the contributor's page][contributors].
MIT License MIT License
Copyright (c) 2019-2022 Franck Nijhof Copyright (c) 2019-2023 Franck Nijhof
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -42,10 +42,10 @@ If you are more interested in stable releases of our add-ons:
[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-glances/97102?u=frenck [forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-glances/97102?u=frenck
[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png
[github-sponsors]: https://github.com/sponsors/frenck [github-sponsors]: https://github.com/sponsors/frenck
[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg [maintenance-shield]: https://img.shields.io/maintenance/yes/2023.svg
[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png
[patreon]: https://www.patreon.com/frenck [patreon]: https://www.patreon.com/frenck
[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg
[release-shield]: https://img.shields.io/badge/version-v0.17.2-blue.svg [release-shield]: https://img.shields.io/badge/version-v0.18.0-blue.svg
[release]: https://github.com/hassio-addons/addon-glances/tree/v0.17.2 [release]: https://github.com/hassio-addons/addon-glances/tree/v0.18.0
[screenshot]: https://github.com/hassio-addons/addon-glances/raw/main/images/screenshot.png [screenshot]: https://github.com/hassio-addons/addon-glances/raw/main/images/screenshot.png

View file

@ -1,24 +1,25 @@
apparmor: false name: Glances
version: 0.18.0
slug: glances
description: A cross-platform system monitoring tool
url: https://github.com/hassio-addons/addon-glances
codenotary: codenotary@frenck.dev
ingress: true
ingress_port: 0
ingress_stream: true
panel_icon: mdi:speedometer
startup: services
homeassistant: 0.92.0b2
arch: arch:
- aarch64 - aarch64
- amd64 - amd64
- armhf - armhf
- armv7 - armv7
- i386 - i386
auth_api: true ports:
codenotary: codenotary@frenck.dev 80/tcp: null
description: A cross-platform system monitoring tool ports_description:
docker_api: true 80/tcp: Web interface (Not required for Ingress)
environment:
LOG_FORMAT: '{LEVEL}: {MESSAGE}'
hassio_api: true
homeassistant: 0.92.0b2
host_network: true
host_pid: true
image: ghcr.io/hassio-addons/glances/{arch}
ingress: true
ingress_port: 0
ingress_stream: true
map: map:
- addons - addons
- backup - backup
@ -26,47 +27,51 @@ map:
- share - share
- ssl - ssl
- media - media
name: Glances hassio_api: true
auth_api: true
docker_api: true
host_network: true
host_pid: true
apparmor: false
options: options:
certfile: fullchain.pem
influxdb:
database: glances
enabled: false
host: a0d7b954-influxdb
interval: 60
password: ''
port: 8086
prefix: localhost
username: glances
keyfile: privkey.pem
log_level: info log_level: info
process_info: false process_info: false
refresh_time: 10 refresh_time: 10
ssl: false ssl: false
panel_icon: mdi:speedometer certfile: fullchain.pem
ports: keyfile: privkey.pem
80/tcp: null
ports_description:
80/tcp: Web interface (Not required for Ingress)
schema:
certfile: str
influxdb: influxdb:
database: str enabled: false
enabled: bool host: a0d7b954-influxdb
host: str port: 8086
interval: int interval: 60
password: password ssl: false
port: port version: 1
prefix: str username: glances
ssl: bool? password: ''
username: str database: glances
keyfile: str prefix: localhost
leave_front_door_open: bool? token: ''
bucket: glances
org: myorg
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal) log_level: list(trace|debug|info|notice|warning|error|fatal)
process_info: bool process_info: bool
refresh_time: int refresh_time: int
ssl: bool ssl: bool
slug: glances certfile: str
startup: services keyfile: str
url: https://github.com/hassio-addons/addon-glances influxdb:
version: 0.17.2 enabled: bool
host: str
port: port
username: str
password: password
database: str
prefix: str
interval: int
ssl: bool?
leave_front_door_open: bool?
environment:
LOG_FORMAT: '{LEVEL}: {MESSAGE}'
image: ghcr.io/hassio-addons/glances/{arch}