Network Working Group                                            D. Levi
Request for Comments: 3165                               Nortel Networks
Obsoletes: 2592                                         J. Schoenwaelder
Category: Standards Track                                TU Braunschweig
                                                             August 2001
        
                 Definitions of Managed Objects for the
                    Delegation of Management Scripts
        

Status of this Memo

このメモの位置付け

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

この文書は、インターネットコミュニティのためのインターネット標準トラックプロトコルを指定し、改善のための議論と提案を要求します。このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD 1)の最新版を参照してください。このメモの配布は無制限です。

Copyright Notice

著作権表示

Copyright (C) The Internet Society (2001). All Rights Reserved.

著作権(C)インターネット協会(2001)。全著作権所有。

Abstract

抽象

This memo defines a portion of the Management Information Base (MIB) for use with network management protocols in the Internet community. In particular, it describes a set of managed objects that allow the delegation of management scripts to distributed managers.

このメモは、インターネットコミュニティでのネットワーク管理プロトコルで使用するための管理情報ベース(MIB)の一部を定義します。特に、分散管理者に管理スクリプトの委任を許可する管理対象オブジェクトの集合を記述する。

Table of Contents

目次

   1 Introduction .................................................    3
   2 The SNMP Management Framework ................................    3
   3 Overview .....................................................    4
   3.1 Terms ......................................................    5
   4 Requirements and Design Issues ...............................    6
   4.1 Script Languages ...........................................    6
   4.2 Script Transfer ............................................    7
   4.3 Script Execution ...........................................    8
   5 Structure of the MIB .........................................    9
   5.1 Language Group .............................................    9
   5.2 Script Group ...............................................   10
   5.3 Code Group .................................................   11
   5.4 Launch Group ...............................................   11
   5.5 Run Group ..................................................   11
   6 Definitions ..................................................   12
   7 Usage Examples ...............................................   49
   7.1 Pushing a Script via SNMP ..................................   49
   7.2 Pulling a Script from a URL ................................   50
   7.3 Modifying an Existing Script ...............................   50
   7.4 Removing an Existing Script ................................   51
   7.5 Creating a Launch Button ...................................   51
   7.6 Launching a Script .........................................   52
   7.7 Suspending a Running Script ................................   52
   7.8 Resuming a Suspended Script ................................   53
   7.9 Terminating a Running Script ...............................   53
   7.10 Removing a Terminated Script ..............................   54
   7.11 Removing a Launch Button ..................................   54
   8 VACM Configuration Examples ..................................   54
   8.1 Sandbox for Guests .........................................   55
   8.2 Sharing Scripts ............................................   55
   8.3 Emergency Scripts ..........................................   56
   9 IANA Considerations ..........................................   57
   10 Security Considerations .....................................   57
   11 Intellectual Property .......................................   59
   12 Changes from RFC 2592 .......................................   59
   13 Acknowledgments .............................................   61
   14 References ..................................................   61
   15 Editors' Addresses ..........................................   63
   16 Full Copyright Statement ....................................   64
        
1. Introduction
1. はじめに

This memo defines a portion of the Management Information Base (MIB) for use with network management protocols in the Internet community. In particular, it describes a set of managed objects that allow the delegation of management scripts to distributed managers.

このメモは、インターネットコミュニティでのネットワーク管理プロトコルで使用するための管理情報ベース(MIB)の一部を定義します。特に、分散管理者に管理スクリプトの委任を許可する管理対象オブジェクトの集合を記述する。

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].

この文書のキーワード "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", および "OPTIONAL" はRFC 2119 [RFC2119]に記載されているように解釈されます。

2. The SNMP Management Framework
2. SNMP管理フレームワークに

The SNMP Management Framework presently consists of five major components:

SNMP Management Frameworkは現在、5つの主要コンポーネントから構成されています。

o An overall architecture, described in RFC 2571 [RFC2571].

Oの全体的なアーキテクチャは、RFC 2571 [RFC2571]で説明します。

o Mechanisms for describing and naming objects and events for the purpose of management. The first version of this Structure of Management Information (SMI) is called SMIv1 and described in STD 16, RFC 1155 [RFC1155], STD 16, RFC 1212 [RFC1212] and RFC 1215 [RFC1215]. The second version, called SMIv2, is described in STD 58, RFC 2578 [RFC2578], STD 58, RFC 2579 [RFC2579] and STD 58, RFC 2580 [RFC2580].

管理の目的のためにオブジェクトとイベントを記述し、命名するためのメカニズムO。管理情報(SMI)のこの構造体の最初のバージョンはでSMIv1と呼ばれ、STD 16、RFC 1155 [RFC1155]、STD 16、RFC 1212 [RFC1212]及びRFC 1215 [RFC1215]に記載されています。 SMIv2のと呼ばれる第二のバージョンは、STD 58、RFC 2578 [RFC2578]、STD 58、RFC 2579 [RFC2579]とSTD 58、RFC 2580 [RFC2580]に記載されています。

o Message protocols for transferring management information. The first version of the SNMP message protocol is called SNMPv1 and described in STD 15, RFC 1157 [RFC1157]. A second version of the SNMP message protocol, which is not an Internet standards track protocol, is called SNMPv2c and described in RFC 1901 [RFC1901] and RFC 1906 [RFC1906]. The third version of the message protocol is called SNMPv3 and described in RFC 1906 [RFC1906], RFC 2572 [RFC2572] and RFC 2574 [RFC2574].

管理情報を転送するためのOメッセージプロトコル。 SNMPメッセージプロトコルの最初のバージョンは、SNMPv1と呼ばれ、STD 15、RFC 1157 [RFC1157]に記載されています。インターネット標準トラックプロトコルでないSNMPメッセージプロトコルの第2のバージョンは、SNMPv2cのと呼ばれ、RFC 1901 [RFC1901]及びRFC 1906 [RFC1906]に記載されています。メッセージプロトコルのバージョン3は、RFC 2572 [RFC2572]及びRFC 2574 [RFC2574]、[RFC1906]のSNMPv3と呼ばれ、RFC 1906年に記載されています。

o Protocol operations for accessing management information. The first set of protocol operations and associated PDU formats is described in STD 15, RFC 1157 [RFC1157]. A second set of protocol operations and associated PDU formats is described in RFC 1905 [RFC1905].

管理情報にアクセスするためのOプロトコル操作。プロトコル操作と関連PDU形式の第一セットは、STD 15、RFC 1157 [RFC1157]に記載されています。プロトコル操作と関連PDU形式の第2のセットは、RFC 1905 [RFC1905]に記載されています。

o A set of fundamental applications described in RFC 2573 [RFC2573] and the view-based access control mechanism described in RFC 2575 [RFC2575].

O RFC 2573 [RFC2573]に記載の基本アプリケーションとビューベースアクセス制御機構のセットは、RFC 2575 [RFC2575]で説明します。

A more detailed introduction to the current SNMP Management Framework can be found in RFC 2570 [RFC2570].

現在のSNMP Management Frameworkへの、より詳細な紹介は、RFC 2570 [RFC2570]で見つけることができます。

Managed objects are accessed via a virtual information store, termed the Management Information Base or MIB. Objects in the MIB are defined using the mechanisms defined in the SMI.

管理対象オブジェクトが仮想情報店を介してアクセスされ、管理情報ベースまたはMIBと呼ばれます。 MIBのオブジェクトは、SMIで定義されたメカニズムを使用して定義されています。

This memo specifies a MIB module that is compliant to the SMIv2. A MIB conforming to the SMIv1 can be produced through the appropriate translations. The resulting translated MIB must be semantically equivalent, except where objects or events are omitted because no translation is possible (use of Counter64). Some machine readable information in SMIv2 will be converted into textual descriptions in SMIv1 during the translation process. However, this loss of machine readable information is not considered to change the semantics of the MIB.

このメモはSMIv2に対応であるMIBモジュールを指定します。 SMIv1に従うMIBは、適切な翻訳を介して製造することができます。得られた翻訳されたMIBには翻訳(Counter64のの使用)が可能ではないので、オブジェクトまたはイベントが省略されている場合を除いて、意味的に等価でなければなりません。 SMIv2のいくつかの機械読み取り可能な情報には、翻訳プロセスの間、SMIv1の原文の記述に変換されます。しかし、機械読み取り可能な情報のこの損失がMIBの意味論を変えると考えられません。

3. Overview
3.概要

The Script MIB module defined in this memo can be used to delegate management functions to distributed managers. Management functions are defined as management scripts written in a management scripting language. This MIB makes no assumptions about the language itself and even allows distribution of compiled native code, if an implementation is able to execute native code under the control of this MIB.

このメモで定義されたスクリプトMIBモジュールは、分散マネージャに管理機能を委任するために使用することができます。管理機能は、管理スクリプト言語で記述された管理スクリプトとして定義されています。このMIBは、言語自体について何ら仮定を行わず、実装は、このMIBの制御下でネイティブコードを実行することができる場合であっても、コンパイルされたネイティブコードの配布を可能にします。

The Script MIB defines a standard interface for the delegation of management functions based on the Internet management framework. In particular, it provides the following capabilities:

スクリプトMIBは、インターネット管理フレームワークに基づいた管理機能の委任のための標準インターフェースを定義します。特に、次の機能を提供します。

1. Capabilities to transfer management scripts to a distributed manager.

1.機能は、分散管理者に管理スクリプトを転送します。

2. Capabilities for initiating, suspending, resuming and terminating management scripts.

管理スクリプトを開始、一時停止、再開、および終了するための2機能。

3. Capabilities to transfer arguments for management scripts.
3.機能は、管理スクリプトの引数を転送します。
4. Capabilities to monitor and control running management scripts.
4.機能を監視するために、制御は管理スクリプトを実行しています。

5. Capabilities to transfer the results produced by running management scripts.

5.機能は、管理スクリプトを実行することによって生成された結果を転送します。

This memo does not address any additional topics like the generation of notifications or how to address remote agents from a Script MIB implementation.

このメモは通知の生成方法やスクリプトMIBの実装からリモートエージェントに対処するためのような任意の追加のトピックを扱っていません。

3.1. Terms
3.1. 条項

This section defines the terms used throughout this memo.

このセクションでは、このメモ全体で使用される用語を定義します。

o A `distributed manager' is a processing entity which is capable of performing network management functions. For the scope of this memo, a distributed manager is assumed to implement the Script MIB.

O `分散マネージャは、」ネットワーク管理機能を実行することができる処理エンティティです。このメモの範囲のために、分散管理者は、スクリプトMIBを実装するものとします。

o A `higher-level manager', or just `manager', is a processing entity or human who initiates and controls the operations performed by one or more distributed managers.

`上位マネージャO「または単に`マネージャ」、一つ以上の分散マネージャの動作を開始し、制御処理エンティティまたはヒトです。

o A `management script' is a set of instructions written in an executable language which implements a management function.

O `管理スクリプトは、」管理機能を実現する実行可能な言語で記述された命令のセットです。

o A `management scripting language' is a language used to write management scripts. The term scripting language does not imply that the language must have the characteristics of scripting languages (e.g., string orientation, interpretation, weak typing). The MIB defined in this memo also allows to control management scripts written in arbitrary compiled system programming languages.

O `管理スクリプト言語は、」管理スクリプトを記述するために使用される言語です。用語のスクリプト言語は、言語はスクリプト言語(例えば、文字列の向き、解釈、弱い型付け)の特性を持っていなければならないことを意味するものではありません。このメモで定義されたMIBはまた、任意のコンパイルされたシステムのプログラミング言語で書かれた管理スクリプトを制御することができます。

o A `distributed manager' can be decomposed into an `SNMP entity' which implements the Script MIB defined in this memo and the ` runtime system' that executes scripts. The Script MIB sees the runtime system as the managed resource which is controlled by the MIB.

O `分散マネージャは、このメモで定義されたスクリプトMIBとスクリプトを実行する`ランタイムシステム」を実装「`SNMPエンティティに分解することができます」。スクリプトMIBは、MIBによって制御されている管理対象リソースとしてのランタイムシステムを見ています。

The runtime system can act as an SNMP application, according to the SNMP architecture defined in RFC 2571 [RFC2571]. For example, a runtime system which sends SNMP requests to other SNMP entities will act as a command generator application. The SNMP applications in the runtime system may use the same SNMP engine which also serves the command responder application used to implement the Script MIB, but they are not required to do so.

ランタイムシステムは、RFC 2571 [RFC2571]で定義されたSNMPアーキテクチャに従って、SNMPアプリケーションとして作用することができます。例えば、他のSNMPエンティティにSNMP要求を送信し、ランタイムシステムは、コマンドジェネレータアプリケーションとして動作します。ランタイムシステムでのSNMPアプリケーションもスクリプトMIBを実装するために使用されるコマンド応答アプリケーションを提供しています同じSNMPエンジンを使用するかもしれないが、彼らはそうする必要はありません。

o A `launch button' is the conceptual button used to start the execution of a management script. It assigns control parameters to a management script. In particular, it defines the ownership of the scripts started from a launch button. The ownership can be used by the language runtime system to enforce security profiles on a running management script.

O `起動ボタンは、」管理スクリプトの実行を開始するために使用概念のボタンです。これは、管理スクリプトに制御パラメータを割り当てます。特に、スクリプトの所有権は、起動ボタンから起動を定義します。所有権が実行している管理スクリプトのセキュリティプロファイルを適用するために、言語のランタイムシステムで使用することができます。

4. Requirements and Design Issues
4.要件と設計上の問題

This section discusses some general requirements that have influenced the design of the Script MIB.

このセクションでは、スクリプトMIBのデザインに影響を与えたいくつかの一般的な要件について説明します。

o The Script MIB must not make any assumptions about specific languages or runtime systems.

OスクリプトMIBは、特定の言語やランタイムシステムについての仮定をしてはいけません。

o The Script MIB must provide mechanisms that help to avoid new management problems (e.g., script version problems).

OスクリプトMIBは、新しい管理上の問題(例えば、スクリプト・バージョンの問題を)避けるために役立つメカニズムを提供しなければなりません。

o The Script MIB must provide SNMP interfaces to all functions required to delegate management scripts. However, other protocols might be used in addition if they provide a significant improvement in terms of convenience for implementation or performance.

OスクリプトMIBは、管理スクリプトを委任するために必要なすべての機能へのSNMPインターフェースを提供する必要があります。彼らは、実装やパフォーマンスのための利便性の面で大幅な改善を提供する場合しかし、他のプロトコルを追加して使用される可能性があります。

o The Script MIB must be organized so that access can be controlled effectively by using view-based access control [RFC2575].

アクセスは、ビューベースのアクセス制御[RFC2575]を使用することによって効果的に制御することができるように、OスクリプトMIBを整理しなければなりません。

The following sections discuss some design issues in more detail.

次のセクションでは、より詳細にいくつかの設計上の問題を議論します。

4.1. Script Languages
4.1. スクリプト言語

The Script MIB defined in this memo makes no assumption about the script language. This MIB can therefore be used in combination with different languages (such as Tcl or Java) and/or different versions of the same language. No assumptions are made about the format in which management scripts are transferred.

このメモで定義されたスクリプトMIBは、スクリプト言語についての仮定を行いません。このMIBは、したがって、(例えばTclのまたはJavaのような)別の言語、および/または同じ言語の異なるバージョンと組み合わせて使用​​することができます。何の仮定は、管理スクリプトが転送されるフォーマットについて行われていません。

The Script MIB provides access to information about the language versions supported by a Script MIB implementation so that a manager can learn about the capabilities provided by an implementation. Languages and language versions are identified as follows:

スクリプトMIBは、管理者は、実装によって提供される機能について学ぶことができるようにスクリプトMIBの実装でサポートされている言語バージョンに関する情報へのアクセスを提供します。次のように言語と言語のバージョンが識別されます。

1. The language is identified by an object identifier. Object identifier for well-known languages will be registered by the Internet Assigned Numbers Authority (IANA). Enterprise specific languages can also be registered in the enterprise specific OID subtree.

1言語は、オブジェクト識別子によって識別されます。よく知られている言語のオブジェクト識別子は、Internet Assigned Numbers Authority(IANA)によって登録されます。エンタープライズ固有の言語はまた、企業固有のOIDサブツリーに登録することができます。

2. A particular version of a language is identified by a language version number. The combination of a language object identifier and a language version is in most cases sufficient to decide whether a script can be executed or not.

2.言語の特定のバージョンは、言語バージョン番号によって識別されます。言語オブジェクト識別子および言語バージョンの組み合わせは、スクリプトが実行できるかどうかを判断するために、ほとんどのケースで十分です。

3. Different implementations of the same language version might have differences due to ambiguities in the language definition or additional language features provided by an implementor. An additional object identifier value is provided which identifies the organization which provides the implementation of a language. This might be used by scripts that require a particular implementation of a language.

同じ言語バージョンの3異なる実装は、言語定義における曖昧か実装によって提供される追加の言語機能による違いがあるかもしれません。追加のオブジェクト識別子の値は、言語の実装を提供する組織を識別するが提供されます。これは、言語の特定の実装を必要とするスクリプトによって使用される可能性があります。

4. Finally, there might be different versions of a language implementation. A version number for the language implementation is provided so that the manager can also distinguish between different implementations from the same organization of a particular language version.

4.最後に、言語の実装の異なるバージョンがある可能性があります。マネージャは、特定の言語バージョンの同じ組織からの異なる実装を区別できるように、言語実装のバージョン番号が提供されます。

The version numbers can either be used by a manager to select the language version required to execute a particular script or to select a script that fits the language versions supported by a particular Script MIB implementation.

バージョン番号は、いずれかの特定のスクリプトを実行するか、特定のスクリプトMIBの実装によってサポートされている言語のバージョンに合ったスクリプトを選択するために必要な言語バージョンを選択するために管理者が使用することができます。

An additional table lists language extensions that provide features not provided by the core language. Language extensions are usually required to turn a general purpose language into a management language. In many cases, language extensions will come in the form of libraries that provide capabilities like sending SNMP requests to remote SNMP agents or accessing the local MIB instrumentation. Every extension is associated with a language and carries its own version numbers.

追加のテーブルには、コア言語で提供されていない機能を提供する言語拡張を示しています。言語拡張は、通常、管理言語に汎用言語をオンにする必要があります。多くの場合、言語拡張は、リモートSNMPエージェントにSNMP要求を送信するか、ローカルMIB計装へのアクセスなどの機能を提供するライブラリの形で来ます。すべての拡張は、言語に関連付けられており、独自のバージョン番号を運びます。

4.2. Script Transfer
4.2. スクリプト転送

There are two different ways to transfer management scripts to a distributed manager. The first approach requires that the manager pushes the script to the distributed manager. This is therefore called the `push model'. The second approach is the `pull model' where the manager tells the distributed manager the location of the script and the distributed manager retrieves the script itself.

分散管理者に管理スクリプトを転送するには、2つの異なる方法があります。最初のアプローチは、管理者は、分散管理者にスクリプトをプッシュすることが必要です。したがって、これは、 `プッシュモデル」と呼ばれます。第2のアプローチは、管理者がスクリプトの位置と分散マネージャは、スクリプト自体を検索分散マネージャに指示 `プルモデル」です。

The MIB defined in this memo supports both models. The `push model' is realized by a table which allows a manager to write scripts by sending a sequence of SNMP set requests. The script can be split into several fragments in order to deal with SNMP message size limitations.

このメモで定義されたMIBは、両方のモデルをサポートしています。 `プッシュモデルは、」管理者がSNMP SET要求のシーケンスを送信することにより、スクリプトを書くことができますテーブルによって実現されます。このスクリプトは、SNMPメッセージのサイズ制限に対処するために、いくつかの断片に分割することができます。

The `pull model' is realized by the use of Uniform Resource Locators (URLs) [RFC2396] that point to the script source. The manager writes the URL which points to the script source to the distributed manager by sending an SNMP set request. The distributed manager is then responsible for retrieving the document using the protocol specified in the URL. This allows the use of protocols like FTP [RFC959] or HTTP [RFC2616] to transfer large management scripts efficiently.

`プルモデル」はユニフォーム・リソース・ロケータ(URL)[RFC2396]スクリプトソースへのポイントを使用することによって実現されます。マネージャは、SNMP設定要求を送信することにより、分散管理者にスクリプトのソースを指すURLを書き込みます。分散マネージャは、URLで指定されたプロトコルを使用して文書を検索する責任があります。これは、FTP [RFC959]またはHTTP [RFC2616]などのプロトコルの使用が効率的に大規模な管理スクリプトを転送することができます。

The Script MIB also allows management scripts that are hard-wired into the Script MIB implementation. Built-in scripts can either be implemented in a language runtime system, or they can be built natively into the Script MIB implementation. The implementation of the `push model' or the `pull model' is not required.

スクリプトMIBはまた、スクリプトMIBの実装にハード配線されている管理スクリプトを可能にします。内蔵のスクリプトは、どちらの言語のランタイムシステムに実装することも、スクリプトMIBの実装にネイティブに構築することができます。 `プッシュモデル「または`プルモデル」の実装が必要とされていません。

Scripts can be stored in non-volatile storage. This allows a distributed manager to restart scripts if it is restarted (off-line restart). A manager is not required to push scripts back into the distributed manager after a restart if the script is backed up in non-volatile storage.

スクリプトは、不揮発性ストレージに格納することができます。これは、それが(オフライン再起動)を再起動された場合、分散管理者がスクリプトを再起動することができます。管理者は、スクリプトは、不揮発性記憶装置にバックアップされている場合、再起動後に戻っ分散マネージャにスクリプトをプッシュする必要はありません。

Every script is identified by an administratively assigned name. This name may be used to derive the name which is used to access the script in non-volatile storage. This mapping is implementation specific. However, the mapping must ensure that the Script MIB implementation can handle scripts with the same administrative name owned by different managers. One way to achieve this is to use the script owner in addition to the script name in order to derive the internal name used to refer to a particular script in non-volatile storage.

すべてのスクリプトは管理上割り当てられた名前で識別されます。この名前は、不揮発性ストレージ内のスクリプトにアクセスするために使用される名前を導出するために使用することができます。このマッピングは、実装固有のものです。しかし、マッピングは、スクリプトMIBの実装が異なる管理者が所有している同じ管理名でスクリプトを処理できることを確認する必要があります。これを達成する1つの方法は、不揮発性記憶装置内の特定のスクリプトを参照するために使用される内部名を導出するために、スクリプト名に加えて、スクリプトの所有者を使用することです。

4.3. Script Execution
4.3. スクリプトの実行

The Script MIB permits execution of several instances of the same or different management scripts. Script arguments are passed as OCTET STRING values. Scripts return a single result value which is also an OCTET STRING value. The semantic interpretation of result values is left to the invoking manager or other management scripts. A script invoker must understand the format and semantics of both the arguments and the results of the scripts that it invokes.

スクリプトMIBは、同一または異なる管理スクリプトの複数のインスタンスの実行を許可します。スクリプトの引数は、オクテット文字列値として渡されます。スクリプトはまた、オクテット文字列値である単一の結果値を返します。結果値の意味解釈は、呼び出し元の管理者またはその他の管理スクリプトに任されています。スクリプトの呼び出しは、引数とそれが呼び出すスクリプトの結果の両方の形式と意味を理解する必要があります。

Scripts can also export complex results through a MIB interface. This allows a management application to access and use script results in the same manner as it processes any other MIB data. However, the Script MIB does not provide any special support for the implementation of MIBs through scripts.

スクリプトはまた、MIBインタフェースを介して、複雑な結果をエクスポートすることができます。これは、他のMIBデータを処理するように管理アプリケーションは、同様にスクリプトの結果にアクセスして使用することを可能にします。しかし、スクリプトMIBは、スクリプト経由のMIBの実装のための特別なサポートを提供していません。

Runtime errors terminate active scripts. An exit code and a human readable error message is left in the MIB. A notification containing the exit code, the error message and a timestamp is generated when a script terminates with an error exit code.

ランタイムエラーは、アクティブスクリプトを終了します。終了コードと人間が読めるエラーメッセージがMIBに残されます。スクリプトがエラー終了コードで終了したときに終了コード、エラーメッセージおよびタイムスタンプを含む通知が生成されます。

Script arguments and results do not have any size limitations other than the limits imposed by the SMI and the SNMP protocol. However, implementations of this MIB might have further restrictions. A script designer might therefore choose to return the results via other mechanisms if the script results can be very large. One possibility is to return a URL as a script result which points to the file containing the script output.

スクリプトの引数と結果はSMIとSNMPプロトコルによる制限以外の任意のサイズの制限はありません。しかし、このMIBの実装はさらなる制限がある場合があります。スクリプトの設計者は、したがって、スクリプトの結果は非常に大きくなる可能性があれば、他の機構を介して結果を返すことを選択するかもしれません。一つの可能​​性は、スクリプトの出力を含むファイルを指すスクリプト結果としてURLを返すことです。

Executing scripts have a status object attached which allows script execution to be suspended, resumed, or aborted. The precise semantics of the suspend and resume operations are language and runtime system dependent. Some runtime systems may choose to not implement the suspend/resume operations.

実行スクリプトが再開、または中止され、スクリプトの実行を中断することを可能に取り付けられた状態オブジェクトを有しています。一時停止と再開の操作の正確な意味は、言語とランタイムシステムに依存しています。いくつかのランタイムシステムは、サスペンド/レジュームオペレーションを実装しないことを選択できます。

A history of finished scripts is kept in the MIB. A script invoker can collect results at a later point in time (offline operation). Control objects can be used to control how entries in the history are aged out if the table fills up.

完成したスクリプトの履歴は、MIBに保存されます。スクリプトの呼び出しは、時間(オフライン操作)における後の時点で結果を収集することができます。コントロールオブジェクトは、テーブルがいっぱいになった場合の歴史の中でエントリが期限切れ方法を制御するために使用することができます。

5. Structure of the MIB
MIBの5.構造

This section presents the structure of the MIB. The objects are arranged into the following groups:

このセクションでは、MIBの構造を示しています。オブジェクトは、以下のグループに配置されています。

o language group (smLangTable, smExtsnTable)

O言語グループ(smLangTable、smExtsnTable)

o script group (smScriptTable)

Oスクリプトグループ(smScriptTable)

o script code group (smCodeTable)

Oスクリプトコード群(smCodeTable)

o script launch group (smLaunchTable)

Oスクリプトの起動・グループ(smLaunchTable)

o running script group (smRunTable)

O実行中のスクリプトグループ(smRunTable)

5.1. Language Group
5.1. 言語グループ

The smLanguageGroup is used to provide information about the languages and the language extensions supported by a Script MIB implementation. This group includes two tables. The smLangTable lists all languages supported by a Script MIB implementation and the smExtsnTable lists the extensions that are available for a given language.

smLanguageGroupは、言語やスクリプトMIBの実装でサポートされている言語拡張についての情報を提供するために使用されます。このグループには、2つのテーブルを含んでいます。 smLangTableスクリプトMIBの実装でサポートされているすべての言語を一覧表示し、smExtsnTableは、特定の言語で利用可能な拡張を示しています。

5.2. Script Group
5.2. スクリプトのグループ

The smScriptGroup consists of a single table, called the smScriptTable. The smScriptTable lists all scripts known to a Script MIB implementation. The smScriptTable contains objects that allow the following operations:

smScriptGroupは、単一のテーブルで構成され、smScriptTableと呼ばれます。 smScriptTableスクリプトMIBの実装に知られているすべてのスクリプトを示しています。 smScriptTableは、以下の操作を許可するオブジェクトが含まれています。

o download scripts from a URL (pull model)

O URL(プルモデル)からスクリプトをダウンロード

o read scripts from local non-volatile storage

Oローカル不揮発性ストレージからスクリプトを読んで

o store scripts in local non-volatile storage

ローカル不揮発性ストレージ内のOストアスクリプト

o delete scripts from local non-volatile storage

Oローカル不揮発性ストレージからスクリプトを削除します

o list permanent scripts (that can not be changed or removed)

Oリスト永久スクリプト(つまり、変更または削除することはできません)

o read and modify the script status (enabled, disabled, editing)

O読み、スクリプトのステータス(有効、無効、編集)を変更

A status object called smScriptOperStatus allows a manager to obtain the current status of a script. It is also used to provide an error indication if an attempt to invoke one of the operations listed above fails. The status change of a script can be requested by modifying the associated smScriptAdminStatus object.

smScriptOperStatus呼ばれるステータスオブジェクトマネージャは、スクリプトの現在のステータスを得ることができます。また、失敗した上記のいずれかの操作を起動しようとするとエラー表示を提供するために使用されます。スクリプトのステータスの変更は、関連するsmScriptAdminStatusオブジェクトを修正することを要求することができます。

The source of a script is defined by the smScriptSource object. This object may contain a URL pointing to a remote location which provides access to the management script. The script source is read from the smCodeTable (described below) or from non-volatile storage if the smScriptSource object contains an empty URL. The smScriptStorageType object is used to distinguish between scripts read from non-volatile storage and scripts read from the smCodeTable.

スクリプトのソースはsmScriptSourceオブジェクトによって定義されます。このオブジェクトは、管理スクリプトへのアクセスを提供するリモート・ロケーションを指し示すURLを含むことができます。 smScriptSourceオブジェクトが空のURLが含まれている場合、スクリプトのソースはsmCodeTable(後述)から、または不揮発性記憶装置から読み出されます。 smScriptStorageTypeオブジェクトはsmCodeTableから読み出され、不揮発性記憶装置から読み出されたスクリプトおよびスクリプトを区別するために使用されます。

Scripts are automatically loaded once the smScriptAdminStatus object is set to `enabled'. Loading a script includes retrieving the script (probably from a remote location), compiling the script for languages that require a compilation step, and making the code available to the runtime system. The smScriptOperStatus object is used to indicate the status of the loading process. This object will start in the state `retrieving', switch to the state `compiling' and finally reach the state `enabled'. Errors during the retrieval or compilation phase will result in an error state such as `compilationFailed'.

smScriptAdminStatusオブジェクトは `「有効に設定されると、スクリプトは自動的にロードされます。スクリプトをロードすると、(おそらく、遠隔地から)スクリプトを取得するコンパイル工程を必要とする言語のスクリプトをコンパイルし、ランタイムシステムに利用可能なコードを作る含みます。 smScriptOperStatusオブジェクトは、ロード処理のステータスを示すために使用されます。このオブジェクトは「コンパイル `状態に切り替える」状態`検索で開始し、最終的に状態に到達します `「有効。検索またはコンパイルフェーズ中のエラーは、 `「compilationFailedとしてエラー状態になります。

5.3. Code Group
5.3. コードグループ

The smCodeGroup consists of a single table, called the smCodeTable, which provides the ability to transfer and modify scripts via SNMP set requests. In particular, the smCodeTable allows the following operations:

smCodeGroupは、単一のテーブルで構成され、SNMP SET要求を経由してスクリプトを転送し、変更する機能を提供しsmCodeTableは、と呼ばれます。特に、smCodeTableは、次の操作を可能にします。

o download scripts via SNMP (push model)

SNMP経由O・ダウンロード・スクリプト(プッシュモデル)

o modify scripts via SNMP (editing)

O SNMP経由でスクリプトを変更(編集)

The smCodeTable lists the code of a script. A script can be fragmented over multiple rows of the smCodeTable in order to handle SNMP message size limitations. Modifications of the smCodeTable are only possible if the associated smScriptOperStatus object has the value `editing'. The Script MIB implementation reloads the modified script code once the smScriptOperStatus changes to `enabled' again.

smCodeTableは、スクリプトのコードを示しています。スクリプトは、SNMPメッセージサイズの制限を処理するためにsmCodeTableの複数の行を上に断片化することができます。関連smScriptOperStatusオブジェクトは値 '編集」を有する場合smCodeTableの修正のみ可能です。 smScriptOperStatusが再び「有効 `に変更したら、スクリプトMIBの実装が変更されたスクリプトコードをリロードします。

The implementation of the smCodeGroup is optional.

smCodeGroupの実装はオプションです。

5.4. Launch Group
5.4. 起動グループ

The smLaunchGroup contains a single table, the smLaunchTable. An entry in the smLaunchTable represents a launch button which can be used to start a script. The smLaunchTable allows the following operations:

smLaunchGroupは、単一のテーブル、smLaunchTableが含まれています。 smLaunchTableのエントリは、スクリプトを起動するために使用することができます起動ボタンを表します。 smLaunchTableには、次の操作ができます。

o associate a script with an owner used during script execution

Oスクリプトの実行時に使用される所有者とスクリプトを関連付けます

o provide arguments and parameters for script invocation

Oスクリプトの呼び出しの引数とパラメータを提供

o invoke scripts with a single set operation

O単一セット操作でスクリプトを呼び出します

The smLaunchTable describes scripts and their parameters that are ready to be launched. An entry in the smLaunchTable attaches an argument to a script and control values which, for example, define the maximum number of times that a script invoked from a particular row in the smLaunchTable may be running concurrently.

smLaunchTableはスクリプトと起動する準備ができている彼らのパラメータについて説明します。 smLaunchTableのエントリは、例えば、smLaunchTable内の特定の行から呼び出されたスクリプトを同時に実行することができる最大回数を定義し、スクリプトと制御値の引数を付加します。

An entry in the smLaunchTable also defines the owner which will be used to associate permissions with the script execution.

smLaunchTableのエントリは、スクリプトの実行に権限を関連付けるために使用される所有者を定義します。

5.5. Run Group
5.5. 実行グループ

The smRunGroup contains a single table, called the smRunTable, which lists all scripts that are currently running or have terminated recently. The smRunTable contains objects that allow the following operations: o retrieve status information from running scripts

smRunGroupは、単一のテーブルが含まれている、現在実行中または最近終了したすべてのスクリプトを示していますsmRunTableは、と呼ばれます。 smRunTableは、以下の操作を許可するオブジェクトが含まれています。oスクリプトを実行しているからステータス情報を取得します

o control running scripts (suspend, resume, abort)

O制御実行中のスクリプト(中止、中断、再開)

o retrieve results from recently terminated scripts

O最近終了したスクリプトから結果を取得します

o control the remaining maximum lifetime of a running script

O実行スクリプトの残りの最大寿命を制御します

o control how long script results are accessible

Oスクリプトの結果がアクセス可能である時間の長さを制御

Every row in the smRunTable contains the argument passed during script invocation, the result produced by the script and the script exit code. The smRunTable also provides information about the current run state as well as start and end time-stamps. There are three writable objects in the smRunTable. The smRunLifeTime object defines the maximum time a running script may run before it is terminated by the Script MIB implementation. The smRunExpireTime object defines the time that a completed script can stay in the smRunTable before it is aged out. The smRunControl object allows running scripts to be suspended, resumed, or aborted.

smRunTableのすべての行は、スクリプト呼び出し中に渡される引数、スクリプトおよびスクリプトの終了コードによって生成された結果を含んでいます。 smRunTableは、現在の実行状態だけでなく、開始と終了のタイムスタンプに関する情報を提供します。 smRunTableで3つの書き込み可能なオブジェクトがあります。 smRunLifeTimeオブジェクトは、それがスクリプトMIBの実装によって終了される前に、実行中のスクリプトが実行可能な最大時間を定義します。 smRunExpireTimeオブジェクトは、それが期限切れになる前に完成したスクリプトはsmRunTableに滞在できる時間を定義します。 smRunControlオブジェクトを再開、または中止され、実行中のスクリプトが中断することができます。

6. Definitions
6.定義
   DISMAN-SCRIPT-MIB DEFINITIONS ::= BEGIN
        

IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Unsigned32, mib-2 FROM SNMPv2-SMI

SNMPv2の-SMIからの輸入MODULE-IDENTITY、OBJECT-TYPE、NOTIFICATION-TYPE、構文Integer32、Unsigned32の、MIB-2

       RowStatus, TimeInterval, DateAndTime, StorageType, DisplayString
           FROM SNMPv2-TC
        

MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF

MODULE-COMPLIANCE、OBJECT-GROUP、NOTIFICATION-GROUPのSNMPv2-CONF FROM

SnmpAdminString FROM SNMP-FRAMEWORK-MIB;

SNMP-FRAMEWORK-MIBかられるSnmpAdminString。

scriptMIB MODULE-IDENTITY LAST-UPDATED "200108210000Z" ORGANIZATION "IETF Distributed Management Working Group" CONTACT-INFO "WG EMail: disman@dorothy.bmc.com Subscribe: disman-request@dorothy.bmc.com

scriptMIBのMODULE-IDENTITY LAST-UPDATED "200108210000Z" ORGANIZATION "IETF分散管理ワーキンググループ" CONTACT-INFO「WGメール:disman@dorothy.bmc.com購読:disman-request@dorothy.bmc.com

            Chair:     Randy Presuhn
                       BMC Software, Inc.
        

Postal: Office 1-3141 2141 North First Street San Jose, California 95131 USA EMail: rpresuhn@bmc.com Phone: +1 408 546-1006

郵便:オフィス1-3141 2141北まずストリートサンノゼ、カリフォルニア95131 USA Eメール:rpresuhn@bmc.com電話:+1 408 546から1006

Editor: David B. Levi Nortel Networks Postal: 4401 Great America Parkway Santa Clara, CA 95052-8185 USA EMail: dlevi@nortelnetworks.com Phone: +1 423 686 0432

編集者:デビッド・B・レビNortel Networksの郵便:4401グレートアメリカパークウェイサンタクララ、CA 95052から8185 USA電子メール:dlevi@nortelnetworks.com電話:+1 423 686 0432

Editor: Juergen Schoenwaelder TU Braunschweig Postal: Bueltenweg 74/75 38106 Braunschweig Germany EMail: schoenw@ibr.cs.tu-bs.de Phone: +49 531 391-3283" DESCRIPTION "This MIB module defines a set of objects that allow to delegate management scripts to distributed managers." REVISION "200108210000Z" DESCRIPTION "Revised version, published as RFC 3165.

編集者:ユルゲンSchoenwaelder TUブラウンシュヴァイク郵便:Bueltenweg 75分の74 38106ブラウンシュヴァイク、ドイツEメール:schoenw@ibr.cs.tu-bs.de電話:+49 531 391から3283" DESCRIPTION「このMIBモジュールはできるようにするオブジェクトのセットを定義します分散管理者に管理スクリプトを委任します。「REVISION 『200108210000Z』 DESCRIPTION」改訂版は、RFC 3165として公開します。

            This revision introduces several new objects: smScriptError,
            smScriptLastChange, smLaunchError, smLaunchLastChange,
            smLaunchRowExpireTime, smRunResultTime, and smRunErrorTime.
        

The following existing objects were updated: the maximum value of smRunLifeTime now disables the timer, an autostart value was added to the smLaunchAdminStatus object, and a new expired state was added to the smLaunchOperStatus object.

以下の既存のオブジェクトが更新されました。smRunLifeTimeの最大値は、現在のタイマーを無効にし、自動値はsmLaunchAdminStatusオブジェクトに加え、新たに期限切れの状態がsmLaunchOperStatusオブジェクトに追加されました。

A new smScriptException notification has been added to support runtime error notifications.

新しいsmScriptException通知は、ランタイムエラーの通知をサポートするために追加されました。

Created new conformance and compliance statements that take care of the new objects and notifications.

新しいオブジェクトおよび通知の世話をする、新たな適合性とコンプライアンスの声明を作成しました。

Clarifications have been added in several places to remove ambiguities or contradictions that were discovered and reported by implementors."

明確化が発見され、実装者によって報告された曖昧さや矛盾を取り除くためにいくつかの場所に追加されました。」

       REVISION    "199902221800Z"
       DESCRIPTION
           "Initial version, published as RFC 2592."
       ::= { mib-2 64 }
        

-- -- The groups defined within this MIB module: --

- - このMIBモジュール内で定義されたグループ: -

   smObjects       OBJECT IDENTIFIER ::= { scriptMIB 1 }
   smNotifications OBJECT IDENTIFIER ::= { scriptMIB 2 }
   smConformance   OBJECT IDENTIFIER ::= { scriptMIB 3 }
        

-- -- Script language and language extensions. -- -- This group defines tables which list the languages and the -- language extensions supported by a Script MIB implementation. -- Languages are uniquely identified by object identifier values. --

- - スクリプト言語と言語拡張。 - - スクリプトMIBの実装でサポートされている言語拡張 - このグループは、言語とリストのテーブルを定義します。 - 言語は、一意のオブジェクト識別子値によって識別されます。 -

   smLangTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF SmLangEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "This table lists supported script languages."
       ::= { smObjects 1 }
        
   smLangEntry OBJECT-TYPE
       SYNTAX      SmLangEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "An entry describing a particular language."
       INDEX { smLangIndex }
       ::= { smLangTable 1 }
        
   SmLangEntry ::= SEQUENCE {
       smLangIndex         Integer32,
       smLangLanguage      OBJECT IDENTIFIER,
       smLangVersion       SnmpAdminString,
       smLangVendor        OBJECT IDENTIFIER,
       smLangRevision      SnmpAdminString,
       smLangDescr         SnmpAdminString
   }
        

smLangIndex OBJECT-TYPE

smLangIndexのOBJECT-TYPE

       SYNTAX      Integer32 (1..2147483647)
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "The locally arbitrary, but unique identifier associated
            with this language entry.
        
            The value is expected to remain constant at least from one
            re-initialization of the entity's network management system
            to the next re-initialization.
        
            Note that the data type and the range of this object must
            be consistent with the definition of smScriptLanguage."
       ::= { smLangEntry 1 }
        
   smLangLanguage OBJECT-TYPE
       SYNTAX      OBJECT IDENTIFIER
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The globally unique identification of the language."
       ::= { smLangEntry 2 }
        

smLangVersion OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "The version number of the language. The zero-length string shall be used if the language does not have a version number.

smLangVersion OBJECT-TYPE構文れるSnmpAdminString(SIZE(0 32))MAX-ACCESS read-only説明「言語のバージョン番号。言語は、バージョン番号を持っていない場合、長さゼロの文字列を使用しなければなりません。

            It is suggested that the version number consist of one or
            more decimal numbers separated by dots, where the first
            number is called the major version number."
       ::= { smLangEntry 3 }
        

smLangVendor OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-only STATUS current DESCRIPTION "An object identifier which identifies the vendor who provides the implementation of the language. This object identifier SHALL point to the object identifier directly below the enterprise object identifier {1 3 6 1 4 1} allocated for the vendor. The value must be the object identifier {0 0} if the vendor is not known."

smLangVendor OBJECT-TYPE構文オブジェクト識別子MAX-ACCESS read-only説明「言語の実装を提供するベンダーを識別するオブジェクト識別子は、このオブジェクト識別子は直接エンタープライズオブジェクト識別子{1 3以下のオブジェクト識別子を指すものと6 1 4 1}ベンダーのために割り当てられたベンダーが既知でない場合の値は、オブジェクト識別子{0}でなければなりません。」

       ::= { smLangEntry 4 }
        

smLangRevision OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "The version number of the language implementation. The value of this object must be an empty string if version number of the implementation is unknown.

smLangRevision OBJECT-TYPE構文れるSnmpAdminString(SIZE(0 32))MAX-ACCESS read-only説明「言語実装のバージョン番号。インプリメンテーションのバージョン番号である場合、このオブジェクトの値は空の文字列でなければなりません未知の。

            It is suggested that the value consist of one or more
            decimal numbers separated by dots, where the first
            number is called the major version number."
       ::= { smLangEntry 5 }
        
   smLangDescr OBJECT-TYPE
       SYNTAX      SnmpAdminString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "A textual description of the language."
       ::= { smLangEntry 6 }
        
   smExtsnTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF SmExtsnEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "This table lists supported language extensions."
       ::= { smObjects 2 }
        
   smExtsnEntry OBJECT-TYPE
       SYNTAX      SmExtsnEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "An entry describing a particular language extension."
       INDEX { smLangIndex, smExtsnIndex }
       ::= { smExtsnTable 1 }
        
   SmExtsnEntry ::= SEQUENCE {
       smExtsnIndex        Integer32,
       smExtsnExtension    OBJECT IDENTIFIER,
       smExtsnVersion      SnmpAdminString,
       smExtsnVendor       OBJECT IDENTIFIER,
       smExtsnRevision     SnmpAdminString, smExtsnDescr        SnmpAdminString
   }
        

smExtsnIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The locally arbitrary, but unique identifier associated with this language extension entry.

smExtsnIndex OBJECT-TYPE構文Integer32(1 2147483647)MAX-ACCESSステータス現在の説明は「この言語拡張のエントリに関連付けられているローカルには任意ですが、ユニークな識別子。

            The value is expected to remain constant at least from one
            re-initialization of the entity's network management system
            to the next re-initialization."
       ::= { smExtsnEntry 1}
        
   smExtsnExtension OBJECT-TYPE
       SYNTAX      OBJECT IDENTIFIER
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The globally unique identification of the language
            extension."
       ::= { smExtsnEntry 2 }
        
   smExtsnVersion OBJECT-TYPE
       SYNTAX      SnmpAdminString (SIZE (0..32))
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The version number of the language extension.
            It is suggested that the version number consist of one or
            more decimal numbers separated by dots, where the first
            number is called the major version number."
       ::= { smExtsnEntry 3 }
        
   smExtsnVendor OBJECT-TYPE
       SYNTAX      OBJECT IDENTIFIER
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "An object identifier which identifies the vendor who
            provides the implementation of the extension. The
            object identifier value should point to the OID node
            directly below the enterprise OID {1 3 6 1 4 1}
            allocated for the vendor. The value must by the object
            identifier {0 0} if the vendor is not known."
       ::= { smExtsnEntry 4 }
        

smExtsnRevision OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "The version number of the extension implementation. The value of this object must be an empty string if version number of the implementation is unknown.

smExtsnRevision OBJECT-TYPE構文れるSnmpAdminString(SIZE(0 32))MAX-ACCESS read-only説明「拡張機能の実装のバージョン番号。インプリメンテーションのバージョン番号である場合、このオブジェクトの値は空の文字列でなければなりません未知の。

            It is suggested that the value consist of one or more
            decimal numbers separated by dots, where the first
            number is called the major version number."
       ::= { smExtsnEntry 5 }
        
   smExtsnDescr OBJECT-TYPE
       SYNTAX      SnmpAdminString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "A textual description of the language extension."
       ::= { smExtsnEntry 6 }
        

-- -- Scripts known by the Script MIB implementation. -- -- This group defines a table which lists all known scripts. -- Scripts can be added and removed through manipulation of the -- smScriptTable. --

- - スクリプトMIB実装によって知られているスクリプト。 - - このグループは、すべての既知のスクリプトを一覧表示テーブルを定義します。 - smScriptTable - スクリプトがを操作して追加および削除することができます。 -

   smScriptObjects OBJECT IDENTIFIER ::= { smObjects 3 }
        
   smScriptTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF SmScriptEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "This table lists and describes locally known scripts."
       ::= { smScriptObjects 1 }
        

smScriptEntry OBJECT-TYPE SYNTAX SmScriptEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry describing a particular script. Every script that is stored in non-volatile memory is required to appear in this script table."

smScriptEntryのOBJECT-TYPE SYNTAX SmScriptEntry MAX-ACCESSステータス現在の説明「特定のスクリプトを記述したエントリが。不揮発性メモリに保存されているすべてのスクリプトは、このスクリプトテーブルに表示する必要があります。」

       INDEX { smScriptOwner, smScriptName }
       ::= { smScriptTable 1 }
        
   SmScriptEntry ::= SEQUENCE {
       smScriptOwner       SnmpAdminString,
       smScriptName        SnmpAdminString,
       smScriptDescr       SnmpAdminString,
       smScriptLanguage    Integer32,
       smScriptSource      DisplayString,
       smScriptAdminStatus INTEGER,
       smScriptOperStatus  INTEGER,
       smScriptStorageType StorageType,
       smScriptRowStatus   RowStatus,
       smScriptError       SnmpAdminString,
       smScriptLastChange  DateAndTime
   }
        
   smScriptOwner OBJECT-TYPE
       SYNTAX      SnmpAdminString (SIZE (0..32))
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "The manager who owns this row in the smScriptTable."
       ::= { smScriptEntry 1 }
        

smScriptName OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (1..32)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The locally-unique, administratively assigned name for this script. This object allows an smScriptOwner to have multiple entries in the smScriptTable.

smScriptName OBJECT-TYPE SYNTAXれるSnmpAdminString(SIZE(1 32))MAX-ACCESSステータス現在の説明は「このスクリプトのローカルでユニークな、管理上割り当てられた名前。このオブジェクトはsmScriptOwnerがsmScriptTableに複数のエントリを持つことができます。

            This value of this object may be used to derive the name
            (e.g. a file name) which is used by the Script MIB
            implementation to access the script in non-volatile
            storage. The details of this mapping are implementation
            specific. However, the mapping needs to ensure that scripts
            created by different owners with the same script name do not
            map to the same name in non-volatile storage."
       ::= { smScriptEntry 2 }
        

smScriptDescr OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS read-create STATUS current DESCRIPTION

smScriptDescrのOBJECT-TYPE SYNTAXれるSnmpAdminString MAX-ACCESSはリード作成しますステータス現在の説明

           "A description of the purpose of the script."
       ::= { smScriptEntry 3 }
        

smScriptLanguage OBJECT-TYPE SYNTAX Integer32 (0..2147483647) MAX-ACCESS read-create STATUS current DESCRIPTION "The value of this object type identifies an entry in the smLangTable which is used to execute this script. The special value 0 may be used by hard-wired scripts that can not be modified and that are executed by internal functions.

smScriptLanguageのOBJECT-TYPE構文Integer32(0 2147483647)MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクトタイプの値は、このスクリプトを実行するために使用されるsmLangTableのエントリを識別する。特別な値0が使用することができます修飾することができず、ハードワイヤードスクリプトは内部機能によって実行されます。

            Set requests to change this object are invalid if the
            value of smScriptOperStatus is `enabled' or `compiling'
            and will result in an inconsistentValue error.
        
            Note that the data type and the range of this object must
            be consistent with the definition of smLangIndex."
       ::= { smScriptEntry 4 }
        

smScriptSource OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-create STATUS current DESCRIPTION "This object either contains a reference to the script source or an empty string. A reference must be given in the form of a Uniform Resource Locator (URL) as defined in RFC 2396. The allowed character sets and the encoding rules defined in RFC 2396 section 2 apply.

smScriptSourceのOBJECT-TYPE構文DisplayString MAX-ACCESSはリード作成ステータス現在の説明は「このオブジェクトのいずれかスクリプト源または空の文字列への参照を含む。で定義されている基準は、ユニフォームリソースロケータ(URL)の形式で与えられなければなりませんRFC 2396 RFC 2396のセクション2で定義された許容文字セットと符号化規則が適用されます。

            When the smScriptAdminStatus object is set to `enabled',
            the Script MIB implementation will `pull' the script
            source from the URL contained in this object if the URL
            is not empty.
        

An empty URL indicates that the script source is loaded from local storage. The script is read from the smCodeTable if the value of smScriptStorageType is volatile. Otherwise, the script is read from non-volatile storage.

空のURLは、スクリプトのソースがローカルストレージからロードされていることを示しています。 smScriptStorageTypeの値が揮発性である場合、スクリプトはsmCodeTableから読み込まれます。そうしないと、スクリプトは、不揮発性記憶装置から読み込まれます。

Note: This document does not mandate implementation of any specific URL scheme. An attempt to load a script from a nonsupported URL scheme will cause the smScriptOperStatus to report an `unknownProtocol' error.

注意:この文書は、特定のURLスキームの実装を強制しません。サポート対象外のURLスキームからスクリプトをロードしようとすると、smScriptOperStatusは `unknownProtocol」エラーを報告するようになります。

            Set requests to change this object are invalid if the
            value of smScriptOperStatus is `enabled', `editing',
            `retrieving' or `compiling' and will result in an
            inconsistentValue error."
       DEFVAL { ''H }
       ::= { smScriptEntry 5 }
        

smScriptAdminStatus OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2), editing(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The value of this object indicates the desired status of the script. See the definition of smScriptOperStatus for a description of the values.

smScriptAdminStatusのOBJECT-TYPE SYNTAX INTEGER {(2)無効、(1)有効、編集(3)} MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクトの値は、スクリプトの所望の状態を示している。smScriptOperStatusの定義を参照してください値の説明のために。

            When the smScriptAdminStatus object is set to `enabled' and
            the smScriptOperStatus is `disabled' or one of the error
            states, the Script MIB implementation will `pull' the script
            source from the URL contained in the smScriptSource object
            if the URL is not empty."
       DEFVAL { disabled }
       ::= { smScriptEntry 6 }
        

smScriptOperStatus OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2), editing(3), retrieving(4), compiling(5), noSuchScript(6), accessDenied(7), wrongLanguage(8), wrongVersion(9), compilationFailed(10), noResourcesLeft(11), unknownProtocol(12), protocolFailure(13), genericError(14) } MAX-ACCESS read-only STATUS current DESCRIPTION

smScriptOperStatusのOBJECT-TYPE SYNTAX INTEGER {イネーブル(1)、無効(2)、編集(3)、(5)コンパイル、(4)検索、noSuchScript(6)、アクセス拒否(7)、wrongLanguage(8)、wrongVersion(9 )、compilationFailed(10)、noResourcesLeft(11)、unknownProtocol(12)、protocolFailure(13)、genericError(14)} MAX-ACCESS read-only説明

           "The actual status of the script in the runtime system. The
            value of this object is only meaningful when the value of
            the smScriptRowStatus object is `active'.
        

The smScriptOperStatus object may have the following values:

smScriptOperStatusオブジェクトは、次の値を有することができます。

- `enabled' indicates that the script is available and can be started by a launch table entry.

- `」有効なスクリプトが利用可能であり、起動テーブルのエントリで開始することができることを示しています。

- `disabled' indicates that the script can not be used.

- 「`無効には、スクリプトが使用できないことを示しています。

- `editing' indicates that the script can be modified in the smCodeTable.

- `編集は」スクリプトがsmCodeTableに変更することができることを示しています。

- `retrieving' indicates that the script is currently being loaded from non-volatile storage or a remote system.

- `取り出すには、」スクリプトは、現在、不揮発性ストレージまたはリモートシステムからロードされていることを示しています。

- `compiling' indicates that the script is currently being compiled by the runtime system.

- `コンパイルするには、」スクリプトが現在ランタイムシステムによってコンパイルされていることを示しています。

- `noSuchScript' indicates that the script does not exist at the smScriptSource.

- `noSuchScriptは」スクリプトがsmScriptSourceに存在しないことを示しています。

- `accessDenied' indicates that the script can not be loaded from the smScriptSource due to a lack of permissions.

- `」アクセス拒否スクリプトは権限が不足しているためsmScriptSourceからロードすることができないことを示しています。

- `wrongLanguage' indicates that the script can not be loaded from the smScriptSource because of a language mismatch.

- `wrongLanguageは」スクリプトが原因で、言語の不一致smScriptSourceからロードすることができないことを示しています。

- `wrongVersion' indicates that the script can not be loaded from the smScriptSource because of a language version mismatch.

- `wrongVersionは」スクリプトが原因言語バージョンの不一致smScriptSourceからロードすることができないことを示しています。

- `compilationFailed' indicates that the compilation failed.

- `compilationFailedは、」コンパイルが失敗したことを示します。

- `noResourcesLeft' indicates that the runtime system does not have enough resources to load the script.

- `noResourcesLeftは、」ランタイムシステムは、スクリプトをロードするために十分なリソースを持っていないことを示しています。

- `unknownProtocol' indicates that the script could not be loaded from the smScriptSource because the requested protocol is not supported.

- `unknownProtocolは、」要求されたプロトコルがサポートされていないため、スクリプトがsmScriptSourceからロードすることができなかったことを示しています。

- `protocolFailure' indicates that the script could not be loaded from the smScriptSource because of a protocol failure.

- `protocolFailureは」スクリプトが原因プロトコル障害のsmScriptSourceからロードすることができなかったことを示しています。

- `genericError' indicates that the script could not be

- `genericErrorは」スクリプトがあることができなかったことを示しています

loaded due to an error condition not listed above.

上記に記載されていないエラー条件のためにロードされました。

The `retrieving' and `compiling' states are transient states which will either lead to one of the error states or the `enabled' state. The `disabled' and `editing' states are administrative states which are only reached by explicit management operations.

`検索「と`コンパイル」の状態がエラー状態のいずれか `有効」状態につながるいずれかの過渡状態です。 `無効「と`編集」の状態は、明示的な管理操作によって到達されている管理状態です。

            All launch table entries that refer to this script table
            entry shall have an smLaunchOperStatus value of `disabled'
            when the value of this object is not `enabled'."
       DEFVAL { disabled }
       ::= { smScriptEntry 7 }
        

smScriptStorageType OBJECT-TYPE SYNTAX StorageType MAX-ACCESS read-create STATUS current DESCRIPTION "This object defines whether this row and the script controlled by this row are kept in volatile storage and lost upon reboot or if this row is backed up by non-volatile or permanent storage.

smScriptStorageType OBJECT-TYPE構文StorageType MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクトは、この行かどうかを定義し、この行によって制御スクリプトは、この行が非揮発性でバックアップされ、再起動時又は場合、揮発性ストレージに保持され、失われ又は永続的なストレージ。

            The storage type of this row always complies with the value
            of this entry if the value of the corresponding RowStatus
            object is `active'.
        

However, the storage type of the script controlled by this row may be different, if the value of this entry is `non-volatile'. The script controlled by this row is written into local non-volatile storage if the following condition becomes true:

このエントリの値は `非揮発性である場合は、この行によって制御スクリプトのストレージタイプは、異なっていてもよいです。以下の条件が真になる場合、この行によって制御スクリプトは、ローカル不揮発性記憶装置に書き込まれます。

(a) the URL contained in the smScriptSource object is empty and (b) the smScriptStorageType is `nonVolatile' and (c) the smScriptOperStatus is `enabled'

(A)smScriptSourceオブジェクトに含まれるURLは空であり、(B)smScriptStorageTypeは `不揮発性で「及び(c)smScriptOperStatusが`有効になっています」

Setting this object to `volatile' removes a script from non-volatile storage if the script controlled by this row has been in non-volatile storage before. Attempts to set this object to permanent will always fail with an inconsistentValue error.

この行によって制御スクリプトが前に不揮発性記憶されている場合 `揮発性へのこのオブジェクトを設定することは、不揮発性記憶装置からスクリプトを除去します。永久にこのオブジェクトを設定する試みは常にinconsistentValueエラーで失敗します。

The value of smScriptStorageType is only meaningful if the value of the corresponding RowStatus object is `active'.

smScriptStorageTypeの値は、対応するRowStatusオブジェクトの値が「'アクティブである場合のみ有効です。

            If smScriptStorageType has the value permanent(4), then all
            objects whose MAX-ACCESS value is read-create must be
            writable, with the exception of the smScriptStorageType and
            smScriptRowStatus objects, which shall be read-only."
       DEFVAL { volatile }
       ::= { smScriptEntry 8 }
        

smScriptRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "A control that allows entries to be added and removed from this table.

smScriptRowStatusのOBJECT-TYPE構文RowStatus MAX-ACCESSリード作成ステータス現在の説明「エントリが追加され、このテーブルから削除されることを可能にする制御。

            Changing the smScriptRowStatus from `active' to
            `notInService' will remove the associated script from the
            runtime system.
        

Deleting conceptual rows from this table may affect the deletion of other resources associated with this row. For example, a script stored in non-volatile storage may be removed from non-volatile storage.

この表から概念的な行を削除すると、この行に関連付けられた他のリソースの削除に影響を及ぼし得ます。例えば、不揮発性記憶装置に記憶されたスクリプトは、不揮発性記憶装置から除去することができます。

An entry may not exist in the `active' state unless all required objects in the entry have appropriate values. Rows that are not complete or not in service are not known by the script runtime system.

エントリに必要なすべてのオブジェクトが適切な値を持っていない限り、エントリは `アクティブ」状態で存在しなくてもよいです。サービスには完了するか、いないされていない行は、スクリプトランタイムシステムによって知られていません。

Attempts to `destroy' a row or to set a row `notInService' while the smScriptOperStatus is `enabled' will result in an inconsistentValue error.

`破壊「行または列を`設定するnotInServiceの」smScriptOperStatusが `有効になっている」への試みはinconsistentValueエラーをもたらすであろう。

Attempts to `destroy' a row or to set a row `notInService' where the value of the smScriptStorageType object is `permanent' or `readOnly' will result in an inconsistentValue error.

`破壊「行または列` notInServiceの設定する」smScriptStorageTypeオブジェクトの値が「読み取り専用 'または」 `永久はinconsistentValueエラーをもたらすであることを試みます。

            The value of this object has no effect on whether other
            objects in this conceptual row can be modified."
       ::= { smScriptEntry 9 }
        

smScriptError OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS read-only STATUS current DESCRIPTION "This object contains a descriptive error message if the

場合smScriptErrorのOBJECT-TYPE SYNTAXれるSnmpAdminString MAX-ACCESS read-onlyステータス現在の説明は「このオブジェクトは、わかりやすいエラーメッセージが含まれています

            transition into the operational status `enabled' failed.
            Implementations must reset the error message to a
            zero-length string when a new attempt to change the
            script status to `enabled' is started."
       DEFVAL { ''H }
       ::= { smScriptEntry 10 }
        

smScriptLastChange OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS read-only STATUS current DESCRIPTION "The date and time when this script table entry was last modified. The value '0000000000000000'H is returned if the script table entry has not yet been modified.

このスクリプト・テーブル・エントリが最後に変更されたときにスクリプト・テーブル・エントリがまだ修正されていない場合smScriptLastChangeのOBJECT-TYPE SYNTAXのDateAndTime MAX-ACCESS read-onlyステータス現在の説明「日付と時刻が。値「0000000000000000'Hが返されます。

            Note that the resetting of smScriptError is not considered
            a change of the script table entry."
       DEFVAL { '0000000000000000'H }
       ::= { smScriptEntry 11 }
        

-- -- Access to script code via SNMP -- -- The smCodeTable allows script code to be read and modified -- via SNMP. --

- - SNMPを介してスクリプトコードへのアクセス - - SNMPを介して - smCodeTableスクリプトコードが読み取られ、修正されることを可能にします。 -

   smCodeTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF SmCodeEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "This table contains the script code for scripts that are
            written via SNMP write operations."
       ::= { smScriptObjects 2 }
        
   smCodeEntry OBJECT-TYPE
       SYNTAX      SmCodeEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "An entry describing a particular fragment of a script."
       INDEX { smScriptOwner, smScriptName, smCodeIndex }
       ::= { smCodeTable 1 }
        
   SmCodeEntry ::= SEQUENCE {
       smCodeIndex         Unsigned32, smCodeText          OCTET STRING,
       smCodeRowStatus     RowStatus
   }
        
   smCodeIndex OBJECT-TYPE
       SYNTAX      Unsigned32 (1..4294967295)
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "The index value identifying this code fragment."
       ::= { smCodeEntry 1 }
        
   smCodeText OBJECT-TYPE
       SYNTAX      OCTET STRING (SIZE (1..1024))
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The code that makes up a fragment of a script. The format
            of this code fragment depends on the script language which
            is identified by the associated smScriptLanguage object."
       ::= { smCodeEntry 2 }
        

smCodeRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "A control that allows entries to be added and removed from this table.

smCodeRowStatusのOBJECT-TYPE構文RowStatus MAX-ACCESSリード作成ステータス現在の説明「エントリが追加され、このテーブルから削除されることを可能にする制御。

            The value of this object has no effect on whether other
            objects in this conceptual row can be modified."
       ::= { smCodeEntry 3 }
        

-- -- Script execution. -- -- This group defines tables which allow script execution to be -- initiated, suspended, resumed, and terminated. It also provides -- a mechanism for keeping a history of recent script executions -- and their results. --

- - スクリプトの実行。 - - 、開始中断、再開、および終了 - このグループには、スクリプトの実行ができるようにするテーブルを定義します。また、提供 - 最近のスクリプトの実行の履歴を維持するためのメカニズム - とその結果を。 -

   smRunObjects OBJECT IDENTIFIER ::= { smObjects 4 }
        

smLaunchTable OBJECT-TYPE SYNTAX SEQUENCE OF SmLaunchEntry MAX-ACCESS not-accessible

アクセス不可能SmLaunchEntry MAX-ACCESS OF smLaunchTable OBJECT-TYPE構文配列

       STATUS      current
       DESCRIPTION
           "This table lists and describes scripts that are ready
            to be executed together with their parameters."
       ::= { smRunObjects 1 }
        
   smLaunchEntry OBJECT-TYPE
       SYNTAX      SmLaunchEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "An entry describing a particular executable script."
       INDEX { smLaunchOwner, smLaunchName }
       ::= { smLaunchTable 1 }
        
   SmLaunchEntry ::= SEQUENCE {
       smLaunchOwner               SnmpAdminString,
       smLaunchName                SnmpAdminString,
       smLaunchScriptOwner         SnmpAdminString,
       smLaunchScriptName          SnmpAdminString,
       smLaunchArgument            OCTET STRING,
       smLaunchMaxRunning          Unsigned32,
       smLaunchMaxCompleted        Unsigned32,
       smLaunchLifeTime            TimeInterval,
       smLaunchExpireTime          TimeInterval,
       smLaunchStart               Integer32,
       smLaunchControl             INTEGER,
       smLaunchAdminStatus         INTEGER,
       smLaunchOperStatus          INTEGER,
       smLaunchRunIndexNext        Integer32,
       smLaunchStorageType         StorageType,
       smLaunchRowStatus           RowStatus,
       smLaunchError               SnmpAdminString,
       smLaunchLastChange          DateAndTime,
       smLaunchRowExpireTime       TimeInterval
   }
        

smLaunchOwner OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (0..32)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The manager who owns this row in the smLaunchTable. Every instance of a running script started from a particular entry in the smLaunchTable (i.e. entries in the smRunTable) will be owned by the same smLaunchOwner used to index the entry in the smLaunchTable. This owner is not necessarily the same as the owner of the script itself (smLaunchScriptOwner)."

smLaunchOwner OBJECT-TYPE SYNTAXれるSnmpAdminString(SIZE(0 32))MAX-ACCESSステータス現在の説明は「smLaunchTableにこの行を所有しているマネージャー。実行中のスクリプトのすべてのインスタンスは、(smLaunchTable内の特定のエントリから開始smRunTable中すなわちエントリ)がインデックスにsmLaunchTableのエントリを使用したのと同じsmLaunchOwnerによって所有されます。この所有者は必ずしもスクリプト自体(smLaunchScriptOwner)の所有者と同じではありません。」

       ::= { smLaunchEntry 1 }
        
   smLaunchName OBJECT-TYPE
       SYNTAX      SnmpAdminString (SIZE (1..32))
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "The locally-unique, administratively assigned name for this
            launch table entry. This object allows an smLaunchOwner to
            have multiple entries in the smLaunchTable. The smLaunchName
            is an arbitrary name that must be different from any other
            smLaunchTable entries with the same smLaunchOwner but can be
            the same as other entries in the smLaunchTable with
            different smLaunchOwner values. Note that the value of
            smLaunchName is not related in any way to the name of the
            script being launched."
       ::= { smLaunchEntry 2 }
        
   smLaunchScriptOwner OBJECT-TYPE
       SYNTAX      SnmpAdminString (SIZE (0..32))
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The value of this object in combination with the value of
            smLaunchScriptName identifies the script that can be
            launched from this smLaunchTable entry. Attempts to write
            this object will fail with an inconsistentValue error if
            the value of smLaunchOperStatus is `enabled'."
       ::= { smLaunchEntry 3 }
        

smLaunchScriptName OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (0..32)) MAX-ACCESS read-create STATUS current DESCRIPTION "The value of this object in combination with the value of the smLaunchScriptOwner identifies the script that can be launched from this smLaunchTable entry. The zero-length string may be used to point to a non-existing script.

smLaunchScriptName OBJECT-TYPE SYNTAXれるSnmpAdminString(SIZE(0 32))MAX-ACCESSリード作成ステータス現在の説明「smLaunchScriptOwnerの値と組み合わせて、このオブジェクトの値は、このsmLaunchTableエントリから起動することができるスクリプトを識別する。長さゼロの文字列が存在しないスクリプトを指すために使用されてもよいです。

            Attempts to write this object will fail with an
            inconsistentValue error if the value of smLaunchOperStatus
            is `enabled'."
       DEFVAL { ''H }
       ::= { smLaunchEntry 4 }
        

smLaunchArgument OBJECT-TYPE SYNTAX OCTET STRING

smLaunchArgument OBJECT-TYPE構文オクテットSTRING

       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The argument supplied to the script. When a script is
            invoked, the value of this object is used to initialize
            the smRunArgument object."
       DEFVAL { ''H }
       ::= { smLaunchEntry 5 }
        
   smLaunchMaxRunning OBJECT-TYPE
       SYNTAX      Unsigned32 (1..4294967295)
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The maximum number of concurrently running scripts that may
            be invoked from this entry in the smLaunchTable. Lowering
            the current value of this object does not affect any scripts
            that are already executing."
       DEFVAL { 1 }
       ::= { smLaunchEntry 6 }
        
   smLaunchMaxCompleted OBJECT-TYPE
       SYNTAX      Unsigned32 (1..4294967295)
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The maximum number of finished scripts invoked from this
            entry in the smLaunchTable allowed to be retained in the
            smRunTable. Whenever the value of this object is changed
            and whenever a script terminates, entries in the smRunTable
            are deleted if necessary until the number of completed
            scripts is smaller than the value of this object. Scripts
            whose smRunEndTime value indicates the oldest completion
            time are deleted first."
       DEFVAL { 1 }
       ::= { smLaunchEntry 7 }
        
   smLaunchLifeTime OBJECT-TYPE
       SYNTAX      TimeInterval
       UNITS       "centi-seconds"
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The default maximum amount of time a script launched
            from this entry may run. The value of this object is used
            to initialize the smRunLifeTime object when a script is
            launched. Changing the value of an smLaunchLifeTime
            instance does not affect scripts previously launched from this entry."
       DEFVAL { 360000 }
       ::= { smLaunchEntry 8 }
        
   smLaunchExpireTime OBJECT-TYPE
       SYNTAX      TimeInterval
       UNITS       "centi-seconds"
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
           "The default maximum amount of time information about a
            script launched from this entry is kept in the smRunTable
            after the script has completed execution.  The value of
            this object is used to initialize the smRunExpireTime
            object when a script is launched. Changing the value of an
            smLaunchExpireTime instance does not affect scripts
            previously launched from this entry."
       DEFVAL { 360000 }
       ::= { smLaunchEntry 9 }
        

smLaunchStart OBJECT-TYPE SYNTAX Integer32 (0..2147483647) MAX-ACCESS read-create STATUS current DESCRIPTION "This object is used to start the execution of scripts. When retrieved, the value will be the value of smRunIndex for the last script that started execution by manipulating this object. The value will be zero if no script started execution yet.

smLaunchStartのOBJECT-TYPE構文Integer32(0 2147483647)MAX-ACCESSはリード作成しますステータス現在の説明は「このオブジェクトは、スクリプトの実行を開始するために使用される。取得した場合、値は最後に起動スクリプトのsmRunIndexの値になります何のスクリプトはまだ実行を開始しない場合は、このオブジェクトを操作することによって実行。値はゼロになります。

            A script is started by setting this object to an unused
            smRunIndex value. A new row in the smRunTable will be
            created which is indexed by the value supplied by the
            set-request in addition to the value of smLaunchOwner and
            smLaunchName. An unused value can be obtained by reading
            the smLaunchRunIndexNext object.
        

Setting this object to the special value 0 will start the script with a self-generated smRunIndex value. The consequence is that the script invoker has no reliable way to determine the smRunIndex value for this script invocation and that the invoker has therefore no way to obtain the results from this script invocation. The special value 0 is however useful for scheduled script invocations.

特別な値0にこのオブジェクトを設定する自己生成smRunIndex値でスクリプトを起動します。結果は、スクリプト呼び出しこのスクリプト呼び出しのsmRunIndex値を決定するための信頼できる方法がないことと呼び出ししたがって、このスクリプトの呼び出しの結果を取得する方法がないことです。特別な値0は、スケジュールスクリプトの呼び出しのためにしかし便利です。

If this object is set, the following checks must be performed:

このオブジェクトが設定されている場合は、以下のチェックを実行する必要があります。

1) The value of the smLaunchOperStatus object in this entry of the smLaunchTable must be `enabled'. 2) The values of smLaunchScriptOwner and smLaunchScriptName of this row must identify an existing entry in the smScriptTable. 3) The value of smScriptOperStatus of this entry must be `enabled'. 4) The principal performing the set operation must have read access to the script. This must be checked by calling the isAccessAllowed abstract service interface defined in RFC 2271 on the row in the smScriptTable identified by smLaunchScriptOwner and smLaunchScriptName. The isAccessAllowed abstract service interface must be called on all columnar objects in the smScriptTable with a MAX-ACCESS value different than `not-accessible'. The test fails as soon as a call indicates that access is not allowed. 5) If the value provided by the set operation is not 0, a check must be made that the value is currently not in use. Otherwise, if the value provided by the set operation is 0, a suitable unused value must be generated. 6) The number of currently executing scripts invoked from this smLaunchTable entry must be less than smLaunchMaxRunning.

1)smLaunchTableのこのエントリにsmLaunchOperStatusオブジェクトの値は '」を有効にする必要があります。 2)smLaunchScriptOwnerとこの行のsmLaunchScriptNameの値はsmScriptTableの既存のエントリを識別しなければなりません。 3)このエントリのsmScriptOperStatusの値は、 `」有効にする必要があります。 4)集合演算を行う主体は、スクリプトへの読み取りアクセス権がなければなりません。これはsmLaunchScriptOwnerとsmLaunchScriptNameで識別smScriptTableの行にRFC 2271で定義されてisAccessAllowedの抽象サービスインタフェースを呼び出すことによってチェックされなければなりません。 isAccessAllowedの抽象サービスインタフェースは、「`アクセス不可能とは異なるMAX-ACCESS値を持つsmScriptTable内のすべての円柱状のオブジェクトで呼び出さなければなりません。呼び出しはアクセスが許可されていないことを示しているように、テストはすぐに失敗します。セット動作によって提供される値が0でない場合は5)、チェック値が現在使用されていないと判断されなければなりません。セット動作によって提供される値が0であればそうでない場合、適当な未使用の値が生成されなければなりません。 6)このsmLaunchTableエントリから呼び出され、現在実行中のスクリプトの数がsmLaunchMaxRunning未満でなければなりません。

Attempts to start a script will fail with an inconsistentValue error if one of the checks described above fails.

上記のチェックのいずれかが失敗した場合にはinconsistentValueエラーで失敗するスクリプトを起動しようとします。

Otherwise, if all checks have been passed, a new entry in the smRunTable will be created indexed by smLaunchOwner, smLaunchName and the new value for smRunIndex. The value of smLaunchArgument will be copied into smRunArgument, the value of smLaunchLifeTime will be copied to smRunLifeTime, and the value of smLaunchExpireTime will be copied to smRunExpireTime.

すべてのチェックが渡されている場合はそれ以外の場合は、smRunTableに新しいエントリはsmLaunchOwner、smLaunchNameとsmRunIndexの新しい値でインデックス化が作成されます。 smLaunchArgumentの値はsmLaunchLifeTimeの値がsmRunLifeTimeにコピーされ、smLaunchExpireTimeの値がsmRunExpireTimeにコピーされ、smRunArgumentにコピーされます。

The smRunStartTime will be set to the current time and the smRunState will be set to `initializing' before the script execution is initiated in the appropriate runtime system.

smRunStartTimeは、現在の時刻に設定され、スクリプトの実行が適切なランタイムシステムで開始される前にsmRunStateは `初期化」に設定されます。

            Note that the data type and the range of this object must
            be consistent with the smRunIndex object. Since this
            object might be written from the scheduling MIB, the data type Integer32 rather than Unsigned32 is used."
       DEFVAL { 0 }
       ::= { smLaunchEntry 10 }
        

smLaunchControl OBJECT-TYPE SYNTAX INTEGER { abort(1), suspend(2), resume(3), nop(4) } MAX-ACCESS read-create STATUS current DESCRIPTION "This object is used to request a state change for all running scripts in the smRunTable that were started from this row in the smLaunchTable.

smLaunchControlのOBJECT-TYPE SYNTAX INTEGERは、{(1)、(2)、レジュームサスペンドアボート(3)、NOP(4)} MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクトは、実行中のすべてのスクリプトの状態の変更を要求するために使用されていますsmLaunchTableにこの行から開始したsmRunTableインチ

            Setting this object to abort(1), suspend(2) or resume(3)
            will set the smRunControl object of all applicable rows
            in the smRunTable to abort(1), suspend(2) or resume(3)
            respectively. The phrase `applicable rows' means the set of
            rows which were created from this entry in the smLaunchTable
            and whose value of smRunState allows the corresponding
            state change as described in the definition of the
            smRunControl object. Setting this object to nop(4) has no
            effect.
        
            Attempts to set this object lead to an inconsistentValue
            error only if all implicated sets on all the applicable
            rows lead to inconsistentValue errors. It is not allowed
            to return an inconsistentValue error if at least one state
            change on one of the applicable rows was successful."
       DEFVAL { nop }
       ::= { smLaunchEntry 11 }
        

smLaunchAdminStatus OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2), autostart(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The value of this object indicates the desired status of this launch table entry. The values enabled(1) and autostart(3) both indicate that the launch table entry should transition into the operational enabled(1) state as soon as the associated script table entry is enabled(1).

smLaunchAdminStatus OBJECT-TYPE SYNTAX INTEGER {イネーブル(1)、無効(2)、自動(3)} MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクトの値は、この起動テーブルエントリの所望の状態を示している。値が有効(1)自動(3)、(1)とすぐに関連付けられたスクリプト・テーブル・エントリが有効であるように(1)の状態を有効に起動テーブルエントリが動作に移行すべきであることを示しています。

            The value autostart(3) further indicates that the script
            is started automatically by conceptually writing the
            value 0 into the associated smLaunchStart object during
            the transition from the `disabled' into the `enabled'
            operational state. This is useful for scripts that are
            to be launched on system start-up."
       DEFVAL { disabled }
       ::= { smLaunchEntry 12 }
        

smLaunchOperStatus OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2), expired(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The value of this object indicates the actual status of this launch table entry. The smLaunchOperStatus object may have the following values:

smLaunchOperStatusのOBJECT-TYPE SYNTAX INTEGER {イネーブル(1)、無効(2)、期限切れ(3)} MAX-ACCESS read-only説明は「このオブジェクトの値は、この起動テーブルエントリの実際の状態を示す。smLaunchOperStatusオブジェクト次の値を持っていることがあります。

            - `enabled' indicates that the launch table entry is
              available and can be used to start scripts.
        

- `disabled' indicates that the launch table entry can not be used to start scripts.

- 「`無効に打ち上げテーブルエントリは、スクリプトを起動するために使用することはできないことを示しています。

- `expired' indicates that the launch table entry can not be used to start scripts and will disappear as soon as all smRunTable entries associated with this launch table entry have disappeared.

- `「期限切れ打ち上げテーブルエントリは、スクリプトを起動するために使用することはできないとすぐにこの起動テーブルエントリに関連付けられているすべてのsmRunTableのエントリが消えているように消えますことを示しています。

            The value `enabled' requires that the smLaunchRowStatus
            object is active. The value `disabled' requires that there
            are no entries in the smRunTable associated with this
            smLaunchTable entry."
       DEFVAL { disabled }
       ::= { smLaunchEntry 13 }
        

smLaunchRunIndexNext OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION

smLaunchRunIndexNext OBJECT-TYPE構文Integer32(1 2147483647)MAX-ACCESS read-only説明

           "This variable is used for creating rows in the smRunTable.
            The value of this variable is a currently unused value
            for smRunIndex, which can be written into the smLaunchStart
            object associated with this row to launch a script.
        

The value returned when reading this variable must be unique for the smLaunchOwner and smLaunchName associated with this row. Subsequent attempts to read this variable must return different values.

この変数を読み取るときに返される値は、この行に関連付けられsmLaunchOwnerとsmLaunchNameに対して一意でなければなりません。この変数を読むための後続の試みは、異なる値を返す必要があります。

This variable will return the special value 0 if no new rows can be created.

新しい行が作成できない場合は、この変数は特別な値0を返します。

            Note that the data type and the range of this object must be
            consistent with the definition of smRunIndex."
       ::= { smLaunchEntry 14 }
        

smLaunchStorageType OBJECT-TYPE SYNTAX StorageType MAX-ACCESS read-create STATUS current DESCRIPTION "This object defines if this row is kept in volatile storage and lost upon reboot or if this row is backed up by stable storage.

この行は、揮発性記憶装置に保持し、再起動時に、またはこの行が安定したストレージによってバックアップされた場合に失われた場合smLaunchStorageType OBJECT-TYPE構文StorageType MAX-ACCESSリード作成ステータス現在の説明は「このオブジェクト定義します。

            The value of smLaunchStorageType is only meaningful if the
            value of the corresponding RowStatus object is active.
        
            If smLaunchStorageType has the value permanent(4), then all
            objects whose MAX-ACCESS value is read-create must be
            writable, with the exception of the smLaunchStorageType and
            smLaunchRowStatus objects, which shall be read-only."
       DEFVAL { volatile }
       ::= { smLaunchEntry 15 }
        

smLaunchRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "A control that allows entries to be added and removed from this table.

smLaunchRowStatusのOBJECT-TYPE構文RowStatus MAX-ACCESSリード作成ステータス現在の説明「エントリが追加され、このテーブルから削除されることを可能にする制御。

            Attempts to `destroy' a row or to set a row `notInService'
            while the smLaunchOperStatus is `enabled' will result in
            an inconsistentValue error.
        

Attempts to `destroy' a row or to set a row `notInService' where the value of the smLaunchStorageType object is `permanent' or `readOnly' will result in an inconsistentValue error.

`破壊「行または列` notInServiceの設定する」smLaunchStorageTypeオブジェクトの値が「読み取り専用 'または」 `永久はinconsistentValueエラーをもたらすであることを試みます。

            The value of this object has no effect on whether other
            objects in this conceptual row can be modified."
       ::= { smLaunchEntry 16 }
        
   smLaunchError OBJECT-TYPE
       SYNTAX      SnmpAdminString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "This object contains a descriptive error message if an
            attempt to launch a script fails. Implementations must reset
            the error message to a zero-length string when a new attempt
            to launch a script is started."
       DEFVAL { ''H }
       ::= { smLaunchEntry 17 }
        

smLaunchLastChange OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS read-only STATUS current DESCRIPTION "The date and time when this launch table entry was last modified. The value '0000000000000000'H is returned if the launch table entry has not yet been modified.

この起動テーブルエントリが最後に変更された際に起動テーブルエントリがまだ修正されていない場合smLaunchLastChangeのOBJECT-TYPE SYNTAXのDateAndTime MAX-ACCESS read-onlyステータス現在の説明「日付と時刻が。値「0000000000000000'Hが返されます。

            Note that a change of smLaunchStart, smLaunchControl,
            smLaunchRunIndexNext, smLaunchRowExpireTime, or the
            resetting of smLaunchError is not considered a change
            of this launch table entry."
       DEFVAL { '0000000000000000'H }
       ::= { smLaunchEntry 18 }
        

smLaunchRowExpireTime OBJECT-TYPE SYNTAX TimeInterval UNITS "centi-seconds" MAX-ACCESS read-create STATUS current DESCRIPTION "The value of this object specifies how long this row remains in the `enabled' or `disabled' operational state. The value reported by this object ticks backwards. When the value reaches 0, it stops ticking backward and the row is deleted if there are no smRunTable entries associated with this smLaunchTable entry. Otherwise, the smLaunchOperStatus changes to `expired' and the row deletion is deferred until there are no smRunTable entries associated with this smLaunchTable entry.

smLaunchRowExpireTimeのOBJECT-TYPE SYNTAX時間間隔のUNITS「センチ秒」MAX-ACCESSはリード作成しますステータス現在の説明は「このオブジェクトの値は、この行が `有効『または `無効』動作状態に留まる時間を指定します。これによって報告された値値が0になるとオブジェクトがそうでない場合、smLaunchOperStatusは `「期限切れに変わり、何が存在するまで、行の削除が遅延されていない。それは後方刻む停止し、このsmLaunchTableエントリに関連付けられsmRunTableエントリが存在しない場合、行が削除される。後方マダニこのsmLaunchTableエントリに関連付けられsmRunTableエントリー。

            The smLaunchRowExpireTime will not tick backwards if it is
            set to its maximum value (2147483647). In other words,
            setting this object to its maximum value turns the timer
            off.
        

The value of this object may be set in order to increase or reduce the remaining time that the launch table entry may be used. Setting the value to 0 will cause an immediate row deletion or transition into the `expired' operational state.

このオブジェクトの値は、起動テーブルエントリが使用されてもよいことは、残り時間を増加又は減少させるために設定されてもよいです。値を0に設定すると、 `期限切れの「動作状態に即時行削除または遷移が発生します。

It is not possible to set this object while the operational status is `expired'. Attempts to modify this object while the operational status is `expired' leads to an inconsistentValue error.

動作状態が `」有効期限が切れている間に、このオブジェクトを設定することはできません。動作状態が `」有効期限が切れている間に、このオブジェクトを変更しようとすると、inconsistentValueエラーにつながります。

            Note that the timer ticks backwards independent of the
            operational state of the launch table entry."
       DEFVAL { 2147483647 }
       ::= { smLaunchEntry 19 }
        
   smRunTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF SmRunEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "This table lists and describes scripts that are currently
            running or have been running in the past."
       ::= { smRunObjects 2 }
        
   smRunEntry OBJECT-TYPE
       SYNTAX      SmRunEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
           "An entry describing a particular running or finished
            script."
       INDEX { smLaunchOwner, smLaunchName, smRunIndex }
       ::= { smRunTable 1 }
        
   SmRunEntry ::= SEQUENCE {
       smRunIndex          Integer32, smRunArgument       OCTET STRING,
       smRunStartTime      DateAndTime,
       smRunEndTime        DateAndTime,
       smRunLifeTime       TimeInterval,
       smRunExpireTime     TimeInterval,
       smRunExitCode       INTEGER,
       smRunResult         OCTET STRING,
       smRunControl        INTEGER,
       smRunState          INTEGER,
       smRunError          SnmpAdminString,
       smRunResultTime     DateAndTime,
       smRunErrorTime      DateAndTime
   }
        

smRunIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The locally arbitrary, but unique identifier associated with this running or finished script. This value must be unique for all rows in the smRunTable with the same smLaunchOwner and smLaunchName.

smRunIndex OBJECT-TYPE構文Integer32(1 2147483647)MAX-ACCESSステータス現在の説明は「でローカルには任意ですが、この実行中または終了スクリプトに関連付けられた一意の識別子。この値は、smRunTable内のすべての行に対して一意である必要があります同じsmLaunchOwnerとsmLaunchName。

            Note that the data type and the range of this object must
            be consistent with the definition of smLaunchRunIndexNext
            and smLaunchStart."
       ::= { smRunEntry 1 }
        
   smRunArgument OBJECT-TYPE
       SYNTAX      OCTET STRING
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The argument supplied to the script when it started."
       DEFVAL { ''H }
       ::= { smRunEntry 2 }
        
   smRunStartTime OBJECT-TYPE
       SYNTAX      DateAndTime
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The date and time when the execution started. The value
            '0000000000000000'H is returned if the script has not
            started yet."
       DEFVAL { '0000000000000000'H }
       ::= { smRunEntry 3 }
        
   smRunEndTime OBJECT-TYPE
       SYNTAX      DateAndTime
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The date and time when the execution terminated. The value
            '0000000000000000'H is returned if the script has not
            terminated yet."
       DEFVAL { '0000000000000000'H }
       ::= { smRunEntry 4 }
        

smRunLifeTime OBJECT-TYPE SYNTAX TimeInterval UNITS "centi-seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies how long the script can execute. This object returns the remaining time that the script may run. The object is initialized with the value of the associated smLaunchLifeTime object and ticks backwards. The script is aborted immediately when the value reaches 0.

smRunLifeTimeのOBJECT-TYPE SYNTAX時間間隔の単位は「センチ秒」MAX-ACCESS読み取りと書き込みステータス現在の説明は「このオブジェクトはスクリプトが実行できる時間を指定します。このオブジェクトは、スクリプトが実行可能というの残り時間を返します。オブジェクトがで初期化されます関連smLaunchLifeTimeオブジェクトの値および下位ティック値が0に達したとき。スクリプトが直ちに中止されます。

            The value of this object may be set in order to increase or
            reduce the remaining time that the script may run. Setting
            this value to 0 will abort script execution immediately,
            and, if the value of smRunExpireTime is also 0, will remove
            this entry from the smRunTable once it has terminated.
        

If smRunLifeTime is set to its maximum value (2147483647), either by a set operation or by its initialization from the smLaunchLifeTime object, then it will not tick backwards. A running script with a maximum smRunLifeTime value will thus never be terminated with a `lifeTimeExceeded' exit code.

smRunLifeTimeがセット動作によって、またはsmLaunchLifeTimeオブジェクトからその初期化のいずれかによって、その最大値(2147483647)に設定されている場合、それは後方ダニません。最大smRunLifeTime値を持つ実行中のスクリプトは、このように `lifeTimeExceeded」終了コードで終了することはありません。

The value of smRunLifeTime reflects the real-time execution time as seen by the outside world. The value of this object will always be 0 for a script that finished execution, that is smRunState has the value `terminated'.

smRunLifeTimeの値は、外の世界で見られるように、リアルタイムの実行時間を反映しています。このオブジェクトの値は常にそれがsmRunState「の値 `終了を持っている、実行が終了するスクリプトの場合は0になります。

            The value of smRunLifeTime does not change while a script
            is suspended, that is smRunState has the value `suspended'.
            Note that this does not affect set operations. It is legal
            to modify smRunLifeTime via set operations while a script
            is suspended."
       ::= { smRunEntry 5 }
        

smRunExpireTime OBJECT-TYPE SYNTAX TimeInterval UNITS "centi-seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The value of this object specifies how long this row can exist in the smRunTable after the script has terminated. This object returns the remaining time that the row may exist before it is aged out. The object is initialized with the value of the associated smLaunchExpireTime object and ticks backwards. The entry in the smRunTable is destroyed when the value reaches 0 and the smRunState has the value `terminated'.

smRunExpireTimeのOBJECT-TYPE SYNTAX時間間隔のUNITS「センチ秒」MAX-ACCESS読み取りと書き込みステータス現在の説明は「このオブジェクトの値は、スクリプトが終了した後、この行はsmRunTableに存在できる時間を指定します。このオブジェクトは、その残り時間を返します。値が0に達するとsmRunState「が値 '末端を有する場合、それが期限切れになる前に、行が存在してもよい。オブジェクトが関連付けられsmLaunchExpireTimeオブジェクトの値で初期化し、後方ティックされる。smRunTableのエントリが破壊されます。

            The value of this object may be set in order to increase or
            reduce the remaining time that the row may exist.  Setting
            the value to 0 will destroy this entry as soon as the
            smRunState has the value `terminated'."
       ::= { smRunEntry 6 }
        

smRunExitCode OBJECT-TYPE SYNTAX INTEGER { noError(1), halted(2), lifeTimeExceeded(3), noResourcesLeft(4), languageError(5), runtimeError(6), invalidArgument(7), securityViolation(8), genericError(9) } MAX-ACCESS read-only STATUS current DESCRIPTION "The value of this object indicates the reason why a script finished execution. The smRunExitCode code may have one of the following values:

smRunExitCodeのOBJECT-TYPE SYNTAX INTEGERは{NOERROR(1)、(2)、lifeTimeExceeded(3)、noResourcesLeft(4)、languageError(5)はRuntimeError(6)、invalidArgument(7)、セキュリティ違反(8)、genericError(9停止しました)} MAX-ACCESS read-only説明は「このオブジェクトの値は、スクリプトの実行が終了した理由が示すsmRunExitCodeコードは、次のいずれかの値を有することができます。:

            - `noError', which indicates that the script completed
               successfully without errors;
        

- `halted', which indicates that the script was halted by a request from an authorized manager;

- `スクリプトが認証マネージャからの要求によって停止されたことを示す、「停止。

- `lifeTimeExceeded', which indicates that the script exited because a time limit was exceeded;

- `制限時間を超えたため、スクリプトが終了したことを示す、「lifeTimeExceeded。

- `noResourcesLeft', which indicates that the script exited because it ran out of resources (e.g. memory);

- それはリソース(例えばメモリ)が不足しているため、スクリプトが終了したことを示している `noResourcesLeft」、。

- `languageError', which indicates that the script exited because of a language error (e.g. a syntax error in an interpreted language);

- スクリプトが原因言語エラーの終了したことを示し `languageError」、(例えば、インタプリタ言語の構文エラー)。

- `runtimeError', which indicates that the script exited due to a runtime error (e.g. a division by zero);

- による実行時エラーにスクリプトが終了したことを示している `はRuntimeError」、(ゼロによる除算など)。

- `invalidArgument', which indicates that the script could not be run because of invalid script arguments;

- スクリプトが無効なため、スクリプトの引数を実行することができなかったことを示している `invalidArgument」;

- `securityViolation', which indicates that the script exited due to a security violation;

- スクリプトは、セキュリティ違反により終了したことを示している `セキュリティ違反」;

- `genericError', which indicates that the script exited for an unspecified reason.

- スクリプトが指定されていない理由で終了したことを示している `genericError」、。

            If the script has not yet begun running, or is currently
            running, the value will be `noError'."
       DEFVAL { noError }
       ::= { smRunEntry 7 }
        
   smRunResult OBJECT-TYPE
       SYNTAX      OCTET STRING
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The result value produced by the running script. Note that
            the result may change while the script is executing."
       DEFVAL { ''H }
       ::= { smRunEntry 8 }
        

smRunControl OBJECT-TYPE SYNTAX INTEGER { abort(1), suspend(2), resume(3), nop(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "The value of this object indicates the desired status of the script execution defined by this row.

smRunControl OBJECT-TYPE構文INTEGERが{(1)、(2)、再開(3)サスペンドアボート、NOP(4)} MAX-ACCESS読み取りと書き込みステータス現在の説明「このオブジェクトの値は、スクリプトの実行の所望の状態を示しこの行によって定義されます。

            Setting this object to `abort' will abort execution if the value of smRunState is `initializing', `executing',
            `suspending', `suspended' or `resuming'. Setting this object
            to `abort' when the value of smRunState is `aborting' or
            `terminated', or if the implementation can determine that
            the attempt to abort the execution would fail, will result
            in an inconsistentValue error.
        

Setting this object to `suspend' will suspend execution if the value of smRunState is `executing'. Setting this object to `suspend' will cause an inconsistentValue error if the value of smRunState is not `executing' or if the implementation can determine that the attempt to suspend the execution would fail.

`一時停止するには、このオブジェクトを設定することは「smRunStateの値が`実行された場合に実行を停止します」。または実装が実行を中断しようとする試みは失敗するだろうと判断できる場合には、サスペンド `にこのオブジェクトを設定すると、「smRunStateの値が`実行されていない場合にはinconsistentValueエラーが発生します」。

Setting this object to `resume' will resume execution if the value of smRunState is `suspending' or `suspended'. Setting this object to `resume' will cause an inconsistentValue error if the value of smRunState is not `suspended' or if the implementation can determine that the attempt to resume the execution would fail.

または `「`中断、再開にこのオブジェクトを設定すると、「smRunStateの値が `中断された場合に実行を再開します」。 `履歴書にこのオブジェクトを設定すると、「smRunStateの値は`中断されていない場合はinconsistentValueエラーが発生します」または実装が実行を再開しようとする試みは失敗するだろうと判断できる場合。

            Setting this object to nop(4) has no effect."
       DEFVAL { nop }
       ::= { smRunEntry 9 }
        

smRunState OBJECT-TYPE SYNTAX INTEGER { initializing(1), executing(2), suspending(3), suspended(4), resuming(5), aborting(6), terminated(7) } MAX-ACCESS read-only STATUS current DESCRIPTION "The value of this object indicates the script's execution state. If the script has been invoked but has not yet begun execution, the value will be `initializing'. If the script is running, the value will be `executing'.

smRunStateのOBJECT-TYPE SYNTAX INTEGER {懸濁し、(3)懸濁化、(2)を実行する、(1)初期化(4)、(5)、(6)、終了(7)中断再開} MAX-ACCESS read-onlyステータス電流DESCRIPTION「このオブジェクトの値は、スクリプトの実行状態を示します。スクリプトが呼び出されましたが、まだ実行が開始されていない場合、値は `『スクリプトが実行されている場合、値は実行 `になります』初期化されます。

            A running script which received a request to suspend
            execution first transitions into a temporary `suspending'
            state.  The temporary `suspending' state changes to
            `suspended' when the script has actually been suspended. The
            temporary `suspending' state changes back to `executing' if the attempt to suspend the running script fails.
        

A suspended script which received a request to resume execution first transitions into a temporary `resuming' state. The temporary `resuming' state changes to `running' when the script has actually been resumed. The temporary `resuming' state changes back to `suspended' if the attempt to resume the suspended script fails.

一時的な `再開」状態に実行最初の遷移を再開するための要求を受けた一時停止するスクリプト。一時的な `再開`への状態変化が実行されている 'スクリプトが実際に再開されたとき。中断したスクリプトを再開しようとする試みが失敗した場合、一時的には、 `「戻って中断`への状態の変更」を再開します。

A script which received a request to abort execution but which is still running first transitions into a temporary `aborting' state.

実行を中止する要求を受けたが、スクリプトがまだ一時的な `中止」状態に最初の遷移を実行しています。

            A script which has finished its execution is `terminated'."
       ::= { smRunEntry 10 }
        
   smRunError OBJECT-TYPE
       SYNTAX      SnmpAdminString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "This object contains a descriptive error message if the
            script startup or execution raised an abnormal condition.
            An implementation must store a descriptive error message
            in this object if the script exits with the smRunExitCode
            `genericError'."
       DEFVAL { ''H }
       ::= { smRunEntry 11 }
        
   smRunResultTime OBJECT-TYPE
       SYNTAX      DateAndTime
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The date and time when the smRunResult was last updated.
            The value '0000000000000000'H is returned if smRunResult
            has not yet been updated after the creation of this
            smRunTable entry."
       DEFVAL { '0000000000000000'H }
       ::= { smRunEntry 12 }
        
   smRunErrorTime OBJECT-TYPE
       SYNTAX      DateAndTime
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The date and time when the smRunError was last updated.
            The value '0000000000000000'H is returned if smRunError has not yet been updated after the creation of this
            smRunTable entry."
       DEFVAL { '0000000000000000'H }
       ::= { smRunEntry 13 }
        

-- -- Notifications. The definition of smTraps makes notification -- registrations reversible (see STD 58, RFC 2578). --

- - 通知。 smTrapsの定義は、通知を行う - リバーシブル登録(STD 58、RFC 2578を参照してください)。 -

   smTraps OBJECT IDENTIFIER ::= { smNotifications 0 }
        
   smScriptAbort NOTIFICATION-TYPE
       OBJECTS     { smRunExitCode, smRunEndTime, smRunError }
       STATUS      current
       DESCRIPTION
           "This notification is generated whenever a running script
            terminates with an smRunExitCode unequal to `noError'."
       ::= { smTraps 1 }
        

smScriptResult NOTIFICATION-TYPE OBJECTS { smRunResult } STATUS current DESCRIPTION "This notification can be used by scripts to notify other management applications about results produced by the script.

smScriptResult NOTIFICATION-TYPEオブジェクト{smRunResult}ステータス現在の説明は「この通知は、スクリプトによって生成される結果について、他の管理アプリケーションに通知するためにスクリプトで使用することができます。

            This notification is not automatically generated by the
            Script MIB implementation. It is the responsibility of
            the executing script to emit this notification where it
            is appropriate to do so."
       ::= { smTraps 2 }
        

smScriptException NOTIFICATION-TYPE OBJECTS { smRunError } STATUS current DESCRIPTION "This notification can be used by scripts to notify other management applications about script errors.

smScriptException NOTIFICATION-TYPEオブジェクト{smRunError}ステータス現在の説明は「この通知は、スクリプトエラーに関する他の管理アプリケーションに通知するためにスクリプトで使用することができます。

            This notification is not automatically generated by the
            Script MIB implementation. It is the responsibility of
            the executing script or the runtime system to emit this
            notification where it is appropriate to do so."
       ::= { smTraps 3 }
        
   -- conformance information smCompliances OBJECT IDENTIFIER ::= { smConformance 1 }
   smGroups      OBJECT IDENTIFIER ::= { smConformance 2 }
        

-- compliance statements

- コンプライアンスステートメント

smCompliance2 MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for SNMP entities which implement the Script MIB." MODULE -- this module MANDATORY-GROUPS { smLanguageGroup, smScriptGroup2, smLaunchGroup2, smRunGroup2, smNotificationsGroup2 } GROUP smCodeGroup DESCRIPTION "The smCodeGroup is mandatory only for those implementations that support the downloading of scripts via SNMP." OBJECT smScriptSource MIN-ACCESS read-only DESCRIPTION "The smScriptSource object is read-only for implementations that are not able to download script code from a URL." OBJECT smCodeText DESCRIPTION "A compliant implementation need only support write access to the smCodeText object only during row creation." OBJECT smLaunchArgument DESCRIPTION "A compliant implementation has to support a minimum size for smLaunchArgument of 255 octets." OBJECT smRunArgument DESCRIPTION "A compliant implementation has to support a minimum size for smRunArgument of 255 octets." OBJECT smRunResult DESCRIPTION "A compliant implementation has to support a minimum size for smRunResult of 255 octets." OBJECT smRunState DESCRIPTION "A compliant implementation does not have to support script suspension and the smRunState `suspended'. Such an implementation will change into the `suspending' state when the smRunControl is set to `suspend' and remain in this state until smRunControl is set to `resume' or the script terminates."

smCompliance2 MODULE-COMPLIANCEステータス現在の説明「スクリプトMIBを実装するSNMPエンティティのための準拠宣言。」 MODULE - このモジュールMANDATORY-GROUPS {smLanguageGroup、smScriptGroup2、smLaunchGroup2、smRunGroup2、smNotificationsGroup2} GROUP smCodeGroup説明 "smCodeGroupのみSNMPを介して、スクリプトのダウンロードをサポートする実装のために必須です。" OBJECTのsmScriptSource MIN-ACCESS読み取り専用説明「smScriptSourceオブジェクトが読み取り専用URLからスクリプトコードをダウンロードすることができないの実装のために。」 OBJECT smCodeTextのDESCRIPTION「準拠した実装が唯一の唯一の列の作成時にsmCodeTextオブジェクトへの書き込みアクセスをサポートする必要がある」と述べました。 OBJECTのsmLaunchArgument説明は「準拠した実装では、255オクテットのsmLaunchArgumentの最小サイズをサポートする必要があります。」 OBJECTのsmRunArgument説明は「準拠した実装では、255オクテットのsmRunArgumentの最小サイズをサポートする必要があります。」 OBJECTのsmRunResult説明は「準拠した実装では、255オクテットのsmRunResultの最小サイズをサポートする必要があります。」準拠した実装は、スクリプトの停止をサポートする必要がないとsmRunStateは `中断『このような実装が `停止に変更されます』 smRunControlが `中断」とsmRunControlが設定されるまで、この状態のままに設定されているときの状態OBJECT smRunState説明」 `レジューム」またはスクリプトに終了します。」

       ::= { smCompliances 2 }
        
   smLanguageGroup OBJECT-GROUP
       OBJECTS {
           smLangLanguage, smLangVersion,
           smLangVendor, smLangRevision,
           smLangDescr, smExtsnExtension,
           smExtsnVersion, smExtsnVendor,
           smExtsnRevision, smExtsnDescr
       }
       STATUS      current
       DESCRIPTION
           "A collection of objects providing information about the
            capabilities of the scripting engine."
       ::= { smGroups 1 }
        
   smScriptGroup2 OBJECT-GROUP
       OBJECTS {
           smScriptDescr, smScriptLanguage,
           smScriptSource, smScriptAdminStatus,
           smScriptOperStatus, smScriptStorageType,
           smScriptRowStatus, smScriptError,
           smScriptLastChange
       }
       STATUS      current
       DESCRIPTION
           "A collection of objects providing information about
            installed scripts."
       ::= { smGroups 7 }
        
   smCodeGroup OBJECT-GROUP
       OBJECTS {
           smCodeText, smCodeRowStatus
       }
       STATUS      current
       DESCRIPTION
           "A collection of objects used to download or modify scripts
            by using SNMP set requests."
       ::= { smGroups 3 }
        
   smLaunchGroup2 OBJECT-GROUP
       OBJECTS {
           smLaunchScriptOwner, smLaunchScriptName,
           smLaunchArgument, smLaunchMaxRunning,
           smLaunchMaxCompleted, smLaunchLifeTime,
           smLaunchExpireTime, smLaunchStart,
           smLaunchControl, smLaunchAdminStatus,
           smLaunchOperStatus, smLaunchRunIndexNext, smLaunchStorageType, smLaunchRowStatus,
           smLaunchError, smLaunchLastChange,
           smLaunchRowExpireTime
       }
       STATUS      current
       DESCRIPTION
           "A collection of objects providing information about scripts
            that can be launched."
       ::= { smGroups 8 }
        
   smRunGroup2 OBJECT-GROUP
       OBJECTS {
           smRunArgument, smRunStartTime,
           smRunEndTime, smRunLifeTime,
           smRunExpireTime, smRunExitCode,
           smRunResult, smRunState,
           smRunControl, smRunError,
           smRunResultTime, smRunErrorTime
       }
       STATUS      current
       DESCRIPTION
           "A collection of objects providing information about running
            scripts."
       ::= { smGroups 9 }
        
   smNotificationsGroup2 NOTIFICATION-GROUP
       NOTIFICATIONS {
           smScriptAbort,
           smScriptResult,
           smScriptException
       }
       STATUS      current
       DESCRIPTION
           "The notifications emitted by the Script MIB."
       ::= { smGroups 10 }
        

-- -- Deprecated compliance and conformance group definitions -- from RFC 2592. --

- - 非推奨コンプライアンスと適合グループの定義 - RFC 2592.から -

smCompliance MODULE-COMPLIANCE STATUS deprecated DESCRIPTION "The compliance statement for SNMP entities which implement the Script MIB." MODULE -- this module MANDATORY-GROUPS {

smCompliance MODULE-COMPLIANCEステータスはDESCRIPTION非推奨の「スクリプトMIBを実装するSNMPエンティティのための準拠宣言を。」 MODULE - このモジュールMANDATORY-GROUPS {

               smLanguageGroup, smScriptGroup, smLaunchGroup, smRunGroup
       }
       GROUP   smCodeGroup
       DESCRIPTION
           "The smCodeGroup is mandatory only for those implementations
            that support the downloading of scripts via SNMP."
       OBJECT  smScriptSource
       MIN-ACCESS  read-only
       DESCRIPTION
           "The smScriptSource object is read-only for implementations
            that are not able to download script code from a URL."
       OBJECT smCodeText
       DESCRIPTION
           "A compliant implementation need only support write access
            to the smCodeText object during row creation."
       OBJECT smLaunchArgument
       DESCRIPTION
           "A compliant implementation has to support a minimum size
            for smLaunchArgument of 255 octets."
       OBJECT smRunArgument
       DESCRIPTION
           "A compliant implementation has to support a minimum size
            for smRunArgument of 255 octets."
       OBJECT smRunResult
       DESCRIPTION
           "A compliant implementation has to support a minimum size
            for smRunResult of 255 octets."
       OBJECT smRunState
       DESCRIPTION
           "A compliant implementation does not have to support script
            suspension and the smRunState `suspended'. Such an
            implementation will change into the `suspending' state
            when the smRunControl is set to `suspend' and remain in this
            state until smRunControl is set to `resume' or the script
            terminates."
       ::= { smCompliances 1 }
        

smScriptGroup OBJECT-GROUP OBJECTS { smScriptDescr, smScriptLanguage, smScriptSource, smScriptAdminStatus, smScriptOperStatus, smScriptStorageType, smScriptRowStatus } STATUS deprecated DESCRIPTION "A collection of objects providing information about installed scripts."

smScriptGroupオブジェクト・グループオブジェクト{smScriptDescr、smScriptLanguage、smScriptSource、smScriptAdminStatus、smScriptOperStatus、smScriptStorageType、smScriptRowStatus}ステータス非難された説明 "インストールスクリプトについての情報を提供するオブジェクトの収集"。

       ::= { smGroups 2 }
        
   smLaunchGroup OBJECT-GROUP
       OBJECTS {
           smLaunchScriptOwner, smLaunchScriptName,
           smLaunchArgument, smLaunchMaxRunning,
           smLaunchMaxCompleted, smLaunchLifeTime,
           smLaunchExpireTime, smLaunchStart,
           smLaunchControl, smLaunchAdminStatus,
           smLaunchOperStatus, smLaunchRunIndexNext,
           smLaunchStorageType, smLaunchRowStatus
       }
       STATUS      deprecated
       DESCRIPTION
           "A collection of objects providing information about scripts
            that can be launched."
       ::= { smGroups 4 }
        
   smRunGroup OBJECT-GROUP
       OBJECTS {
           smRunArgument, smRunStartTime,
           smRunEndTime, smRunLifeTime,
           smRunExpireTime, smRunExitCode,
           smRunResult, smRunState,
           smRunControl, smRunError
       }
       STATUS      deprecated
       DESCRIPTION
           "A collection of objects providing information about running
            scripts."
       ::= { smGroups 5 }
        
   smNotificationsGroup NOTIFICATION-GROUP
       NOTIFICATIONS {
           smScriptAbort,
           smScriptResult
       }
       STATUS      deprecated
       DESCRIPTION
           "The notifications emitted by the Script MIB."
       ::= { smGroups 6 }
        

END

終わり

7. Usage Examples
7.使用例

This section presents some examples that explain how a manager can use the Script MIB defined in this memo. The purpose of these examples is to explain the steps that are normally used to delegate management scripts.

このセクションでは、管理者はこのメモで定義されたスクリプトMIBを使用する方法を説明し、いくつかの例を示します。これらの例の目的は、通常、管理スクリプトを委任するために使用されている手順を説明することです。

7.1. Pushing a Script via SNMP
7.1. SNMP経由でスクリプトを押します

This example explains the steps performed by a manager to push a script into a distributed manager.

この例では、分散管理者にスクリプトをプッシュするマネージャによって実行されるステップを説明します。

1. The manager first checks the smLangTable and the smExtsnTable in order to select the appropriate script or language.

1.マネージャは、最初に適切なスクリプトまたは言語を選択するためにsmLangTableとsmExtsnTableをチェックします。

2. The manager creates a row in the smScriptTable by issuing an SNMP set-request. The smScriptRowStatus object is set to `createAndWait' and the smScriptSource object is set to an empty string. The smScriptLanguage object is set to the language in which the script was written. The smScriptStorageType object is set to `volatile' to indicate that the script will be loaded via the smCodeTable. The smScriptOwner is set to a string which identifies the principal who owns the new row. The smScriptName defines the administratively assigned unique name for the script.

2.管理者は、SNMPセット要求を発行することによってsmScriptTableの行を作成します。 smScriptRowStatusオブジェクトは `createAndWaitに」に設定されており、smScriptSourceオブジェクトが空の文字列に設定されています。 smScriptLanguageオブジェクトは、スクリプトが書かれた言語に設定されています。 smScriptStorageTypeオブジェクトは、スクリプトがsmCodeTable経由でロードされることを示すために「`揮発性に設定されています。 smScriptOwnerは、新しい行を所有するプリンシパルを識別する文字列に設定されています。 smScriptNameは、スクリプトの管理上割り当てられた一意の名前を定義します。

3. The manager sets the smScriptRowStatus object to `active' and the smScriptAdminStatus object to `editing'.

3.マネージャは `の編集およびsmScriptAdminStatusオブジェクトのアクティブ`にsmScriptRowStatusオブジェクトを設定します。

4. The manager pushes the script to the distributed manager by issuing a couple of SNMP set-requests to fill the smCodeTable.

4.管理者は、smCodeTableを埋めるためにSNMPセット - リクエストのカップルを発行することにより、分散マネージャにスクリプトをプッシュ。

5. Once the whole script has been transferred, the manager sends a set-request to set the smScriptAdminStatus object to `enabled'. The Script MIB implementation now makes the script accessible to the runtime system. This might include the compilation of the script if the language requires a compilation step.

スクリプト全体が転送された後5、マネージャーは `「有効にsmScriptAdminStatusオブジェクトを設定するには、Set-要求を送信します。スクリプトMIBの実装は現在、ランタイムシステムへのスクリプトがアクセスできるようになります。言語はコンパイルのステップを必要とする場合、これは、スクリプトのコンパイルが含まれる場合があります。

6. The manager polls the smScriptOperStatus object until the value is either `enabled' or one of the error status codes. The script can only be used if the value of smScriptOperStatus is `enabled'.

6.値までマネージャをポーリングsmScriptOperStatusオブジェクトのいずれか `有効」またはエラーステータスコードのいずれかです。 smScriptOperStatusの値が `」有効になっている場合、スクリプトにのみ使用することができます。

7. If the manager wants to store the script in local non-volatile storage, it should send a set-request which changes the smScriptStorageType object to `nonVolatile'.

7.管理者がローカル不揮発性ストレージにスクリプトを保存したい場合、それは `不揮発性」にsmScriptStorageTypeオブジェクトを変更し、セットのリクエストを送信する必要があります。

7.2. Pulling a Script from a URL
7.2. URLからスクリプトを引っ張ります

This example explains the steps performed by a manager to cause a distributed manager to pull a script from a URL.

この例では、URLからスクリプトを引くために、分散マネージャを引き起こすために管理者によって実行されるステップを説明します。

1. The manager first checks the smLangTable and the smExtsnTable in order to select the appropriate script or language.

1.マネージャは、最初に適切なスクリプトまたは言語を選択するためにsmLangTableとsmExtsnTableをチェックします。

2. The manager creates a row in the smScriptTable by issuing an SNMP set-request. The smScriptRowStatus object is set to `createAndWait' and the smScriptSource object is set to the URL which points to the script source. The smScriptLanguage object is set to the language in which the script was written. The smScriptOwner is set to a string which identifies the principal who owns the new row. The smScriptName defines the administratively assigned unique name for the script.

2.管理者は、SNMPセット要求を発行することによってsmScriptTableの行を作成します。 smScriptRowStatusオブジェクトは `createAndWaitに」に設定されており、smScriptSourceオブジェクトは、スクリプトのソースを指すURLに設定されています。 smScriptLanguageオブジェクトは、スクリプトが書かれた言語に設定されています。 smScriptOwnerは、新しい行を所有するプリンシパルを識別する文字列に設定されています。 smScriptNameは、スクリプトの管理上割り当てられた一意の名前を定義します。

3. The manager sets the smScriptRowStatus object to `active'.
3.マネージャは `アクティブにsmScriptRowStatusオブジェクトを設定します。

4. The manager sends a set-request to set the smScriptAdminStatus object to `enabled'. The Script MIB implementation now makes the script accessible to the runtime system. This causes a retrieval operation to pull the script from the URL stored in smScriptSource. This retrieval operation might be followed by a compile operation if the language requires a compilation step.

4.管理者は、 `「有効にsmScriptAdminStatusオブジェクトを設定するには、Set-要求を送信します。スクリプトMIBの実装は現在、ランタイムシステムへのスクリプトがアクセスできるようになります。これはsmScriptSourceに保存されているURLからスクリプトを引っ張って検索操作の原因となります。言語はコンパイルのステップを必要とする場合、この検索操作は、コンパイル作業が続いている可能性があります。

5. The manager polls the smScriptOperStatus object until the value is either `enabled' or one of the error status codes. The script can only be used if the value of smScriptOperStatus is `enabled'.

5.値までマネージャーをポーリングsmScriptOperStatusオブジェクトは、どちらか `有効」またはエラーステータスコードのいずれかです。 smScriptOperStatusの値が `」有効になっている場合、スクリプトにのみ使用することができます。

6. If the manager wants to store the script in local non-volatile storage, it should send a set-request which changes the smScriptStorageType object to `nonVolatile'.

6.マネージャはローカル不揮発性ストレージにスクリプトを保存したい場合、それは `不揮発性」にsmScriptStorageTypeオブジェクトを変更し、セットのリクエストを送信する必要があります。

7.3. Modifying an Existing Script
7.3. 既存のスクリプトを変更します

This section explains how a manager can modify a script by sending SNMP set-requests.

このセクションでは、マネージャは、SNMPセット - リクエストを送信することにより、スクリプトを変更する方法について説明します。

1. First, the script is de-activated by setting the smScriptAdminStatus to `disabled'.

1.まず、スクリプトが `無効にsmScriptAdminStatusを設定することで、非活性化されます。

2. The manager polls the smScriptOperStatus object until the value is `disabled'.

2.マネージャーをポーリングsmScriptOperStatusオブジェクト値が「`無効になるまで。

3. The manager sets smScriptSource to an empty string and smScriptAdminStatus to `editing'. This makes the script source available in the smCodeTable.

3.管理者は `編集」に空の文字列とsmScriptAdminStatusにsmScriptSourceを設定します。これはsmCodeTableで利用可能なスクリプトのソースを作ります。

4. The manager polls the smScriptOperStatus object until the value is `editing'.

4.マネージャのポーリングsmScriptOperStatusオブジェクト値が '編集」ですまで。

5. The manager sends SNMP set-requests to modify the script in the smCodeTable.

5.マネージャはsmCodeTableにスクリプトを変更するSNMPセット - リクエストを送信します。

6. The manager sends a set-request to set the smScriptAdminStatus object to `enabled'. The Script MIB implementation now makes the script accessible to the runtime system. This might include the compilation of the script if the language requires a compilation step.

6.マネージャは `「enabledにsmScriptAdminStatusオブジェクトを設定するためのセット要求を送信します。スクリプトMIBの実装は現在、ランタイムシステムへのスクリプトがアクセスできるようになります。言語はコンパイルのステップを必要とする場合、これは、スクリプトのコンパイルが含まれる場合があります。

7. The manager polls the smScriptOperStatus object until the value is either `enabled' or one of the error status codes. The script can only be used if the value of smScriptOperStatus is `enabled'.

7.値までマネージャーをポーリングsmScriptOperStatusオブジェクトは、どちらか `有効」またはエラーステータスコードのいずれかです。 smScriptOperStatusの値が `」有効になっている場合、スクリプトにのみ使用することができます。

7.4. Removing an Existing Script
7.4. 既存のスクリプトを削除します

This section explains how a manager can remove a script from a distributed manager.

このセクションでは、マネージャは、分散マネージャからスクリプトを削除する方法について説明します。

1. First, the manager sets the smScriptAdminStatus to `disabled'. This will ensure that no new scripts can be started while running scripts finish their execution.

1.まず、管理者が `無効にsmScriptAdminStatusを設定します。これは、実行中のスクリプトがその実行を終了しながら、新しいスクリプトが開始されないことを保証します。

2. The manager polls the smScriptOperStatus object until the value is `disabled'.

2.マネージャーをポーリングsmScriptOperStatusオブジェクト値が「`無効になるまで。

3. The manager sends an SNMP set-request to change the smScriptRowStatus object to `destroy'. This will remove the row and all associated resources from the Script MIB implementation.

3.管理者は、「破棄 `にsmScriptRowStatusオブジェクトを変更するには、SNMP設定要求を送信します。これは、スクリプトMIBの実装から行と関連するすべてのリソースを削除します。

7.5. Creating a Launch Button
7.5. 起動ボタンを作成します

This section explains how a manager can create a launch button for starting a script.

このセクションでは、管理者がスクリプトを起動するための起動ボタンを作成する方法について説明します。

1. The manager, who is identified by an smLaunchOwner value, first chooses a name for the new row in the smLaunchTable. The manager sends an SNMP set-request to set the smLaunchRowStatus object for this smLaunchOwner and smLaunchName to `createAndWait'.

1. smLaunchOwner値によって識別されるマネージャは、最初smLaunchTableに新しい行の名前を選択します。マネージャは、このsmLaunchOwnerとsmLaunchName `createAndWaitに」にするためにsmLaunchRowStatusオブジェクトを設定するためのSNMP設定要求を送信します。

2. The manager fills the new smLaunchTable row with all required parameters. The smLaunchScriptOwner and smLaunchScriptName values point to the script that should be started from this launch button.

2.管理者は、すべての必要なパラメータを使用して新しいsmLaunchTable行を埋めます。 smLaunchScriptOwnerとsmLaunchScriptName値は、この起動ボタンから開始されなければならないスクリプトを指します。

3. The manager sets the smLaunchRowStatus object to `active'.
3.マネージャは `アクティブにsmLaunchRowStatusオブジェクトを設定します。

4. The manager sends a set-request to change smLaunchAdminStatus to `enabled' once the new smLaunchTable row is complete.

4.監督は新しいsmLaunchTable行が完了すると、 `」有効にするsmLaunchAdminStatusを変更するには、Set-要求を送信します。

5. The manager polls the smLaunchOperStatus object until the value is `enabled'.

5.マネージャのポーリングは値までsmLaunchOperStatusオブジェクトは `」有効になっています。

7.6. Launching a Script
7.6. スクリプトの起動

This section explains the suggested way to launch a script from a given launch button.

このセクションでは、与えられた起動ボタンからスクリプトを起動することが示唆方法を説明します。

1. The manager first retrieves the value of smLaunchRunIndexNext from the launch button selected to start the script.

1.マネージャは、最初のスクリプトを開始するために選択された発射ボタンからsmLaunchRunIndexNextの値を取得します。

2. The manager sends an SNMP set-request to set the smLaunchStart object to the value obtained in step 1. This will launch the script if all necessary pre-conditions are satisfied (see the definition of smLaunchStart for more details). The manager can also provide the smLaunchArgument in the same set-request that is used to start the script. Upon successful start, a new row will be created in the smRunTable indexed by smLaunchOwner, smLaunchName and the value written to smLaunchStart.

2.マネージャは、(詳細はsmLaunchStartの定義を参照)、すべての必要な事前条件が満足される場合、これは、スクリプトを起動するステップ1で得られた値にsmLaunchStartオブジェクトを設定するためのSNMP設定要求を送信します。管理者は、スクリプトを起動するために使用される同じセット要求にsmLaunchArgumentを提供することができます。正常に起動すると、新しい行がsmLaunchOwner、smLaunchNameとsmLaunchStartに書き込まれた値でインデックスさsmRunTableに作成されます。

3. The manager polls the smRunState object until the value is either `executing' (the default case), `suspended' or `terminated'.

3.マネージャポーリングを値までsmRunStateオブジェクトは `懸濁し、(デフォルトの場合) 'または`「末端のいずれか `実行されています。

The first step is not required. A manager can also try to guess an unused value for smRunIndex if the manager wants to start the script in a single transaction. A manager can also use the special value 0 if it does not care about the smRunIndex.

最初のステップは必要ありません。管理者はまた、管理者は、単一のトランザクションでスクリプトを起動したい場合smRunIndexのため、未使用の値を推測しようとすることができます。それはsmRunIndex気にしない場合、管理者は、特別な値0を使用することができます。

7.7. Suspending a Running Script
7.7. スクリプトの実行を一時停止

This section explains how a manager can suspend a running script.

このセクションでは、マネージャが実行中のスクリプトを一時停止する方法について説明します。

1. The manager sets the smRunControl object of the running script or the smLaunchControl object of the launch button used to start the running script to `suspend'. Setting smLaunchControl will suspend all running scripts started from the launch button while smRunControl will only suspend the running script associated with the smRunControl instance.

1.管理者は、実行中のスクリプトまたは `」一時停止に実行中のスクリプトを開始するために使用される起動ボタンのsmLaunchControlオブジェクトのsmRunControlオブジェクトを設定します。 smRunControlのみsmRunControlインスタンスに関連付けられた実行中のスクリプトを中断する一方smLaunchControlは、すべての実行中のスクリプトを中断します設定すると、起動ボタンから開始しました。

2. The manager polls the smRunState object until the value is either `suspended', `executing', or `terminated'. If the value is `suspended', then the suspend operation was successful. If the value is `executing', then the attempt to suspend the script failed. The value `terminated' can be received in cases where the suspend operation failed and the running script terminated between the polls.

2.マネージャをポーリングsmRunStateオブジェクト値のいずれかである `懸濁「`実行」、または `「末端まで。値が `「中断された場合、インクルードは、操作が成功した一時停止します。値が `「実行されている場合、スクリプトを一時停止に失敗しました。 `「終了値が一時停止操作が失敗し、実行中のスクリプトがポーリング間で終端例で受信することができます。

Note that the set operation in the first step can lead to an inconsistentValue error which indicates that the suspend operation failed (e.g., because the runtime system does not support suspend/resume). There is no need to poll smRunState in this case.

最初のステップで設定された動作がサスペンド操作(例えば、ランタイムシステムがサポートしていないため、サスペンド/レジューム)失敗したことを示しinconsistentValueエラーにつながる可能性があることに注意してください。この場合にはsmRunStateをポーリングする必要はありません。

7.8. Resuming a Suspended Script
7.8. 中断スクリプトを再開

This section explains how a manager can resume a suspended script.

このセクションでは、管理者が中断したスクリプトを再開することができます方法について説明します。

1. The manager sets the smRunControl object of the running script or the smLaunchControl object of the launch button used to start the running script to `resume'. Setting smLaunchControl will resume all running scripts started from the launch button while smRunControl will only resume the running script associated with the smRunControl instance.

1.管理者は、実行中のスクリプトや `履歴書」への実行中のスクリプトを開始するために使用される起動ボタンのsmLaunchControlオブジェクトのsmRunControlオブジェクトを設定します。 smRunControlのみsmRunControlインスタンスに関連付けられた実行中のスクリプトを再開する一方smLaunchControlは、実行中のすべてのスクリプトを再開します設定すると、起動ボタンから開始しました。

2. The manager polls the smRunState object until the value is either `suspended', `executing', or `terminated'. If the value is `executing', then the resume operation was successful. If the value is `suspended', then the attempt to resume the script failed. The value `terminated' can be received in cases where the resume operation was successful and the running script terminated between the polls.

2.マネージャをポーリングsmRunStateオブジェクト値のいずれかである `懸濁「`実行」、または `「末端まで。値が `「実行されている場合は、再開操作が成功しました。値が `「中断された場合は、スクリプトを再開しようとして失敗しました。 `「終了値は、再開操作が成功したとポーリングの間で終了、実行中のスクリプトだった場合に受信することができます。

Note that the set operation in the first step can lead to an inconsistentValue error which indicates that the resume operation failed (e.g., because the runtime system does not support suspend/resume). There is no need to poll smRunState in this case.

最初のステップで設定された動作が再開動作(例えば、ランタイムシステムがサポートしていないため、サスペンド/レジューム)失敗したことを示しinconsistentValueエラーにつながる可能性があることに注意してください。この場合にはsmRunStateをポーリングする必要はありません。

7.9. Terminating a Running Script
7.9. スクリプトの実行を終了

This section explains two ways to terminate a running script. The first approach is as follows:

このセクションでは、実行中のスクリプトを終了する2つの方法を説明します。次のように最初のアプローチは、次のとおりです。

1. The manager sets the smRunControl object of the running script or the smLaunchControl object of the launch button used to start the running script to `abort'. Setting smLaunchControl will abort all running scripts started from the launch button while smRunControl will only abort the running script associated with the smRunControl instance.

1.管理者は、実行中のスクリプトや `アボート」に実行するスクリプトを起動するために使用する起動ボタンのsmLaunchControlオブジェクトのsmRunControlオブジェクトを設定します。 smRunControlのみsmRunControlインスタンスに関連付けられた実行中のスクリプトを中断する一方smLaunchControlは、すべての実行中のスクリプトを中断します設定すると、起動ボタンから開始しました。

2. The manager polls the smRunState object until the value is `terminated'.

2.マネージャにポーリングは値までsmRunStateオブジェクトは `「終了されます。

The second way to terminate a script is to set the smRunLifeTime to zero which causes the runtime system to terminate the script with a `lifeTimeExceeded' exit code:

スクリプトを終了させる第二の方法は `lifeTimeExceeded」終了コードでスクリプトを終了するランタイムシステムを引き起こすゼロにsmRunLifeTimeを設定することです。

1. The manager changes the value of smRunLifeTime to 0. This causes the Script MIB implementation to abort the script because the remaining life time has expired.

1.管理者は、これは、残りの人生の時間が経過したため、スクリプトMIBの実装は、スクリプトを中止する原因となる0にsmRunLifeTimeの値を変更します。

2. The manager polls the smRunState object until the value is `terminated'.

2.マネージャにポーリングは値までsmRunStateオブジェクトは `「終了されます。

Note that changing the smRunLifeTime value can also be used to increase the permitted lifetime of a running script. For example, a manager can choose to set smRunLifeTime to a small fixed time interval and increase the value periodically. This strategy has the nice effect that scripts terminate automatically if the manager loses contact with the Script MIB engine.

smRunLifeTime値を変更すると、実行中のスクリプトの許可寿命を増加させるためにも使用できることに留意されたいです。たとえば、管理者は、小さな一定の時間間隔にsmRunLifeTimeを設定し、定期的に値を増加させるために選択することができます。この戦略は、管理者がスクリプトMIBエンジンとの接触を失った場合、スクリプトは自動的に終了素敵な効果があります。

7.10. Removing a Terminated Script
7.10. 終端スクリプトを削除します

This section explains how a manager can remove a terminated script.

このセクションでは、マネージャが終了したスクリプトを削除する方法について説明します。

1. The manager changes the smRunExpireTime to 0. This causes the Script MIB implementation to destroy the smRunTable entry of the terminated script.

1.管理者は、これが終了するスクリプトのsmRunTableエントリを破壊するスクリプトMIBの実装を引き起こし0にsmRunExpireTimeを変更します。

7.11. Removing a Launch Button
7.11. 起動ボタンを削除します

This section explains how a manager can remove a launch button from a distributed manager.

このセクションでは、マネージャは、分散マネージャから起動ボタンを削除する方法について説明します。

1. First, the manager sets the smLaunchAdminStatus to `disabled'. This will ensure that no new scripts can be started from this launch button while running scripts finish their execution.

1.まず、管理者が `無効にsmLaunchAdminStatusを設定します。これは、実行中のスクリプトがその実行を終了しながら、新しいスクリプトは、この起動ボタンから起動できないことを保証します。

2. The manager polls the smLaunchOperStatus object until the value is `disabled'.

2.マネージャーをポーリングsmLaunchOperStatusオブジェクト値が「`無効になるまで。

3. The manager sends an SNMP set-request to change the smLaunchRowStatus object to `destroy'. This will remove the row and all associated resources from the Script MIB implementation.

3.管理者は、「破棄 `にsmLaunchRowStatusオブジェクトを変更するには、SNMP設定要求を送信します。これは、スクリプトMIBの実装から行と関連するすべてのリソースを削除します。

8. VACM Configuration Examples
8. VACMの設定例

This section shows how the view-based access control model defined in RFC 2575 [RFC2575] can be configured to control access to the Script MIB.

このセクションでは、RFC 2575 [RFC2575]で定義されたビューベースアクセス制御モデルがスクリプトMIBへのアクセスを制御するように構成することができる方法を示しています。

8.1. Sandbox for Guests
8.1. ご宿泊のお客様のためのサンドボックス

The first example demonstrates how to configure VACM to give the members of the VACM group "guest" limited access to the Script MIB. The MIB views defined below give the members of the "guest" group a sandbox where they can install and start their own scripts, but not access any other scripts maintained by the Script MIB implementation.

最初の例では、VACMグループ「ゲスト」スクリプトMIBへのアクセスが制限のメンバーを与えるためにVACMを構成する方法を示しています。以下に定義するMIBビューは、「ゲスト」グループのメンバーに彼らがインストールして、独自のスクリプトを起動しますが、スクリプトMIBの実装によって維持され、他のスクリプトにアクセスすることはできませんサンドボックスを与えます。

vacmAccessReadView."guest"."".usm.authNoPriv = "guestReadView" vacmAccessWriteView."guest"."".usm.authNoPriv = "guestWriteView"

vacmAccessReadView。 "ゲスト"。 ""。usm.authNoPriv = "guestReadView" vacmAccessWriteView。 "ゲスト"。 ""。usm.authNoPriv = "guestWriteView"

The guestReadView grants read access to the smLangTable, the smExtsnTable and to all the table entries owned by "guest":

guestReadView補助金はsmLangTable、smExtsnTableと「ゲスト」が所有するすべてのテーブルエントリへのアクセスをお読みください。

guestReadView: smLangTable (included) smExtsnTable (included) smScriptObjects.*.*.*."guest" (included) smRunObjects.*.*.*."guest" (included)

guestReadView:smLangTable(付属)smExtsnTable(付属)smScriptObjects * * * "ゲスト"(付属)smRunObjects * * * "ゲスト"(付属)。。。。。。。。

The guestWriteView grants write access to all the table entries owned by "guest":

guestWriteView補助金は、「ゲスト」が所有するすべてのテーブルエントリへのアクセスを記述します。

guestWriteView: smScriptObjects.*.*.*."guest" (included) smRunObjects.*.*.*."guest" (included)

guestWriteView:。。。。。。。。smScriptObjects * * * "ゲスト"(付属)smRunObjects * * * "ゲスト"(付属)

8.2. Sharing Scripts
8.2. スクリプトを共有

This example demonstrates how VACM can be used to share a repository of scripts between the members of the "senior" and the members of the "junior" VACM group:

この例では、VACMは「先輩」のメンバーと「ジュニア」VACMグループのメンバー間のスクリプトのリポジトリを共有するために使用することができます方法を示しています。

vacmAccessReadView."junior"."".usm.authNoPriv = "juniorReadView" vacmAccessWriteView."junior"."".usm.authNoPriv = "juniorWriteView"

vacmAccessReadView。 "ジュニア"。 ""。usm.authNoPriv = "juniorReadView" vacmAccessWriteView。 "ジュニア"。 ""。usm.authNoPriv = "juniorWriteView"

juniorReadView: smLangTable (included) smExtsnTable (included) smScriptObjects.*.*.*."junior" (included) smRunObjects.*.*.*."junior" (included) smScriptObjects.*.*.*."utils" (included)

juniorReadView:smLangTable(付属)smExtsnTable(付属)smScriptObjects * * * "ジュニア"(付属)smRunObjects * * * "ジュニア"(付属)smScriptObjects * * * "utilsの"(。。。。。。。。。。。。含まれています)

juniorWriteView: smScriptObjects.*.*.*."junior" (included) smRunObjects.*.*.*."junior" (included)

juniorWriteView:smScriptObjects * * * "ジュニア"(付属)smRunObjects * * * "ジュニア"(付属)。。。。。。。。

The definitions above allow the members of the "junior" VACM group to start the scripts owned by "utils" in addition to the script the members of the "junior" VACM group installed themselves. This is accomplished by giving the members of "junior" read access to scripts in "utils". This allows members of "junior" to create entries in the smLaunchTable which refer to scripts in "utils", and to launch those scripts using these entries in the smLaunchTable.

上記の定義は、「ジュニア」VACMグループのメンバーは、「ジュニア」VACMグループのメンバーが自分自身をインストールスクリプトに加えて、「utilsの」が所有しているスクリプトを起動することができます。これは、「ジュニア」のメンバーは、「utilsの」中のスクリプトへの読み取りアクセス権を与えることによって達成されます。これは、「ジュニア」のメンバーは、「utilsの」中のスクリプトを参照してくださいsmLaunchTableにエントリを作成するために、そしてsmLaunchTableでこれらのエントリを使用してそれらのスクリプトを起動することができます。

vacmAccessReadView."senior"."".usm.authNoPriv = "seniorReadView" vacmAccessWriteView."senior"."".usm.authNoPriv = "seniorWriteView"

vacmAccessReadView。 "先輩"。 ""。usm.authNoPriv = "seniorReadView" vacmAccessWriteView。 "先輩"。 ""。usm.authNoPriv = "seniorWriteView"

seniorReadView: smLangTable (included) smExtsnTable (included) smScriptObjects.*.*.*."senior" (included) smRunObjects.*.*.*."senior" (included) smScriptObjects.*.*.*."utils" (included)

seniorReadView:smLangTable(付属)smExtsnTable(付属)smScriptObjects * * * "シニア"(付属)smRunObjects * * * "シニア"(付属)smScriptObjects * * * "utilsの"(。。。。。。。。。。。。含まれています)

seniorWriteView: smScriptObjects.*.*.*."senior" (included) smRunObjects.*.*.*."senior" (included) smScriptObjects.*.*.*."utils" (included)

seniorWriteView:。。。。。。。。。。。。smScriptObjects * * * "シニア"(付属)smRunObjects * * * "シニア"(付属)smScriptObjects * * * "utilsの"(付属)

The definitions for the members of the "senior" VACM group allow to start the scripts owned by "utils" in addition to the script the members of the "senior" VACM group installed themself. The third write access rule in the seniorWriteView also grants the permission to install scripts owned by "utils". The members of the "senior" VACM group therefore have the permissions to install and modify scripts that can be called by the members of the "junior" VACM group.

「シニア」VACMグループのメンバーの定義は、「シニア」VACMグループのメンバーは、その人自身をインストールスクリプトに加えて、「utilsの」が所有しているスクリプトを起動することができます。 seniorWriteViewで3回目のライトアクセスルールも「utilsの」が所有しているスクリプトをインストールするための権限を付与します。 「シニア」VACMグループのメンバーは、したがって、「ジュニア」VACMグループのメンバーによって呼び出すことができるスクリプトをインストールし、変更する権限を持っています。

8.3. Emergency Scripts
8.3. 緊急時のスクリプト

This example demonstrates how VACM can be used to allow the members of the "junior" VACM group to launch scripts that are executed with the permissions associated with the "emergency" owner. This works by adding the following rules to the juniorReadView and the juniorWriteView:

この例では、VACMは、「ジュニア」VACMグループのメンバーが「緊急」の所有者に関連付けられた権限で実行されるスクリプトを起動できるようにするために使用する方法を示しています。これはjuniorReadViewとjuniorWriteViewに次のルールを追加することで動作します。

juniorReadView: smScriptObjects.*.*.*."emergency" (included) smRunObjects.*.*.*."emergency" (included)

juniorReadView:。。。。。。。。smScriptObjects * * * "緊急"(付属)smRunObjects * * * "緊急"(付属)

juniorWriteView smLaunchStart."emergency" (included) smLaunchArgument."emergency" (included)

juniorWriteView smLaunchStart。 "緊急"(付属)smLaunchArgument。 "緊急"(付属)

The rules added to the juniorReadView grant read access to the scripts, the launch buttons and the results owned by "emergency". The rules added to the juniorWriteView grant write permissions to the smLaunchStart and smLaunchArgument variables owned by "emergency". Members of the "junior" VACM group can therefore start scripts that will execute under the owner "emergency".

juniorReadView助成金に追加したルールは、起動ボタンと「緊急」が所有して結果をスクリプトへのアクセスをお読みください。ルールは、「緊急」が所有smLaunchStartとsmLaunchArgument変数にjuniorWriteView付与書き込み権限を追加しました。 「ジュニア」VACMグループのメンバーは、したがって、所有者「緊急」の下で実行されるスクリプトを起動することができます。

seniorReadView: smScriptObjects.*.*.*."emergency" (included) smRunObjects.*.*.*."emergency" (included)

seniorReadView:smScriptObjects * * * "緊急"(付属)smRunObjects * * * "緊急"(付属)。。。。。。。。

seniorWriteView: smScriptObjects.*.*.*."emergency" (included) smRunObjects.*.*.*."emergency" (included)

seniorWriteView:smScriptObjects * * * "緊急"(付属)smRunObjects * * * "緊急"(付属)。。。。。。。。

The rules added to the seniorReadView and the seniorWriteView will give the members of the "senior" VACM group the rights to install emergency scripts and to configure appropriate launch buttons.

seniorReadViewとseniorWriteViewに追加したルールは、「シニア」VACMグループのメンバー緊急スクリプトをインストールするには、適切な起動ボタンを設定する権利を与えます。

9. IANA Considerations
9. IANAの考慮事項

The Internet Assigned Numbers Authority (IANA) is responsible for maintaining a MIB module (IANA-LANGUAGE-MIB) which provides OID registrations for well-known languages. The IANA language registry is intended to reduce interoperability problems by providing a single list of well-known languages. However, it is of course still possible to register languages in private OID spaces. Registering languages in private OID spaces is especially attractive if a language is used for experimentation or if a language is only used in environments where the distribution of MIB modules with the language registration does not cause any maintenance problems.

IANA(Internet Assigned Numbers Authority)は、よく知られた言語のためのOIDの登録を提供するMIBモジュール(IANA-LANGUAGE-MIB)を維持する責任があります。 IANA言語レジストリは、よく知られている言語の単一のリストを提供することにより、相互運用性の問題を低減することを目的とします。しかし、民間のOID空間に言語を登録するにはまだもちろん可能です。言語は、実験のために使用されている場合や言語のみの環境で使用されている場合、言語の登録とMIBモジュールの分布は、任意のメンテナンスの問題が発生しない場合、民間OID空間に言語を登録すると、特に魅力的です。

Any additions or changes to the list of languages registered via IANA require Designated Expert Review as defined in the IANA guidelines [RFC2434]. The Designated Expert will be selected by the IESG Area Director for the IETF Operations and Management Area.

IANAガイドライン[RFC2434]で定義されるようにIANAによって登録言語のリストに任意の追加や変更は、専門家レビューを指定必要。指定専門家は、IETF操作と管理領域のためのIESGエリアディレクターによって選択されます。

10. Security Considerations
10.セキュリティの考慮事項

There are a number of management objects defined in this MIB that have a MAX-ACCESS clause of read-write and/or read-create. Such objects may be considered sensitive or vulnerable in some network environments. The support for SET operations in a non-secure environment without proper protection can have a negative effect on network operations.

読み書きおよび/またはリード作成のMAX-ACCESS節を持っているこのMIBで定義された管理オブジェクトの数があります。そのようなオブジェクトは、いくつかのネットワーク環境に敏感又は脆弱と考えることができます。適切な保護のない非安全な環境におけるSET操作のサポートはネットワーク操作のときにマイナスの影響を与える可能性があります。

SNMPv1 by itself is not a secure environment. Even if the network itself is secure (for example by using IPSec), even then, there is no control as to who on the secure network is allowed to access and GET/SET (read/change/create/delete) the objects in this MIB.

それ自体でSNMPv1が安全な環境ではありません。ネットワーク自体が(IPSecを使用することにより、例えば)安全であっても、その後も、安全なネットワーク上で/ SETにアクセスし、GETだれに許容されているかのように何の制御(読み取り/変更/作成/削除)この内のオブジェクトが存在しませんMIB。

It is recommended that the implementers consider the security features as provided by the SNMPv3 framework. Specifically, the use of the User-based Security Model RFC 2574 [RFC2574] and the View-based Access Control Model RFC 2575 [RFC2575] is recommended.

SNMPv3フレームワークで提供するように実装は、セキュリティ機能を検討することをお勧めします。具体的には、ユーザベースセキュリティモデルのRFC 2574 [RFC2574]とビューベースアクセス制御モデルRFC 2575 [RFC2575]の使用が推奨されます。

It is then a customer/user responsibility to ensure that the SNMP entity giving access to an instance of this MIB, is properly configured to give access to the objects only to those principals (users) that have legitimate rights to indeed GET or SET (change/create/delete) them.

このMIBのインスタンスへのアクセスを与えるSNMP実体が、適切にのみプリンシパル(ユーザ)にオブジェクトへのアクセスを提供するように設定されていることを確認するために、顧客/ユーザーの責任実際にGETまたはSET(変化への正当な権利を有することです/)/削除、それらを作成します。

This MIB provides the ability to distribute applications written in an arbitrary language to remote systems in a network. The security features of the languages available in a particular implementation should be taken into consideration when deploying an implementation of this MIB.

このMIBは、ネットワーク内のリモートシステムに、任意の言語で書かれたアプリケーションを配布する能力を提供します。このMIBの実装を展開するときに特定の実装で使用可能な言語のセキュリティ機能を考慮する必要があります。

To facilitate the provisioning of access control by a security administrator using the View-Based Access Control Model (VACM) defined in RFC 2575 [RFC2575] for tables in which multiple users may need to independently create or modify entries, the initial index is used as an "owner index". Such an initial index has a syntax of SnmpAdminString, and can thus be trivially mapped to a securityName or groupName as defined in VACM, in accordance with a security policy.

複数のユーザが独立にエントリを作成または変更する必要があるかもしれないしたテーブルは、RFC 2575 [RFC2575]で定義されたビューベースアクセス制御モデル(VACM)を使用して、セキュリティ管理者がアクセス制御のプロビジョニングを容易にするために、最初のインデックスは次のように使用されています「所有者インデックス」。そのような初期のインデックスはれるSnmpAdminStringの構文を有し、セキュリティポリシーに従って、VACMで定義され、したがって自明のsecurityNameまたはグループ名にマッピングすることができます。

All entries in related tables belonging to a particular user will have the same value for this initial index. For a given user's entries in a particular table, the object identifiers for the information in these entries will have the same subidentifiers (except for the "column" subidentifier) up to the end of the encoded owner index. To configure VACM to permit access to this portion of the table, one would create vacmViewTreeFamilyTable entries with the value of vacmViewTreeFamilySubtree including the owner index portion, and vacmViewTreeFamilyMask "wildcarding" the column subidentifier. More elaborate configurations are possible.

特定のユーザーに属する関連するテーブルのすべてのエントリは、この初期のインデックスのための同じ値を持つことになります。特定のテーブル内の指定されたユーザのエントリを、これらのエントリの情報のためのオブジェクト識別子は、符号化された所有者インデックスの終わりまで(「列」サブ識別子を除いて)同じサブ識別子を有することになります。テーブルのこの部分へのアクセスを可能にするためにVACMを構成するには、一つは、所有者インデックス部分を含むvacmViewTreeFamilySubtreeの値、およびvacmViewTreeFamilyMask「ワイルドカード」欄のサブ識別子でvacmViewTreeFamilyTableのエントリを作成します。より複雑な構成が可能です。

The VACM access control mechanism described above provides control over SNMP access to Script MIB objects. There are a number of other access control issues that are outside of the scope of this MIB. For example, access control on URLs, especially those that use the file scheme, must be realized by the underlying operating system. A mapping of the owner index value to a local operating system security user identity should be used by an implementation of this MIB to control access to operating system resources when resolving URLs or executing scripts.

上記VACMアクセス制御機構は、スクリプトMIBオブジェクトへのSNMPアクセスの制御を提供します。このMIBの範囲の外にある他のアクセス制御の問題がいくつかあります。例えば、URLを、fileスキームを使用することを特に上のアクセス制御は、基礎となるオペレーティング・システムによって実現されなければなりません。ローカル・オペレーティング・システムのセキュリティ・ユーザ・アイデンティティに所有者指標値のマッピングは、URLを解決するか、スクリプトを実行するときに、オペレーティング・システム・リソースへのアクセスを制御するために、このMIBの実装によって使用されるべきです。

11. Intellectual Property
11.知的財産

The IETF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-related documentation can be found in BCP-11. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification can be obtained from the IETF Secretariat.

IETFは、そのような権限下で、ライセンスがたりないかもしれない可能性があるためにどの本書または程度に記載されている技術の実装や使用に関係すると主張される可能性があります任意の知的財産やその他の権利の有効性または範囲に関していかなる位置を取りません利用可能。また、そうした権利を特定するために取り組んできたことを表していないん。スタンダードトラックおよび標準関連文書における権利に関するIETFの手続きの情報は、BCP-11に記載されています。権利の主張のコピーは、出版のために利用可能とライセンスの保証が利用できるようにする、または本仕様の実装者または利用者が、そのような所有権の使用のための一般的なライセンスまたは許可を取得するために作られた試みの結果を得ることができますIETF事務局から。

The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this standard. Please address the information to the IETF Executive Director.

IETFは、その注意にこの標準を実践するために必要な場合があり技術をカバーすることができる任意の著作権、特許または特許出願、またはその他の所有権を持ってすべての利害関係者を招待します。 IETF専務に情​​報を扱ってください。

12. Changes from
12.変更から

The following list documents major changes from the previous version of this document, published as RFC 2592:

以下のリスト文書RFC 2592として発行され、この文書の以前のバージョンからの主な変更点:

- Updated the boilerplate and the references.

- 定型文と参照を更新しました。

- Added revision clauses to the module identity macro.

- モジュールのIDマクロに改正条項を追加しました。

- Various typos have been fixed.

- 様々なタイプミスが修正されました。

- Added SIZE restriction to smScriptName which is consistent with smLaunchScriptName. Added DEFVAL and some clarifying text on the usage of a zero-length string to smLaunchScriptName.

- smLaunchScriptNameと一致しているsmScriptNameに追加しましたサイズ制限。 DEFVALとsmLaunchScriptNameに長さゼロの文字列の使用方法のいくつかの明確化テキストが追加されました。

- Clarified under which conditions changes to smScriptLanguage are invalid.

- smScriptLanguageへの変更は無効である条件の下で明らかにしました。

- Added new smScriptError and smLaunchError objects.

- 新しいsmScriptErrorとsmLaunchErrorオブジェクトを追加しました。

- Setting smRunLifeTime to its maximum value now disables the timer so that scripts can run forever.

- スクリプトは永久に実行できるようになりましたその最大値にsmRunLifeTimeを設定すると、タイマーを無効にします。

- Added the `autostart' value to the smLaunchAdminStatus object which allows to launch scripts during the disable->enabled transition of smLaunchOperStatus.

- smLaunchOperStatusのDISABLE->有効な遷移中のスクリプトを起動することができますsmLaunchAdminStatusオブジェクトに `自動」の値を追加しました。

- Added an additional step to the "creating a launch button" procedure which sets the smLaunchRowStatus to active.

- アクティブにsmLaunchRowStatusを設定し、「起動ボタンの作成」の手順に追加のステップを追加しました。

- Added a final polling step in the procedure to launch a script.

- スクリプトを起動するための手順の最後のポーリング手順を追加しました。

- Added a final polling step in the procedure to terminate a running script.

- 実行中のスクリプトを終了するために手順の最後のポーリング手順を追加しました。

- Removed the requirement that smRunError is a zero-length string while the smRunExitCode has the value `noError'.

- smRunExitCodeが '値を有しているsmRunErrorは長さゼロの文字列である要件を削除NOERROR」。

- Added new smScriptLastChange, smLaunchLastChange, smRunResultTime, and smRunErrorTime objects.

- 新しいsmScriptLastChange、smLaunchLastChange、smRunResultTime、およびsmRunErrorTimeオブジェクトを追加しました。

- Added some additional boilerplate text to the security considerations section.

- セキュリティの考慮事項のセクションにいくつかの追加の定型テキストを追加しました。

- Added a new smLaunchRowExpireTime object and a new `expired' state to the smLaunchOperStatus object.

- smLaunchOperStatusオブジェクトに新しいsmLaunchRowExpireTimeオブジェクトと新しい `期限切れ」状態を追加しました。

- Clarified that the smRunState object reports the actual state if attempts to suspend or resume scripts fail.

- スクリプトを中断または再開するための試みが失敗した場合smRunStateオブジェクトは、実際の状態を報告することを明らかにしました。

- Clarified the conditions under which set operations to smLaunchControl and smRunControl can lead to inconsistentValue errors.

- smLaunchControlとsmRunControlに操作を設定する条件を明らかにすることはinconsistentValueエラーにつながる可能性があります。

- Added procedures for suspending/resuming/removing running scripts to section 7.

- セクション7にスクリプトを実行する削除/再開/停止するための手順を追加しました。

- Added text to the smScriptStorageType description to better highlight the difference between the storage type of the script row entry and the script itself.

- smScriptStorageType記述に追加されたテキストは、より良好なスクリプト行エントリのストレージタイプとスクリプト自体との間の差を強調します。

- Updated the smCompliances statement to not require write access to the smCodeText object after row creation.

- 列の作成後smCodeTextオブジェクトへの書き込みアクセスを必要としないためにsmCompliancesステートメントを更新しました。

- Deprecated smCompliance, smScriptGroup, smLaunchGroup, smRunGroup, smNotificationsGroup and created smCompliance2, smScriptGroup2, smLaunchGroup2, smRunGroup2 and smNotificationsGroup2 that take care of the new objects and notifications.

- 新しいオブジェクトおよび通知の世話を非推奨smCompliance、smScriptGroup、smLaunchGroup、smRunGroup、smNotificationsGroupとsmCompliance2を作成し、smScriptGroup2、smLaunchGroup2、smRunGroup2とsmNotificationsGroup2。

13. Acknowledgments
13.謝辞

This document was produced by the IETF Distributed Management (DISMAN) working group.

このドキュメントはIETF分散管理(DISMAN)ワーキンググループによって作成されました。

14. References
14.参考文献

[RFC2571] Harrington, D., Presuhn, R. and B. Wijnen, "An Architecture for Describing SNMP Management Frameworks", RFC 2571, April 1999.

[RFC2571]ハリントン、D.、PresuhnとR.とB. Wijnen、 "SNMP管理フレームワークを記述するためのアーキテクチャ"、RFC 2571、1999年4月。

[RFC1155] Rose, M. and K. McCloghrie, "Structure and Identification of Management Information for TCP/IP-based Internets", STD 16, RFC 1155, May 1990.

[RFC1155]ローズ、M.、およびK. McCloghrie、 "構造とTCP / IPベースのインターネットのための経営情報の識別"、STD 16、RFC 1155、1990年5月。

[RFC1212] Rose, M. and K. McCloghrie, "Concise MIB Definitions", STD 16, RFC 1212, March 1991.

[RFC1212]ローズ、M.、およびK. McCloghrie、 "簡潔なMIB定義"、STD 16、RFC 1212、1991年3月。

[RFC1215] Rose, M., "A Convention for Defining Traps for use with the SNMP", RFC 1215, March 1991.

[RFC1215]ローズ、M.、 "SNMPとの使用のためのDefining Trapsのための条約"、RFC 1215、1991年3月。

[RFC2578] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Structure of Management Information Version 2 (SMIv2)", STD 58, RFC 2578, April 1999.

[RFC2578] McCloghrie、K.、パーキンス、D.、Schoenwaelder、J.、ケース、J.、ローズ、M.およびS. Waldbusser、 "経営情報バージョン2(SMIv2)の構造"、STD 58、RFC 2578、 1999年4月。

[RFC2579] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Textual Conventions for SMIv2", STD 58, RFC 2579, April 1999.

[RFC2579] McCloghrie、K.、パーキンス、D.、Schoenwaelder、J.、ケース、J.、ローズ、M.およびS. Waldbusser、 "SMIv2のためのテキストの表記法"、STD 58、RFC 2579、1999年4月。

[RFC2580] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Conformance Statements for SMIv2", STD 58, RFC 2580, April 1999.

[RFC2580] McCloghrie、K.、パーキンス、D.、Schoenwaelder、J.、ケース、J.、ローズ、M.およびS. Waldbusser、 "SMIv2のための適合性宣言"、STD 58、RFC 2580、1999年4月。

[RFC1157] Case, J., Fedor, M., Schoffstall, M. and J. Davin, "Simple Network Management Protocol", STD 15, RFC 1157, May 1990.

[RFC1157]ケース、J.、ヒョードル、M.、Schoffstall、M.、およびJ.デーヴィン、 "簡単なネットワーク管理プロトコル"、STD 15、RFC 1157、1990年5月。

[RFC1901] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser, "Introduction to Community-based SNMPv2", RFC 1901, January 1996.

[RFC1901]ケース、J.、McCloghrie、K.、ローズ、M.およびS. Waldbusser、 "コミュニティベースのSNMPv2の概要"、RFC 1901、1996年1月。

[RFC1906] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser, "Transport Mappings for Version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1906, January 1996.

[RFC1906]ケース、J.、McCloghrie、K.、ローズ、M.、およびS. Waldbusser、RFC 1906 "簡易ネットワーク管理プロトコル(SNMPv2)のバージョン2のための交通マッピング"、1996年1月。

[RFC2572] Case, J., Harrington D., Presuhn R. and B. Wijnen, "Message Processing and Dispatching for the Simple Network Management Protocol (SNMP)", RFC 2572, April 1999.

[RFC2572]ケース、J.、ハリントンD.、Presuhn R.とB. Wijnenの、 "メッセージ処理と簡単なネットワーク管理プロトコル(SNMP)のための派遣"、RFC 2572、1999年4月。

[RFC2574] Blumenthal, U. and B. Wijnen, "User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)", RFC 2574, April 1999.

、RFC 2574、1999年4月 "簡易ネットワーク管理プロトコル(SNMPv3の)のバージョン3のためのユーザベースセキュリティモデル(USM)" [RFC2574]ブルーメンソール、U.とB. Wijnenの、。

[RFC1905] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser, "Protocol Operations for Version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1905, January 1996.

[RFC1905]ケース、J.、McCloghrie、K.、ローズ、M.、およびS. Waldbusser、 "簡易ネットワーク管理プロトコルのバージョン2のためのプロトコル操作(SNMPv2の)"、RFC 1905、1996年1月。

[RFC2573] Levi, D., Meyer, P. and B. Stewart, "SNMPv3 Applications", RFC 2573, April 1999.

[RFC2573]レビ、D.、マイヤー、P.とB.スチュワート、 "SNMPv3のアプリケーション"、RFC 2573、1999年4月。

[RFC2575] Wijnen, B., Presuhn, R. and K. McCloghrie, "View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)", RFC 2575, April 1999.

[RFC2575] Wijnenの、B.、Presuhn、R.とK. McCloghrie、 "簡易ネットワーク管理プロトコルのためのビューベースアクセス制御モデル(VACM)(SNMP)"、RFC 2575、1999年4月。

[RFC2570] Case, J., Mundy, R., Partain, D. and B. Stewart, "Introduction to Version 3 of the Internet-standard Network Management Framework", RFC 2570, April 1999.

[RFC2570]ケース、J.、マンディ、R.、パーテイン、D.とB.スチュワート、 "インターネット標準ネットワーク管理フレームワークのバージョン3への序論"、RFC 2570、1999年4月。

[RFC2028] Hovey, R. and S. Bradner, "The Organizations Involved in the IETF Standards Process", BCP 11, RFC 2028, October 1996.

[RFC2028] Hovey、R.およびS.ブラドナー、BCP 11、RFC 2028、1996年10月 "IETF標準化プロセスに関与する組織"。

[RFC2396] Berners-Lee, T., Fielding, R. and L. Masinter, " Uniform Resource Identifiers (URI): Generic Syntax", RFC 2396, August 1998.

[RFC2396]バーナーズ=リー、T.、フィールディング、R.、およびL. Masinter、 "統一資源識別子(URI):一般的な構文"、RFC 2396、1998年8月。

[RFC959] Postel, J. and J. Reynolds, "File Transfer Protocol", STD 9, RFC 959, October 1985.

[RFC959]ポステル、J.、およびJ.レイノルズ、 "ファイル転送プロトコル"、STD 9、RFC 959、1985年10月。

[RFC2616] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P. and T. Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999.

[RFC2616]フィールディング、R.、ゲティス、J.、モーグル、J.、Frystyk、H.、Masinter、L.、リーチ、P.、およびT.バーナーズ - リー、 "ハイパーテキスト転送プロトコル - HTTP / 1.1"、 RFC 2616、1999年6月。

[RFC2434] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998.

[RFC2434] Narten氏、T.とH. Alvestrand、 "RFCsにIANA問題部に書くためのガイドライン"、BCP 26、RFC 2434、1998年10月。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119]ブラドナーの、S.、 "要件レベルを示すためにRFCsにおける使用のためのキーワード"、BCP 14、RFC 2119、1997年3月。

15. Editors' Addresses
15.エディタのアドレス

David B. Levi Nortel Networks 4401 Great America Parkway Santa Clara, CA 95052-8185 USA

デビッド・B・レビNortel Networksの4401グレートアメリカパークウェイサンタクララ、カリフォルニア州95052から8185 USA

Phone: +1 423 686 0432 EMail: dlevi@nortelnetworks.com

電話:+1 423 686 0432 Eメール:dlevi@nortelnetworks.com

Juergen Schoenwaelder TU Braunschweig Bueltenweg 74/75 38106 Braunschweig Germany

ユルゲンSchoenwaelder TUブラウンシュバイクBültenweg75分の74 38106ブラウンシュヴァイク、ドイツ

Phone: +49 531 391-3283 EMail: schoenw@ibr.cs.tu-bs.de

電話:+49 531 391-3283 Eメール:schoenw@ibr.cs.tu-bs.de

16. Full Copyright Statement
16.完全な著作権声明

Copyright (C) The Internet Society (2001). All Rights Reserved.

著作権(C)インターネット協会(2001)。全著作権所有。

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.

この文書とここに含まれている情報は、基礎とインターネットソサエティおよびインターネットエンジニアリングタスクフォースはすべての保証を否認し、明示または黙示、その情報の利用がない任意の保証を含むがこれらに限定されない「として、」上に設けられています特定の目的への権利または商品性または適合性の黙示の保証を侵害します。

Acknowledgement

謝辞

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。