Enhancement: support for glances v4 (#3196)

This commit is contained in:
shamoon 2024-03-28 11:16:00 -05:00 committed by GitHub
parent 4fe4ae9622
commit def9b27006
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 38 additions and 18 deletions

View file

@ -17,6 +17,7 @@ widget:
url: http://glances.host.or.ip:port
username: user # optional if auth enabled in Glances
password: pass # optional if auth enabled in Glances
version: 4 # required only if running glances v4 or higher, defaults to 3
metric: cpu
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric