Home Assistant Community Add-on: Glances

In the HA Gui glances can show processes (commands) running against CPU, Memory, etc.

The Glances config also has an option to turn on process_info.

This is great - but I’m wondering if this info is written to influxdb at all? If so, where can I find it?

Hm, im trying to install glances from add-on store on HASS OS, installs, but unable to start it, says needs to disable protection mode, but it does not matter is it on or off, doesnt start.

Also, after installation it is not visible in installed add-on’s page.

2023-02-11 14:47:57.013 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 145, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/hassio/addon_panel.py", line 61, in post
await _register_panel(self.hass, addon, data)
File "/usr/src/homeassistant/homeassistant/components/hassio/addon_panel.py", line 81, in _register_panel
await panel_custom.async_register_panel(
File "/usr/src/homeassistant/homeassistant/components/panel_custom/__init__.py", line 122, in async_register_panel
frontend.async_register_built_in_panel(
File "/usr/src/homeassistant/homeassistant/components/frontend/__init__.py", line 281, in async_register_built_in_panel
raise ValueError(f"Overwriting panel {panel.frontend_url_path}")
ValueError: Overwriting panel a0d7b954_glances
2023-02-11 14:48:56.893 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_glances: Container addon_a0d7b954_glances is not running

Glances does not seem to work anymore for me.
grafik

In log file I see the following:

-----------------------------------------------------------
 Add-on: Glances
 A cross-platform system monitoring tool
-----------------------------------------------------------
 Add-on version: 0.19.0
 You are running the latest version of this add-on.
 System: Raspbian GNU/Linux 11 (bullseye)  (armv7 / raspberrypi4)
 Home Assistant Core: 2023.5.3
 Home Assistant Supervisor: 2023.04.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
INFO: Starting Glances...
Glances Web User Interface started on http://127.0.0.1:61209/
INFO: Starting NGinx...

Any idea what is the problem?

is there a way to change the interval from 60 seconds to 30 seconds or less?

Thanks,

What am I doing wrong with this addon? I run HA in proxmox, and I run this addon in HA. If I open the glances web ui in HA the integration keeps delivering sensor updates, but as soon as I leave the UI for glances the integration drops after 1 minute with the log text, Error fetching Glances: localhost data:

Is there a good way to get hdd / ssd temperature sensors recognized?
My ssd has temp sensor that worked under Debian at least.
Running on a NUC.

Has anyone been able show HA Addon Glances data on gethomepage?

1 Like

Where you able to figure out how to read the HA Addon on gethomepage? I’m trying to do the same and can’t figure out how to use the addon’s API like I do with other hosts.

Hi
Glances add on is working perfectly with integration on my Raspberry device.
So I tried to use Glances integration and web in other instance of HA on the local network.
I changed the network port in the add on glances. This is OK

But I don’t have the login and password which seams requeted to login in the web interface of glances.
So you kknow where I can set it or find it ?

EDIT : So I find it. It’s HA admin loginb password…