Network Working Group M. Slavitch Request for Comments: 2325 Loran Technologies Inc. Category: Informational 1 April 1998
Network Working Group M. Slavitch Request for Comments: 2325 Loran Technologies Inc. Category: Informational 1 April 1998
Definitions of Managed Objects for Drip-Type Heated Beverage Hardware Devices using SMIv2
使用SMIv2的滴水式加热饮料硬件设备的托管对象定义
Status of this Memo
本备忘录的状况
This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.
本备忘录为互联网社区提供信息。它没有规定任何类型的互联网标准。本备忘录的分发不受限制。
Copyright Notice
版权公告
Copyright (C) The Internet Society (1998). All Rights Reserved.
版权所有(C)互联网协会(1998年)。版权所有。
Table of Contents
目录
1. Introduction ............................................... 1 2. The SNMPv2 Network Management Framework .................... 1 2.1 Object Definitions ........................................ 2 3. Overview ................................................... 2 3.1 Relationship to Interface MIB ............................. 2 4. Definitions ................................................ 3 5. Acknowledgements ........................................... 6 6. References ................................................. 6 7. Security Considerations .................................... 6 8. Author's Address ........................................... 7 9. Full Copyright Statement ................................... 8
1. Introduction ............................................... 1 2. The SNMPv2 Network Management Framework .................... 1 2.1 Object Definitions ........................................ 2 3. Overview ................................................... 2 3.1 Relationship to Interface MIB ............................. 2 4. Definitions ................................................ 3 5. Acknowledgements ........................................... 6 6. References ................................................. 6 7. Security Considerations .................................... 6 8. Author's Address ........................................... 7 9. Full Copyright Statement ................................... 8
This memo defines an extension to the Management Information Base (MIB) for use with network management protocols in the Internet community. In particular, it defines objects for the management of coffee-brewing and maintenance devices.
此备忘录定义了管理信息库(MIB)的扩展,用于Internet社区中的网络管理协议。特别是,它定义了咖啡酿造和维护设备的管理对象。
The SNMPv2 Network Management Framework consists of four major components. They are:
SNMPv2网络管理框架由四个主要组件组成。他们是:
o RFC 1442 [1] which defines the SMI, the mechanisms used for describing and naming objects for the purpose of management.
o RFC 1442[1]定义了SMI,即用于描述和命名对象以进行管理的机制。
o STD 17, RFC 1213 [2] defines MIB-II, the core set of managed objects for the Internet suite of protocols.
o STD 17,RFC 1213[2]定义了MIB-II,即互联网协议套件的核心托管对象集。
o RFC 1445 [3] which defines the administrative and other architectural aspects of the framework.
o RFC 1445[3]定义了框架的管理和其他架构方面。
o RFC 1448 [4] which defines the protocol used for network access to managed objects.
o RFC 1448[4]定义了用于对受管对象进行网络访问的协议。
The Framework permits new objects to be defined for the purpose of experimentation and evaluation.
该框架允许为实验和评估目的定义新对象。
Managed objects are accessed via a virtual information store, termed the Management Information Base or MIB. Objects in the MIB are defined using the subset of Abstract Syntax Notation One (ASN.1) defined in the SMI. In particular, each object object type is named by an OBJECT IDENTIFIER, an administratively assigned name. The object type together with an object instance serves to uniquely identify a specific instantiation of the object. For human convenience, we often use a textual string, termed the descriptor, to refer to the object type.
托管对象通过虚拟信息存储(称为管理信息库或MIB)进行访问。MIB中的对象是使用SMI中定义的抽象语法表示法1(ASN.1)的子集定义的。特别是,每个对象类型都由一个对象标识符命名,这是一个管理分配的名称。对象类型与对象实例一起用于唯一标识对象的特定实例化。为了方便起见,我们经常使用一个称为描述符的文本字符串来引用对象类型。
The COFFEE POT MIB applies to managed devices that brew, store, and deliver heated coffee beverages. The COFFEE POT MIB is mandatory for all systems that have such a hardware port supporting services managed through some other MIB.
咖啡壶MIB适用于酿造、储存和提供加热咖啡饮料的托管设备。咖啡壶MIB对于具有通过其他MIB管理的硬件端口支持服务的所有系统都是必需的。
The MIB contains objects that relate to physical connections, configuration, storage levels, availabilty, quality of service, and availability.
MIB包含与物理连接、配置、存储级别、可用性、服务质量和可用性相关的对象。
The COFFEE-POT-MIB is one of many MIBs designed for layered use as described in the Interface MIB [5]. In most implementations where it is present, it will be in the lowest interface sublayer, that is, the COFFEE-POT-MIB represents the physical layer, providing service to higher layers such as the Character MIB [6].
COFFEE-POT-MIB是为分层使用而设计的众多MIB之一,如接口MIB[5]所述。在它存在的大多数实现中,它将位于最低的接口子层,也就是说,COFFEE-POT-MIB代表物理层,为更高的层(如字符MIB)提供服务[6]。
Although it is unlikely that a coffee port will actually be used as a network interface, which is the intent of the Interface MIB, the COFFEE-POT-MIB is closely connected to the Character MIB, which can share hardware interfaces with network operation, and relate to the RS-232 MIB [7].
虽然coffee端口不太可能实际用作网络接口,这是接口MIB的意图,但coffee-POT-MIB与字符MIB紧密相连,字符MIB可以与网络操作共享硬件接口,并与RS-232 MIB相关[7]。
The Interface MIB's ifTestTable and ifRcvAddressTable are not relevant to the COFFEE-POT-MIB.
接口MIB的ifTestTable和IFRCVAAddressTable与COFFEE-POT-MIB无关。
The COFFEE-POT-MIB is relevant for ifType values sip(31), and perhaps others.
COFFEE-POT-MIB与ifType值sip(31)以及其他值相关。
The COFFEE-POT-MIB requires the conformance groups ifGeneralGroup, and ifFixedLengthGroup.
COFFEE-POT-MIB需要一致性组ifGeneralGroup和ifFixedLengthGroup。
Usefulness of error counters in this MIB depends on the octet counters in ifFixedLengthGroup.
此MIB中错误计数器的有用性取决于ifFixedLengthGroup中的八位字节计数器。
COFFEE-POT-MIB DEFINITIONS ::= BEGIN
COFFEE-POT-MIB DEFINITIONS ::= BEGIN
IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, TimeStamp, TimeInterval, Counter32, Integer32 FROM SNMPv2-SMI InterfaceIndex FROM IF-MIB transmission FROM RFC1213-MIB MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF;
将模块标识、对象类型、通知类型、时间戳、时间间隔、计数器32、整数32从SNMPv2 SMI InterfaceIndex从RFC1213-MIB模块传输导入,将对象组从SNMPv2 CONF导入;
coffee MODULE-IDENTITY LAST-UPDATED "9803231700Z" ORGANIZATION "Networked Appliance Management Working Group"
coffee MODULE-IDENTITY最后更新的“9803231700Z”组织“网络设备管理工作组”
CONTACT-INFO " Michael Slavitch Loran Technologies, 955 Green Valley Crescent Ottawa, Ontario Canada K2A 0B6
联系信息“加拿大安大略省渥太华绿谷新月955号Michael Slavitch罗兰科技有限公司K2A 0B6
Tel: 613-723-7505 Fax: 613-723-7209 E-mail: slavitch@loran.com" DESCRIPTION "The MIB Module for coffee vending devices." ::= { transmission 132 }
Tel: 613-723-7505 Fax: 613-723-7209 E-mail: slavitch@loran.com" DESCRIPTION "The MIB Module for coffee vending devices." ::= { transmission 132 }
potName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only
potName对象类型语法DisplayString(大小(0..255))MAX-ACCESS只读
STATUS current DESCRIPTION "The vendor description of the pot under management" ::= { coffee 1 }
STATUS current DESCRIPTION "The vendor description of the pot under management" ::= { coffee 1 }
potCapacity OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of units of beverage supported by this device (regardless of its current state) ." ::= { coffee 2 }
potCapacity OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of units of beverage supported by this device (regardless of its current state) ." ::= { coffee 2 }
potType OBJECT-TYPE SYNTAX INTEGER { automatic-drip(1), percolator(2), french-press(3), espresso(4), } MAX-ACCESS read-write STATUS current DESCRIPTION "The brew type of the coffee pot." ::= { coffee 3 }
potType OBJECT-TYPE SYNTAX INTEGER { automatic-drip(1), percolator(2), french-press(3), espresso(4), } MAX-ACCESS read-write STATUS current DESCRIPTION "The brew type of the coffee pot." ::= { coffee 3 }
potLocation OBJECT-TYPE { SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "The physical location of the pot in question" ::= { coffee 4 }
potLocation OBJECT-TYPE { SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "The physical location of the pot in question" ::= { coffee 4 }
potMonitor OBJECT IDENTIFIER ::= { coffee 6 }
potMonitor OBJECT IDENTIFIER ::= { coffee 6 }
potOperStatus SYNTAX Integer { off(1), brewing(2), holding(3), other(4), waiting(5)
potOperStatus语法整数{off(1)、酝酿(2)、保持(3)、其他(4)、等待(5)
} MAX-ACCESS read-only STATUS current DESCRIPTION "The operating status of the pot in question. Note that this is a read-only feature. Current hardware prevents us from changing the port state via SNMP." ::= { potMonitor 1 }
} MAX-ACCESS read-only STATUS current DESCRIPTION "The operating status of the pot in question. Note that this is a read-only feature. Current hardware prevents us from changing the port state via SNMP." ::= { potMonitor 1 }
potLevel OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of units of coffee under management. The units of level are defined in potMetric below." ::= { potMonitor 2 }
potLevel OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of units of coffee under management. The units of level are defined in potMetric below." ::= { potMonitor 2 }
potMetric OBJECT-TYPE SYNTAX Integer { espresso(1), demi-tasse(2), cup(3), mug(4), bucket(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The vendor description of the pot under management" ::= { potMonitor 3 }
potMetric OBJECT-TYPE SYNTAX Integer { espresso(1), demi-tasse(2), cup(3), mug(4), bucket(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The vendor description of the pot under management" ::= { potMonitor 3 }
potStartTime OBJECT-TYPE SYNTAX Integer64 MAX-ACCESS read-write STATUS current DESCRIPTION "The time in seconds since Jan 1 1970 to start the pot if and only if potOperStatus is waiting(5)" ::= { potMonitor 4 }
potStartTime OBJECT-TYPE SYNTAX Integer64 MAX-ACCESS read-write STATUS current DESCRIPTION "The time in seconds since Jan 1 1970 to start the pot if and only if potOperStatus is waiting(5)" ::= { potMonitor 4 }
lastStartTime OBJECT-TYPE SYNTAX TimeInterval MAX-ACCESS read-only STATUS current DESCRIPTION
lastStartTime对象类型语法时间间隔最大访问只读状态当前说明
"The amount of time, in TimeTicks, since the coffee making process was initiated." ::= { potMonitor 5 }
"The amount of time, in TimeTicks, since the coffee making process was initiated." ::= { potMonitor 5 }
potTemperature OBJECT-TYPE SYNTAX Integer32 UNITS "degrees Centigrade" MAX-ACCESS read-only STATUS current DESCRIPTION "The ambient temperature of the coffee within the pot"
potTemperature对象类型语法整数32单位“摄氏度”最大访问只读状态当前描述“咖啡壶内咖啡的环境温度”
::= { potMonitor 6 }
::= { potMonitor 6 }
END
终止
Networked Appliance Management Working Group (not) of the IETF.
IETF的网络设备管理工作组(not)。
[1] Case, J., McCloghrie, K., Rose, M., and S. Waldbusser, "Structure of Management Information for version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1442, April 1993.
[1] Case,J.,McCloghrie,K.,Rose,M.,和S.Waldbusser,“简单网络管理协议(SNMPv2)版本2的管理信息结构”,RFC 1442,1993年4月。
[2] McCloghrie, K., and M. Rose, Editors, "Management Information Base for Network Management of TCP/IP-based internets: MIB-II", STD 17, RFC 1213, March 1991.
[2] McCloghrie,K.和M.Rose,编辑,“基于TCP/IP的互联网网络管理的管理信息库:MIB-II”,STD 17,RFC 1213,1991年3月。
[3] Galvin, J., and K. McCloghrie, "Administrative Model for version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1445, April 1993.
[3] Galvin,J.和K.McCloghrie,“简单网络管理协议(SNMPv2)版本2的管理模型”,RFC 1445,1993年4月。
[4] Case, J., McCloghrie, K., Rose, M., and S. Waldbusser, "Protocol Operations for version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1448, April 1993.
[4] Case,J.,McCloghrie,K.,Rose,M.,和S.Waldbusser,“简单网络管理协议(SNMPv2)版本2的协议操作”,RFC 1448,1993年4月。
[5] McCloghrie, K., and F. Kastenholz, "Evolution of the Interfaces Group of MIB-II", RFC 1573, January 1994.
[5] McCloghrie,K.和F.Kastenholz,“MIB-II接口组的演变”,RFC 1573,1994年1月。
[6] Valdez, Juan, "Definitions of Columbian Objects for Coffee Pot Devices using SMIv2", Columbia, Inc., March 1998.
[6] Valdez,Juan,“使用SMIv2的咖啡壶设备的哥伦比亚物体定义”,哥伦比亚公司,1998年3月。
Security issues are not discussed in this memo.
本备忘录不讨论安全问题。
Michael Slavitch Loran Technologies 955 Green Valley Crescent Ottawa, Ontario Canada K2C 3V4
加拿大安大略省渥太华绿谷新月955号迈克尔·斯拉维奇罗兰科技公司K2C 3V4
Phone: 613 723 7505 EMail: slavitch@loran.com
电话:613 723 7505电子邮件:slavitch@loran.com
Copyright (C) The Internet Society (1998). All Rights Reserved.
版权所有(C)互联网协会(1998年)。版权所有。
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.
本文件及其译本可复制并提供给他人,对其进行评论或解释或协助其实施的衍生作品可全部或部分编制、复制、出版和分发,不受任何限制,前提是上述版权声明和本段包含在所有此类副本和衍生作品中。但是,不得以任何方式修改本文件本身,例如删除版权通知或对互联网协会或其他互联网组织的引用,除非出于制定互联网标准的需要,在这种情况下,必须遵循互联网标准过程中定义的版权程序,或根据需要将其翻译成英语以外的其他语言。
The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.
上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。
This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
本文件和其中包含的信息是按“原样”提供的,互联网协会和互联网工程任务组否认所有明示或暗示的保证,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。