Skip to content

feat(metrics): add per-chip temperature charts - #865

Draft
filippocarletti wants to merge 1 commit into
mainfrom
feat/metrics-temperature
Draft

filippocarletti wants to merge 1 commit into
mainfrom
feat/metrics-temperature

Conversation

@filippocarletti

@filippocarletti filippocarletti commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

The Metrics page does not show hardware temperatures, even though Telegraf collects them. I add one temperature chart per sensor chip, so admins can see how hot the firewall runs and how far it is from the limit.

The charts appear in the System section, after RAM usage. On hardware without temperature sensors nothing changes.

  • Each chart has one line per sensor. The high threshold is a dashed line and the critical threshold a dotted line.
  • The axis and tooltips use °C.
  • I added unit tests for the new chart helpers.

How to test

  • Install this UI and feat(ns-api): add temperatures to metrics-history nethsecurity#2027 on a firewall with temperature sensors.
  • Open Monitoring > Metrics. Check that each sensor chip has a "Temperature - " card, with the High and Critical lines and values in °C.
  • Change the time range and check that the chart follows.
  • On a machine without sensors, like a VM, check that no temperature card is shown.

I tested it in the dark theme on a physical firewall with one AMD sensor chip, and on a VM without sensors. I could not check the light theme, because a browser extension forced dark colors. I did not test hardware with many chips or many CPU cores.

See also

Show one temperature chart per sensor chip in the System section of
the Metrics page. The high and critical thresholds are drawn as
dashed lines to show how far the temperature is from the limit.

Cards are hidden when the hardware has no temperature sensors.

Assisted-by: Claude Code:Sonnet 5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant