You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/docs/widgets/info/glances.md

1.4 KiB

title description
Glances Glances Information Widget Configuration

(Find the Glances service widget here)

The Glances widget allows you to monitor the resources (CPU, memory, storage, temp & uptime) of host or another machine, and is designed to match the resources info widget. You can have multiple instances by adding another configuration block. The cputemp, uptime & disk states require separate API calls and thus are not enabled by default. Glances needs to be running in "web server" mode to enable the API, see the glances docs.

- glances:
    url: http://host.or.ip:port
    username: user # optional if auth enabled in Glances
    password: pass # optional if auth enabled in Glances
    cpu: true # optional, enabled by default, disable by setting to false
    mem: true # optional, enabled by default, disable by setting to false
    cputemp: true # disabled by default
    uptime: true # disabled by default
    disk: / # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
    diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
    expanded: true # show the expanded view
    label: MyMachine # optional

Multiple disks can be specified as:

disk:
  - /
  - /boot
  ...

Added in v0.4.18, updated in v0.6.11, v0.6.21