Commit Graph

69 Commits

Author SHA1 Message Date
nicolargo
15fbf5de58 Introduce min_duration_seconds per field for thresolds / Add a new main entry point for Glances v5 2026-05-12 13:28:14 +02:00
nicolargo
06f62ff532 Implement StatsStore - Class + unitest 2026-05-02 08:59:35 +02:00
nicolargo
6940195b1a pycache file is put in wheel #3516 2026-04-06 17:48:01 +02:00
nicolargo
f5f1c33a3c Prepare release 4.5.3 2026-03-29 16:41:48 +02:00
nicolargo
effcd426fb Memray is not available on Windaube 2026-03-28 11:15:20 +01:00
nicolargo
07f345e233 Replace py-spy by memray for Flamegraph generation 2026-03-28 11:06:26 +01:00
nicolargo
b6a694f38f Add export to ClickHouse #3320 2026-03-22 10:15:17 +01:00
Christian Rishøj
36e2397fd1 Add LXD/LXC container engine support
- New engine at glances/plugins/containers/engines/lxd.py using pylxd
- Polls instance.state() for CPU, memory, disk IO, and network stats
- Registers automatically alongside Docker and Podman engines
- Add pylxd>=2.3.1 to containers optional dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 19:31:32 +01:00
nicolargo
6a358d07d7 Update docs 2026-03-14 11:40:28 +01:00
nicolargo
f3e94930e3 SQL Injection in DuckDB Export via Unparameterized DDL Statements - Correct CVE-2026-32611 2026-03-14 10:33:24 +01:00
nicolargo
058ed1f7a8 Update req 2026-03-07 15:01:55 +01:00
nicolargo
031190e532 Implement fix 1 — Python bug in glances/plugins/gpu/cards/amd.py (high priority) #3456 2026-02-27 09:40:31 +01:00
nicolargo
7b200f00fc Add MCP (Model Context Protocol) server support to the web server
Expose Glances system monitoring data to AI assistants via the Model
Context Protocol, mounted alongside the existing REST API.

New features:
- GlancesMcpServer (glances/outputs/glances_mcp.py): FastMCP-based server
  exposing 6 resources (glances://plugins, glances://stats,
  glances://stats/{plugin}, glances://stats/{plugin}/history,
  glances://limits, glances://limits/{plugin}) and 4 prompt templates
  (system_health_summary, alert_analysis, top_processes_report,
  storage_health).
- GlancesMcpAuthMiddleware: pure-ASGI middleware (SSE-safe, no body
  buffering) reusing the existing Basic Auth / JWT Bearer credentials.
- CLI flags --enable-mcp and --mcp-path; config-file keys enable_mcp
  and mcp_path under [outputs].
- 25 tests in tests/test_mcp.py covering SSE connectivity, all resources
  and prompts via the MCP client SDK, and the auth middleware unit tests.

The mcp package (>=1.0.0) is added as the new optional dependency group
[mcp] and included in [all].

Activation: glances -w --enable-mcp
             or [outputs] enable_mcp = true in glances.conf

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 20:20:34 +01:00
nicolargo
12a279b0da version 4.5.0.3 2026-02-10 22:17:39 +01:00
nicolargo
db72611f12 Glances version 4.5.0.2 2026-02-10 21:35:05 +01:00
nicolargo
0321edc966 Glances 4.5.0_dev1 - Release candidate 2026-01-25 17:16:29 +01:00
nicolargo
a9562e361a Implementation of a JWT token thanks to Jose lib 2026-01-18 14:26:01 +01:00
nicolargo
326c2fef51 Remove Netifaces dependency and use a pure Python to get Default Gateway.
Ip address and Net mask are now retreived thanks to PSutil.
2026-01-03 15:12:53 +01:00
nicolargo
b7c6cce373 First version ok. Log message should be removed. Code should be tested. 2025-12-30 19:04:07 +01:00
nicolargo
d5ce8a7461 Lint code for Python 3.10 2025-12-21 14:40:39 +01:00
nicolargo
184e490660 Bump to Python 3.10 as minimal version 2025-12-20 10:22:03 +01:00
Ruben Arts
89753198b3 Remove LGPL-3.0 license from pyproject.toml
License classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/).
2025-12-19 10:17:28 +01:00
Ruben Arts
8408a35100 Update license specification to SPDX format
Using the format specified in: https://spdx.org/licenses/
2025-12-19 10:04:07 +01:00
nicolargo
f84baaa8df Update requirements 2025-11-29 09:50:26 +01:00
nicolargo
f2641c80e2 Glances won't start when using snmp discovery with parameter -c #3354 2025-11-23 10:06:08 +01:00
nicolargo
25da171479 Add some fetch templates as an example 2025-11-10 11:45:33 +01:00
nicolargo
930745b5f3 Package generation issue on Pypi because of README.rst #3337 2025-11-08 09:38:01 +01:00
nicolargo
bcd48844b5 Support for Python 14 #3319 2025-10-18 13:51:15 +02:00
nicolargo
bcfb3675a6 Update dep 2025-10-18 09:06:24 +02:00
nicolargo
e3b016e6f3 Update dep and change Fetch screenshot for documentation 2025-10-18 08:59:21 +02:00
nicolargo
f1328a84e9 Use uv instead of venv in Makefile #3304 2025-10-12 15:19:32 +02:00
nicolargo
b26dac4dd5 ZFS ARC/cache not reported as cache memory usage #3279 2025-09-25 13:48:43 -04:00
nicolargo
6631b37d67 Revert "First version done. Need to be tested and documented."
This reverts commit 17eca1f6e6.
2025-09-21 16:44:28 +02:00
nicolargo
17eca1f6e6 First version done. Need to be tested and documented. 2025-09-21 15:08:25 +02:00
nicolargo
d5d38af356 First version of the (neo)fetch feature for OS 2025-09-20 19:38:33 +02:00
nicolargo
1365d600a3 (postgre)SQL export support / TimeScaleDB #2814 2025-07-05 10:32:11 +02:00
renovate[bot]
505a90f8da fix(deps): update dependency pysnmp-lextudio to <6.3.1 2025-07-05 10:32:11 +02:00
nicolargo
7c0dee3a63 Add support for InfluxDB 3 Core #3182 2025-07-05 10:32:11 +02:00
nicolargo
7de582fdb0 Update precommit hook 2025-07-05 10:32:10 +02:00
nicolargo
b4d5de96fc Add shtab as a dependency 2025-07-05 10:32:10 +02:00
nicolargo
5274339774 Browser do not working 2024-12-30 14:19:26 +01:00
nicolargo
825b9879c8 Disable Renovate for Lock file 2024-12-30 11:57:11 +01:00
nicolargo
797b0d06b1 Add memory leak unitary test 2024-12-29 13:07:54 +01:00
nicolargo
ec0d5695a9 First test with Selenium 2024-12-28 09:00:50 +01:00
nicolargo
4bb39232fe Merge branch 'develop' into issue2757 2024-12-27 22:09:20 +01:00
nicolargo
5faad4b13c Reapply "Replace netifaces by netifaces-plus #3053"
This reverts commit 85b786c832.
2024-12-27 21:59:51 +01:00
nicolargo
85b786c832 Revert "Replace netifaces by netifaces-plus #3053"
This reverts commit 9da81638b9.
2024-12-27 21:20:24 +01:00
nicolargo
9da81638b9 Replace netifaces by netifaces-plus #3053 2024-12-27 20:42:35 +01:00
nicolargo
b491cbe42b Make main.py comliant with PyTest (concerning args) 2024-12-26 10:48:50 +01:00
nicolargo
577605f772 Update documentation 2024-12-14 09:28:45 +01:00