﻿# Interpret the last NUT battery-test result with its age

Keep NUT last-test result, date and query time distinct; command acceptance and a historical self-test pass do not establish present runtime.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-dc-ups-test-result/
Language: en

A UPS still reports a successful last self-test after the protected server configuration changed. That result is historical evidence with a particular scope, not a new runtime measurement. NUT exposes last-test result and date separately from present load and battery observations. Keep those facts together before using the result in an inference-node recovery record.

## Preserve the reported representation

The standard variable contract treats the test result and date as opaque strings. Retain the original values rather than assuming one universal numeric success code or timestamp format across drivers. Missing data is different from a passing test. Record the selected device and driver context so a parser does not interpret another vendor's wording with an unsupported fixed mapping.

## Establish freshness independently

Pair the last result with its reported date where available and the collector's observation time. A fresh query can return an old result. If the device supplies insufficient timing evidence, keep the age uncertain rather than assigning the query time as the test time. Maintenance, battery replacement or a changed protected load can make an older result less relevant to the current recovery question.

## Separate command acknowledgment

The command tool distinguishes immediate request acceptance from supported tracked execution results. Its documentation explicitly limits what an untracked acknowledgment proves. Observing a command response therefore does not justify overwriting the stored last-test result with success. This guide interprets existing evidence and does not invoke a battery test, calibration or load-control command on a working UPS.

## Keep test and runtime scope distinct

A self-test result applies to the device's supported test procedure. It does not by itself quantify reserve time under the complete current protected workload. Preserve current load, battery condition and the recovery action sequence as separate evidence. Avoid creating a guaranteed-runtime number from a success string, especially after adding GPUs, storage or networking behind the same protected boundary.

## Verify the evidence pipeline

Use isolated fixtures containing an old pass, a recent failure, an unknown date and a rejected or untracked command response. Confirm that the report preserves uncertainty and never turns polling success into test success. A useful result documents what was tested and when known. It does not certify unlimited continuity or establish that a later controlled shutdown can finish within the battery reserve without its own supported analysis.

## Primary references

[Network UPS Tools Standard Variables](https://networkupstools.org/docs/developer-guide.chunked/apas02.html).

[Network UPS Tools Command Completion Semantics](https://networkupstools.org/docs/man/upscmd.html).

[Network UPS Tools Read-Only Query Client](https://networkupstools.org/docs/man/upsc.html).

Related reading: [UPS runtime for a GPU node: a recovery-time budget](/journal/ups-runtime-recovery-budget/); [A Change Register for GPU Drivers and Server Settings](/journal/gpu-maintenance-change-register/).
