Skip to content

GPU power alert is blank on pinned Thold 1.8.2 #77

Closed

Description

@somethingwithproof

Summary

On the Thold 1.8.2 version pinned by GPU CI, the power threshold's RPN expression can produce a blank result and fail to alert when power exceeds the configured limit.

Root cause

The pinned Thold version's RPN fallback for |ds:name| can reach get_current_value() when the current RRD sample is unavailable. If rrdtool last also returns an empty or invalid value, the old Thold code performs timestamp arithmetic on it and emits a PHP warning. Newer Thold develop guards that timestamp in Thold PR #790, but GPU CI intentionally tests the pinned older commit.

Resolution

Fixed and merged in GPU PR #76. It adds a power_pct gauge derived from current power and power-limit samples, emitting unknown unless both are numeric and the limit is positive. This removes the GPU threshold's dependency on Thold's RPN fallback.

Activity

  1. changed the title [-]Power alert RPN mishandles unknown readings and limit comparisons[/-] [+]GPU power alert is blank on the pinned Thold 1.8.2 version[/+] on Nov 17, 2026
  2. changed the title [-]GPU power alert is blank on the pinned Thold 1.8.2 version[/-] [+]GPU power alert uses stale RPN evaluation on pinned Thold[/+] on Nov 17, 2026
  3. changed the title [-]GPU power alert uses stale RPN evaluation on pinned Thold[/-] [+]GPU power alert is blank on pinned Thold 1.8.2[/+] on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions