Every uninterruptible power supply makes the same quiet promise: when the grid fails, it buys you minutes. RFC 1628, published in May 1994, asked the awkward follow-up — how many minutes, exactly? — and then answered it in the most counterintuitive way imaginable. To learn how much reserve the battery held, the test had to spend some of it.
Summary
- RFC 1628's deep battery calibration put the UPS on battery down to a manufacturer-selected discharge level, so replacement need and run time could be estimated with high confidence.
- The specification warned that the test left the battery at low charge and required recharge before normal protected-load duration returned.
- A spin lock, SetResponse, test result, battery estimate, alarm, powered output and useful service were separate receipts — none could silently stand for all the others.
The minutes were always conditional
RFC 1628 brought the uninterruptible power supply into the Internet's management vocabulary, and its MIB did not settle for a manufacturer name and a single battery icon. It split the machine into battery, input, output, bypass, alarm, test, control and configuration groups — a small act of taxonomy that turned out to be the whole point.
That separation mattered because "reserve" was never one number. upsEstimatedMinutesRemaining estimated time to depletion under the present load, assuming utility power was absent and stayed absent. Estimated charge was a different value. Battery voltage, current and temperature were others again. Output source could read normal, bypass, battery, booster, reducer or none.
Two words carried the boundary: estimated, and present load. A reading never promised how long an application would stay useful after a later failure. Load could change. Transfer could fail. A protected device could die before the UPS did. The MIB handed you the evidence for a decision without ever promoting it into an outcome.
Even "low battery" was a policy, not a fact. It meant estimated remaining minutes had fallen to or below the configured low-battery time. Move the threshold and the classification changed while the physical battery sat there, unchanged. A displayed state was a measurement welded to local configuration.
The deeper test drew the reserve down
RFC 1628 named two battery tests, and they made different claims. The quick test was enough to decide whether replacement was needed. The deep calibration put the system on battery until it reached a discharge level chosen by the manufacturer — enough to judge replacement and run time with a high degree of confidence.
Then came the warning, and it is the most honest sentence in the document: deep calibration would leave the battery at low charge, and time would be required to recharge it enough to provide normal duration for the protected load.
The test did not observe a standing fact. It manufactured a temporary operating condition in order to learn. Before the test, the reserve might be uncertain but available. During it, the battery carried a deliberate diagnostic load. After it, the estimate could be better while the immediate safety margin was worse. That is the trade, stated plainly: better evidence is not free — it is paid for out of the very resource being measured.
And the exchange needs an owner and a window. "Test passed" says something about the diagnostic as the implementation defined it. It does not say the battery has recharged, that utility power will stay up, that the protected load is unchanged, or that service would survive a failure beginning right now.
One manager had to own the test epoch
The MIB assumed more than one management station might be watching. Writing upsTestId started a named test, but the same SNMP message had to carry upsTestSpinLock. A manager read the lock and the current result, waited while any other test finished, then tried to write the remembered lock value alongside its requested test. If another manager slipped in first, the lock check failed and the whole dance began again.
After a successful start, the manager polled summary and detail. If the later lock equalled the remembered value plus one, the returned result belonged to its test and not to a successor's.
This was concurrency control, not authorization — an important distinction that the spec's own silence would later make glaring. The lock answered which writer won a race and which test epoch a result described. It did not decide who was allowed to discharge the battery, whether the maintenance window was safe, or whether the owner of the protected service had agreed to the temporary loss of reserve.
The possible results were deliberately plural: pass, warning, error, aborted, in progress, or no tests initiated. Detail could be empty. A result could vanish after the management subsystem reinitialized if the system lacked non-volatile storage — so "no test recorded" was never proof that no test had happened.
The alarm table was a present-tense view
The alarm table held rows for conditions currently in effect. The agent created a row when it detected a condition and removed it when the condition ceased. IDs could wrap, the table could go sparse, and its rows could not be assumed chronological.
An alarm already present when the agent started got time zero — meaning the condition predated or coincided with the observation epoch, not that the fault began then. Test in progress, diagnostic failure, on battery, low battery, depleted battery, shutdown pending, output off and whole-system off were separate alarms because they described separate facts.
The persistent on-battery notification carried remaining minutes, seconds on battery and the low-battery threshold, repeating every minute until the UPS turned off or left battery operation. Repetition raised the odds of attention. It proved nothing about whether a receiver got the message, a human acknowledged it, or the fix worked.
Writable seconds became physical control
RFC 1157 had explained SNMP's unusual discipline: model management as inspecting or altering variables, and represent an imperative action like a reboot as a writable countdown. RFC 1628 made that pattern physical. A manager could choose whether shutdown hit only the output or the whole UPS, schedule it, abort it with -1, start output later, request a timed reboot, or pick automatic restart.
Those variables carried their own uncertainty. A later write could override a countdown. On some systems, restarting the agent could abort it. Battery depletion could force shutdown sooner. A startup due during a utility failure had to wait for the grid to return. A requested reboot might finish later than its nominal off interval.
So the MIB kept separate alarms for a pending command and for output actually off as requested. A successful SetResponse was evidence that the agent accepted a protocol operation — not a live probe of the breaker, the attached equipment, or the application.
RFC 1448 supplies the contemporary SNMPv2 operations context, while RFC 3416 later made the validation, commit, undo and response phases explicit. Those stages still end at the managed entity's protocol boundary. Power and service require later witnesses.
The control vocabulary did not contain its guard
RFC 1628 closes its Security Considerations with a single, bracing sentence: security issues are not discussed. Read it precisely. It does not prove that deployed UPS agents were open, insecure or attacked — SNMP administration and access policy lived in companion specs and local configuration. It does show that a shared vocabulary for discharging batteries, silencing alarms and cutting output was never itself a complete authorization design.
The verified errata later corrected a missing macro import, impossible signed-integer bounds and mismatched enumeration numbers. Even the portable syntax was a maintained record, not immutable truth.
The RFC Editor record establishes the document and its present series metadata. It does not establish implementation, adoption, product conformance, or a single real power event.
Lu Heng's Running-Code Primacy supplies the discipline for reading the MIB: an object name, an accepted write and a diagnostic result are inputs to reality, not substitutes for the battery and the protected service. Minimum Initial Specification explains why a narrow shared vocabulary can leave test scheduling, authority and recovery local. Reality, Not Advocacy keeps the historical claim bounded to what the record can actually show.
RFC 1628's deepest lesson was not that remote management made backup power safe. It was that trustworthy evidence has a cost and a custody chain. The test spent reserve to learn about reserve — and responsible operation meant preserving who authorized that exchange, which test ran, what changed afterward, and whether the protected service stayed protected.
Sources
- RFC 1628 information record
- RFC 1628: UPS Management Information Base
- Verified RFC 1628 errata
- RFC 1157: A Simple Network Management Protocol
- RFC 1448: Protocol Operations for SNMPv2
- RFC 3416: Protocol Operations for SNMP
- Lu Heng: Running-Code Primacy
- Lu Heng: Minimum Initial Specification
- Lu Heng: Reality, Not Advocacy
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






