Uninterruptible Power Supply (UPS) Management Protocol -- Commands and Responses
draft-rprice-ups-management-protocol-02

Document Type Active Internet-Draft (individual)
Author Roger Price 
Last updated 2021-03-06
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
IETF                                                       R. Price, Ed.
Internet-Draft                                 Network UPS Tools Project
Intended status: Informational                              6 March 2021
Expires: 7 September 2021

 Uninterruptible Power Supply (UPS) Management Protocol -- Commands and
                               Responses
                draft-rprice-ups-management-protocol-02

Abstract

   This text describes the command/response protocol currently used in
   the management of Uninterruptible Power Supply (UPS) units and other
   power devices often deployed in small offices, and in IT
   installations subject to an erratic public power supply.  The UPS
   units typically interface to an Attachment Daemon in the system they
   protect.  This daemon is in turn polled by a Management Daemon which
   notifies users and system administrators of power supply incidents,
   and takes system shutdown decisions.  The commands and responses
   described by this text are exchanged between the UPS Attachment
   Daemon and the Management Daemon.  Current practice leads to weak
   security and this is addressed in the Security and IANA
   Considerations.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 7 September 2021.

Copyright Notice

   Copyright (c) 2021 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Price                   Expires 7 September 2021                [Page 1]
Internet-Draft           UPS management protocol              March 2021

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  How to read this text . . . . . . . . . . . . . . . . . .   4
     1.2.  Current practice  . . . . . . . . . . . . . . . . . . . .   4
     1.3.  Requirements Language . . . . . . . . . . . . . . . . . .   4
     1.4.  Comments  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.1.  Attachment Daemon . . . . . . . . . . . . . . . . . . . .   5
     2.2.  Driver  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.3.  Event . . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.4.  Instant Command . . . . . . . . . . . . . . . . . . . . .   5
     2.5.  Management Daemon . . . . . . . . . . . . . . . . . . . .   5
     2.6.  NUT (Network UPS Tools) Project . . . . . . . . . . . . .   6
     2.7.  Primary . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.8.  Secondary . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.9.  Session . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.10. UPS status  . . . . . . . . . . . . . . . . . . . . . . .   7
     2.11. UPS variable  . . . . . . . . . . . . . . . . . . . . . .   7
   3.  Protocol overview . . . . . . . . . . . . . . . . . . . . . .   7
   4.  Protocol specification  . . . . . . . . . . . . . . . . . . .   9
     4.1.  Notation used in this specification . . . . . . . . . . .   9
     4.2.  Commands  . . . . . . . . . . . . . . . . . . . . . . . .  10
       4.2.1.  "FSD" . . . . . . . . . . . . . . . . . . . . . . . .  10
       4.2.2.  "GET" . . . . . . . . . . . . . . . . . . . . . . . .  10
         4.2.2.1.  "CMDDESC" . . . . . . . . . . . . . . . . . . . .  10
         4.2.2.2.  "DESC"  . . . . . . . . . . . . . . . . . . . . .  11
         4.2.2.3.  "NUMLOGINS" . . . . . . . . . . . . . . . . . . .  11
         4.2.2.4.  "TYPE"  . . . . . . . . . . . . . . . . . . . . .  11
         4.2.2.5.  "UPSDESC" . . . . . . . . . . . . . . . . . . . .  12
         4.2.2.6.  "VAR" . . . . . . . . . . . . . . . . . . . . . .  13
       4.2.3.  "HELP"  . . . . . . . . . . . . . . . . . . . . . . .  13
       4.2.4.  "INSTCMD" . . . . . . . . . . . . . . . . . . . . . .  13
Show full document text