JP2010072873A - Network management device, network management method, network management program, and recording medium - Google Patents

Network management device, network management method, network management program, and recording medium Download PDF

Info

Publication number
JP2010072873A
JP2010072873A JP2008238623A JP2008238623A JP2010072873A JP 2010072873 A JP2010072873 A JP 2010072873A JP 2008238623 A JP2008238623 A JP 2008238623A JP 2008238623 A JP2008238623 A JP 2008238623A JP 2010072873 A JP2010072873 A JP 2010072873A
Authority
JP
Japan
Prior art keywords
information
mib
managed
network management
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008238623A
Other languages
Japanese (ja)
Other versions
JP5157775B2 (en
Inventor
Hironori Horino
広憲 堀野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008238623A priority Critical patent/JP5157775B2/en
Publication of JP2010072873A publication Critical patent/JP2010072873A/en
Application granted granted Critical
Publication of JP5157775B2 publication Critical patent/JP5157775B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network management device for managing equipment on a network by accessing an MIB (Management Information Base) flexibly compatible with the equipment and models of a plurality of manufacturers connected to a network. <P>SOLUTION: The network management device manages a device to be managed by using an SNMP (Simple Network Management Protocol), and includes: a storage means storing a prescribed data file; an input means for inputting a network address of the device to be managed, device information including manufacturer identification information and information classification; an OID (Object ID) specification means for specifying an object ID related with an extended MIB based on the input device information including the manufacturer identification information by referring to the data file; and an MIB value acquisition means for acquiring an MIB value from the device to be managed by designating the specified object ID. The information classification, the device information including the manufacturer identification information and the object ID are described in association with each other in the data file. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ネットワーク管理装置、ネットワーク管理方法、ネットワーク管理プログラム、及び記録媒体の分野に関する。   The present invention relates to the fields of a network management device, a network management method, a network management program, and a recording medium.

近年、コンピュータに係るあらゆる環境下において、ネットワークは益々複雑化する一方である。このようなネットワークを管理・監視する技術に関して、SNMP(Simple Network Management Protocol)が知られている(RFC1157)。SNMPは、ネットワーク上のネットワーク機器(ノード)を監視、制御する情報の通信方法を定めるプロトコルである。ネットワーク上のプリンタやコンピュータなどの各種の構成機器の情報を取得、設定する場合、これらの構成機器(SNMPエージェント)が実装するMIB(Management Information Base)にアクセスすることで実現される(RFC1213)。ここで、MIBとは、SNMPでやり取りされる情報を呼ぶ。MIBは、ツリー型の構造を有するデータベースであり、MIBに格納されている情報をオブジェクトと呼び、それぞれにオブジェクトIDという識別子が付与されている。また、MIBには、標準MIBと各メーカーが独自に作成できる拡張MIB(プライベートMIBともいう)とが用意されている。SNMPマネジャ(ネットワーク管理装置側)は、SNMPエージェントに対して、オブジェクトIDを指定し構成機器の情報の取得や設定変更を要求する。   In recent years, networks have become more and more complex under all computer environments. As a technique for managing and monitoring such a network, SNMP (Simple Network Management Protocol) is known (RFC 1157). SNMP is a protocol that defines a communication method for information for monitoring and controlling network devices (nodes) on a network. When acquiring and setting information on various component devices such as printers and computers on the network, it is realized by accessing an MIB (Management Information Base) implemented by these component devices (SNMP agents) (RFC 1213). Here, MIB refers to information exchanged by SNMP. The MIB is a database having a tree-type structure, and information stored in the MIB is called an object, and an identifier called an object ID is assigned to each. In addition, the MIB includes a standard MIB and an extended MIB (also referred to as a private MIB) that can be created independently by each manufacturer. The SNMP manager (network management apparatus side) requests the SNMP agent to acquire the information on the constituent devices and change the settings by specifying the object ID.

このようにして、ネットワーク管理装置は、各構成機器のMIBにアクセスして情報を取得することにより、構成機器のステータスを監視することができる。ここで、MIBは上述したようにメーカー独自の拡張MIBを含んでいるため、ネットワークに複数の構成機器が存在する場合は、機器メーカー毎に、そのメーカーの機器の拡張MIBにアクセスする仕組み(プログラム)を用意しておかねばならない。オブジェクトIDは、構成機器の機種によって異なるものであるため、同一のメーカーで製造された機器であっても拡張MIBのオブジェクトIDは異なる場合も多い。   In this way, the network management apparatus can monitor the status of the component device by accessing the MIB of each component device and acquiring information. Here, since the MIB includes a manufacturer-specific extension MIB as described above, when there are a plurality of component devices in the network, a mechanism (program for accessing the extension MIB of the manufacturer's device for each device manufacturer. ) Must be prepared. Since the object ID differs depending on the model of the component device, the object ID of the extended MIB is often different even for devices manufactured by the same manufacturer.

特許文献1に記載される発明は、監視対象毎に、MIB(オブジェクトID)を記述したデータファイルを複数用意しておき、監視対象機器に応じて、対応するデータファイルを読み込んで、ネットワーク上の構成機器のステータスを監視するものである。
特開2003−44374号公報
The invention described in Patent Document 1 prepares a plurality of data files describing MIB (object ID) for each monitoring target, reads the corresponding data file according to the monitoring target device, and It monitors the status of component equipment.
JP 2003-44374 A

しかしながら、特許文献1に記載される発明は、どの構成機器にどのデータファイルを使用するかを、事前に決めておく必要がある。また、新しい機器又は新しいメーカーの機器の追加に対応することはできず、再度対応するデータファイルの作成(設定)作業等が煩雑である。   However, in the invention described in Patent Document 1, it is necessary to determine in advance which data file is used for which component. In addition, it is not possible to cope with the addition of a new device or a device from a new manufacturer, and it is complicated to create (set) a corresponding data file again.

そこで本発明では上記のような問題に鑑みて、ネットワークに接続された複数メーカーの機器及び機種に柔軟に対応してMIBにアクセスし、ネットワーク上の機器を管理するネットワーク管理装置、ネットワーク管理方法、ネットワーク管理プログラム、及び記録媒体を提供することを目的とする。   Accordingly, in the present invention, in view of the above problems, a network management apparatus, a network management method, and a network management apparatus for accessing a MIB in a flexible manner corresponding to devices and models of a plurality of manufacturers connected to a network and managing devices on the network, An object is to provide a network management program and a recording medium.

上記課題を解決するため、本発明に係るネットワーク管理装置は、被管理装置とネットワークを介して接続され、SNMPを用いて前記被管理装置の管理を行うネットワーク管理装置であって、所定のデータファイルを記憶した記憶手段と、被管理装置のネットワークアドレス、当該被管理装置の製造元識別情報を含む装置情報、及び当該被管理装置のMIBから取得を行う情報の値である情報種別の入力を行なう入力手段と、前記データファイルを参照して、前記入力手段により入力された前記被管理装置の前記製造元識別情報を含む装置情報に基づいて、拡張MIBに係るオブジェクトIDを特定するOID特定手段と、前記OID特定手段により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得するMIB値取得手段とを有し、
前記データファイルには、前記情報種別と、前記製造元識別情報を含む装置情報と、オブジェクトIDとが対応付けられて記述されていることを特徴とする。
In order to solve the above-described problem, a network management device according to the present invention is a network management device that is connected to a managed device via a network and manages the managed device using SNMP, and a predetermined data file Input for inputting information type, which is a value of information to be acquired from the MIB of the managed device, and network information of the managed device, device information including manufacturer identification information of the managed device OID specifying means for specifying an object ID related to an extended MIB based on device information including the manufacturer identification information of the managed device input by the input means with reference to the data file, MIB that acquires an MIB value from the managed device by specifying the object ID specified by the OID specifying means And a obtaining unit,
In the data file, the information type, device information including the manufacturer identification information, and an object ID are described in association with each other.

また上記課題を解決するため、本発明に係るネットワーク管理装置において、被管理装置毎に、製造元識別情報を含む装置情報を収集する装置情報収集手段を有し、前記記憶手段は、前記装置情報収集手段により収集された前記製造元識別情報を含む装置情報を記憶し、前記入力手段は、前記記憶手段から、前記ネットワークアドレスに対応した被管理装置の製造元識別情報を含む装置情報を入力することを特徴とする。   In order to solve the above problems, in the network management apparatus according to the present invention, for each managed apparatus, there is provided apparatus information collecting means for collecting apparatus information including manufacturer identification information, and the storage means is configured to collect the apparatus information. The apparatus information including the manufacturer identification information collected by the means is stored, and the input means inputs the apparatus information including the manufacturer identification information of the managed apparatus corresponding to the network address from the storage means. And

また上記課題を解決するため、本発明に係るネットワーク管理装置において、前記製造元識別情報を含む装置情報は、機種情報を含み、前記OID特定手段は、前記装置情報に含まれる製造元識別情報及び機種情報に基づいて、拡張MIBに係るオブジェクトIDを特定することを特徴とする。   In order to solve the above problem, in the network management device according to the present invention, the device information including the manufacturer identification information includes model information, and the OID specifying unit includes the manufacturer identification information and the model information included in the device information. Based on the above, the object ID related to the extended MIB is specified.

また上記課題を解決するため、本発明に係るネットワーク管理装置において、前記データファイルには、オブジェクトIDに優先値が対応付けて付されており、前記OID特定手段は、前記優先値に基づいて、複数のオブジェクトIDから一のオブジェクトIDを特定し、前記MIB値取得手段は、前記OID特定手段により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得できないとき、前記OID特定手段は、前記優先値に基づいて、複数のオブジェクトIDからMIB値取得ができなかったオブジェクトIDの次に優先される一のオブジェクトIDを特定することを特徴とする。   In order to solve the above-described problem, in the network management device according to the present invention, a priority value is associated with an object ID in the data file, and the OID specifying means is based on the priority value. When one object ID is specified from a plurality of object IDs and the MIB value acquisition unit cannot acquire an MIB value from the managed device by specifying the object ID specified by the OID specification unit, the OID specification The means is characterized in that, based on the priority value, one object ID prioritized after the object ID for which the MIB value could not be obtained from a plurality of object IDs is specified.

なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、などに適用したものも本発明の態様として有効である。   In addition, what applied the arbitrary combination of the component of this invention, expression, or a component to a method, an apparatus, a system, a computer program, a recording medium, etc. is also effective as an aspect of this invention.

本発明によれば、ネットワークに接続された複数メーカーの機器及び機種に柔軟に対応してMIBにアクセスし、ネットワーク上の機器を管理するネットワーク管理装置、ネットワーク管理方法、ネットワーク管理プログラム、及び記録媒体を提供することができる。   According to the present invention, a network management apparatus, a network management method, a network management program, and a recording medium for accessing a MIB flexibly corresponding to devices and models of a plurality of manufacturers connected to a network and managing the devices on the network Can be provided.

以下、本発明を実施するための最良の形態を各実施形態において図面を用いて説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings in each embodiment.

<ネットワーク構成>
はじめに、具体的な発明の内容を説明する前に、本発明を実施するにあたってのネットワーク構成について説明する。図1は、本発明によるネットワーク管理装置1(以下、管理装置1という)、被管理装置2及び被管理装置3が、ネットワーク4を介して接続されているネットワーク図である。管理装置1は、SNMPを利用して被管理装置2及び被管理装置3を管理するSNMPマネジャである。被管理装置2及び被管理装置3は、SNMPを利用して管理装置1に管理されるSNMPエージェントである。ネットワーク4は、有線、無線を含むネットワークである。
<Network configuration>
First, before describing specific contents of the present invention, a network configuration for carrying out the present invention will be described. FIG. 1 is a network diagram in which a network management apparatus 1 (hereinafter referred to as a management apparatus 1), a managed apparatus 2 and a managed apparatus 3 according to the present invention are connected via a network 4. The management device 1 is an SNMP manager that manages the managed device 2 and the managed device 3 using SNMP. The managed device 2 and the managed device 3 are SNMP agents managed by the management device 1 using SNMP. The network 4 is a network including wired and wireless.

管理装置1は、SNMPマネジャとして動作し、ネットワーク4上に接続される被管理装置2及び被管理装置3に対してMIB情報取得要求を行い、SNMPエージェントである被管理装置2及び被管理装置からMIB情報(MIB値)を抜き出してネットワークの管理を行なう。   The management apparatus 1 operates as an SNMP manager, makes a MIB information acquisition request to the managed apparatus 2 and the managed apparatus 3 connected on the network 4, and receives the MIB information acquisition request from the managed apparatus 2 and the managed apparatus that are SNMP agents. MIB information (MIB value) is extracted to manage the network.

なお、図1は本発明の一実施形態を説明するにあたっての一構成例を示したものであり、管理装置1は、単体でなく他の装置等と共通の装置上に構築してもよいし、さらに後述する内部の機能部等を異なる装置上に構築してネットワーク上に配置(接続)してもよい。   FIG. 1 shows an example of the configuration for explaining an embodiment of the present invention, and the management apparatus 1 may be constructed not on a single unit but on a common apparatus with other apparatuses. Furthermore, an internal functional unit, which will be described later, may be constructed on a different device and arranged (connected) on a network.

<管理装置>
(ハードウェア)
管理装置1について説明する。図2は、本発明による管理装置1の一実施形態の主要構成を示すハードウェア構成図である。管理装置1は、主要な構成として、CPU201、ROM(Read Only Memory)202、RAM(Random Access Memory)203、補助記憶装置204、記憶媒体読取装置205、入力装置206、表示装置207、及び通信装置208を含む構成である。
<Management device>
(hardware)
The management device 1 will be described. FIG. 2 is a hardware configuration diagram showing the main configuration of one embodiment of the management apparatus 1 according to the present invention. The management device 1 includes, as main components, a CPU 201, a ROM (Read Only Memory) 202, a RAM (Random Access Memory) 203, an auxiliary storage device 204, a storage medium reading device 205, an input device 206, a display device 207, and a communication device. 208 is included.

CPU201は、マイクロプロセッサ及びその周辺回路から構成され、被管理装置10全体を制御する回路である。また、ROM202は、CPU201で実行される所定の制御プログラム(ソフトウェア部品)を格納するメモリであり、RAM203は、CPU201がROM202に格納された所定の制御プログラム(ソフトウェア部品)を実行して各種の制御を行うときの作業エリア(ワーク領域)として使用するメモリである。   The CPU 201 includes a microprocessor and its peripheral circuits, and is a circuit that controls the entire managed device 10. The ROM 202 is a memory that stores a predetermined control program (software component) executed by the CPU 201. The RAM 203 executes various control operations by the CPU 201 executing a predetermined control program (software component) stored in the ROM 202. This is a memory used as a work area (work area) when performing.

補助記憶装置204は、汎用のOS(Operating System)、SNMPプログラム、本発明に係るデータファイルを含む各種情報を格納する装置であり、不揮発性の記憶装置であるHDD(Hard Disk Drive)などが用いられる。なお、上記各種情報は、補助記憶装置204以外にも、CD−ROM(Compact Disk - ROM)やDVD(Digital Versatile Disk)などの記憶媒体やその他のメディアに記憶されてもよく、これらの記憶媒体に格納された各種情報は、記憶媒体読取装置205などのドライブ装置を介して読み取ることが可能である。よって、必要に応じて記録媒体を記憶媒体読取装置205にセットすることで、各種情報が得られる。   The auxiliary storage device 204 is a device for storing various information including a general-purpose OS (Operating System), an SNMP program, and a data file according to the present invention. An HDD (Hard Disk Drive), which is a nonvolatile storage device, is used. It is done. In addition to the auxiliary storage device 204, the various types of information may be stored in a storage medium such as a CD-ROM (Compact Disk-ROM) and a DVD (Digital Versatile Disk), and other media. Various information stored in the storage medium can be read via a drive device such as the storage medium reader 205. Therefore, various information can be obtained by setting the recording medium in the storage medium reader 205 as necessary.

入力装置206は、ユーザが各種入力操作を行うための装置である。入力装置206は、マウス、キーボード、表示装置207の表示画面上に重畳するように設けられたタッチパネルスイッチなどを含む。表示装置207は、ネットワーク管理に係る各種データを表示画面に表示する装置である。例えば、LCD(Liquid Crystal Display)、CRT(Cathode Ray Tube)などから構成される。以上、管理装置1のハードウェア構成である。   The input device 206 is a device for the user to perform various input operations. The input device 206 includes a mouse, a keyboard, a touch panel switch provided so as to be superimposed on the display screen of the display device 207, and the like. The display device 207 is a device that displays various data related to network management on a display screen. For example, it is composed of LCD (Liquid Crystal Display), CRT (Cathode Ray Tube) and the like. The hardware configuration of the management apparatus 1 has been described above.

(機能)
管理装置1は、上述したようにまずSNMPマネジャとして機能する。例えば、管理装置1は、MIB情報取得要求を行う際に、取得したいMIB(値)のオブジェクトIDを指定してGetRequestコマンドを発行し、被管理装置2及び被管理装置3に対して、MIB情報(MIB値)の要求(取得)を行うことができる。
(function)
As described above, the management apparatus 1 first functions as an SNMP manager. For example, when making a MIB information acquisition request, the management apparatus 1 issues a GetRequest command specifying the object ID of the MIB (value) to be acquired, and sends MIB information to the managed apparatus 2 and the managed apparatus 3. A request (acquisition) of (MIB value) can be performed.

図3は、本発明による管理装置1の一実施形態の主要機能を示す機能ブロック図である。管理装置1は、主要な機能として、入力部301、OID特定部302、MIB値取得部303、装置情報収集部304、及び記憶部305を含む構成である。   FIG. 3 is a functional block diagram showing the main functions of an embodiment of the management device 1 according to the present invention. The management apparatus 1 includes an input unit 301, an OID specifying unit 302, an MIB value acquisition unit 303, a device information collection unit 304, and a storage unit 305 as main functions.

入力部301は、一の被管理装置のネットワークアドレス、当該一の被管理装置の製造元識別情報を含む装置情報、及び当該一の被管理装置のMIBから取得を行う情報の値である情報種別の入力を行なう機能を有している。管理装置1が一の被管理装置のMIBからある(所定の)情報を取得する場合、ユーザは少なくとも、取得を行う情報の値(情報種別という)と、当該被管理装置のネットワークアドレス(IPアドレス等)とを入力部301に対して入力する。また、当該被管理装置の(製造元識別情報を含む)装置情報については、ユーザが入力することもでき(この場合、装置情報収集部305は省略可能)、又は装置情報収集部305によって収集された装置情報から入力することもできる。以後の本実施形態において、装置情報は装置情報収集部305によって収集されるものとして説明を行う。   The input unit 301 includes an information type that is a value of information acquired from the network address of one managed device, device information including manufacturer identification information of the one managed device, and MIB of the one managed device. It has a function to input. When the management apparatus 1 acquires (predetermined) information from the MIB of one managed apparatus, the user at least obtains the value of information to be acquired (referred to as information type) and the network address (IP address) of the managed apparatus. Etc.) to the input unit 301. In addition, the device information (including manufacturer identification information) of the managed device can be input by the user (in this case, the device information collection unit 305 can be omitted) or collected by the device information collection unit 305. It can also be entered from device information. In the following embodiment, the device information will be described as being collected by the device information collection unit 305.

OID特定部302は、データファイル317を参照して、入力部301に入力された一の被管理装置の製造元識別情報を含む装置情報に基づいて、拡張MIBに係るオブジェクトIDを特定する機能を有している。即ち、OID特定部302は、被管理装置のMIBから情報取得を行えるよう当該情報を有するMIBのオブジェクトIDを特定する。この特定にあたってはデータファイル317が参照されるが、これについては後述する。   The OID specifying unit 302 has a function of referring to the data file 317 and specifying an object ID related to the extended MIB based on device information including manufacturer identification information of one managed device input to the input unit 301. is doing. That is, the OID specifying unit 302 specifies the object ID of the MIB having the information so that information can be acquired from the MIB of the managed device. In this specification, the data file 317 is referred to, which will be described later.

MIB値取得部303は、OID特定部302により特定されたオブジェクトIDを指定して、被管理装置からMIB値を取得する機能を有している。具体的には、GetRequestコマンドを発行し、被管理装置に対して、MIB情報(MIB値)の要求(取得)を行う
装置情報収集部304は、複数の被管理装置毎に(被管理装置2及び被管理装置3から)、製造元識別情報を含む装置情報を収集する機能を有している。装置情報は、装置を特定する情報(IPアドレス、MACアドレス、シリアル番号等)、製造元識別情報(装置のメーカー名等)装置のタイプ(機種等)、装置の機能(プリンタ機能、コピー機能、ファックス機能等)などの情報である。具体的には、装置情報収集部304は、ネットワーク4をスキャンしてネットワーク上に接続される装置を検出する。そして、検出されたIPアドレス(装置)からSNMP(GetRequestコマンド)を利用して各装置のMIBからこれらの情報を取得する。なお、装置情報収集部304が収集するこれら情報は、標準MIBからの取得可能な情報であり、取得すべきMIBのオブジェクトIDは既知である。
The MIB value acquisition unit 303 has a function of specifying the object ID specified by the OID specifying unit 302 and acquiring the MIB value from the managed device. Specifically, the device information collection unit 304 issues a GetRequest command and requests (acquires) MIB information (MIB value) from the managed device. And from the managed device 3), it has a function of collecting device information including manufacturer identification information. Device information includes device identification information (IP address, MAC address, serial number, etc.), manufacturer identification information (device manufacturer name, etc.), device type (model, etc.), device function (printer function, copy function, fax) Function). Specifically, the device information collection unit 304 scans the network 4 and detects devices connected to the network. Then, using the SNMP (GetRequest command) from the detected IP address (device), these pieces of information are acquired from the MIB of each device. The information collected by the device information collection unit 304 is information that can be acquired from the standard MIB, and the MIB object ID to be acquired is known.

記憶部305は、データファイル317を記憶する機能を有している。また、装置情報収集部304により収集された装置情報をも記憶する。データファイル317は、OID特定部302が被管理装置のMIBから情報取得を行えるよう当該情報を有するMIBのオブジェクトIDを特定するために用いられる情報が記述されたファイルである。このデータファイル317について詳しくは後述する。   The storage unit 305 has a function of storing the data file 317. Further, the device information collected by the device information collecting unit 304 is also stored. The data file 317 is a file in which information used for specifying the object ID of the MIB having the information is described so that the OID specifying unit 302 can acquire information from the MIB of the managed device. Details of the data file 317 will be described later.

以上、これらの機能は、実際にはCPU101が実行するプログラムにより実現されるものである。   As described above, these functions are actually realized by programs executed by the CPU 101.

<被管理装置>
次に、被管理装置2及び被管理装置3について簡単に説明しておく。本発明による一実施形態として、被管理装置2は、例えば、ネットワーク4上で任意のサービス等を提供するサーバ機である。また、被管理装置3は、例えば、ネットワークルータであるとする。なおここでは被管理装置2及び被管理装置3のハードウェア構成についての説明は省略する。それぞれ一般的なサーバ機(情報処理装置)及びネットワークルータが備えるハードウェア構成からなればよく、その機能としては、SNMPエージェントたる機能を有しさえすればよい。例えば、SNMPエージェントは、SNMPマネジャからのGetRequestコマンドに対して、GetResponseコマンドで応答し、要求されたMIB値を返答することができる。なお、本発明による一実施形態として、被管理装置2及び被管理装置3はそれぞれ異なるメーカーにより製造されたものであるとし、またそれぞれオブジェクトIDの異なる拡張MIBを有しているものとする。
<Managed device>
Next, the managed device 2 and the managed device 3 will be briefly described. As an embodiment according to the present invention, the managed device 2 is, for example, a server machine that provides an arbitrary service or the like on the network 4. Further, the managed device 3 is assumed to be a network router, for example. Note that description of the hardware configuration of the managed device 2 and the managed device 3 is omitted here. It is only necessary to have a hardware configuration included in each of a general server machine (information processing apparatus) and a network router, and the function only needs to have a function as an SNMP agent. For example, the SNMP agent can respond to the GetRequest command from the SNMP manager with a GetResponse command and return the requested MIB value. As an embodiment according to the present invention, it is assumed that the managed device 2 and the managed device 3 are manufactured by different manufacturers and have extended MIBs having different object IDs.

<MIB>
ここで、MIBについて簡単に触れておく。被管理装置は、保守や管理等を目的として、SNMPエージェントを実装しMIBを有している。MIBは、SNMPエージェントの持つべきデータ構造の定義で、監視対象となるデータ値をツリー構造で保持しているものである。そして管理装置(SNMPマネジャ)は、この管理(監視)対象の被管理装置が実装しているMIBのオブジェクトIDを指定して、情報(MIB値)を取得する。
<MIB>
Here, MIB is briefly mentioned. The managed device has an MIB with an SNMP agent mounted for the purpose of maintenance and management. The MIB is a definition of a data structure that the SNMP agent should have, and holds data values to be monitored in a tree structure. Then, the management device (SNMP manager) acquires information (MIB value) by designating the MIB object ID implemented by the managed device to be managed (monitored).

このMIBは、RFCで定義されている標準MIB(MIB−II)とメーカー(ベンダー)などが独自に用意した拡張MIB(プライベートMIB)に分けることができる。標準MIB(1.3.6.1.2.1)では、MIB値毎に対応したオブジェクトIDが規定されている。例えば、Systemグループ(1.3.6.1.2.1.1)には、装置のシステムに関係する設定が管理されていたり、Interfaceグループ(1.3.6.1.2.1.2)には、装置の保有するハードウェアインターフェイスに関係する設定が管理される。   This MIB can be divided into a standard MIB (MIB-II) defined by RFC and an extended MIB (private MIB) uniquely prepared by a manufacturer (vendor). In the standard MIB (1.3.6.1.2.1), an object ID corresponding to each MIB value is defined. For example, the system group (1.3.6.1.2.1.1) manages settings related to the system of the device, and the interface group (1.3.6.1.2.1.2) has a hardware interface owned by the device. Settings related to are managed.

一方、拡張MIB(1.3.6.1.4.1)は、メーカー毎にMIB値及び対応するオブジェクトIDが規定される。メーカーは装置固有の機能を管理するために、標準MIBを補完して拡張MIBに装置固有のMIB値を規定して配置しており、具体的には、privateサブツリーのenterprisesグループ以下に配置されている。図4は、標準MIB及び拡張MIBを含むMIBツリー構造を示す図である。特に、拡張MIB(1.3.6.1.4.1)以下の階層は、メーカー毎にIANA(Internet Assigned Numbers Authority)によって管理されている。   On the other hand, in the extended MIB (1.3.6.1.4.1), an MIB value and a corresponding object ID are defined for each manufacturer. In order to manage the device-specific functions, the manufacturer supplements the standard MIB and defines the MIB value specific to the device in the extended MIB. Specifically, it is placed under the enterprise group of the private subtree. Yes. FIG. 4 is a diagram illustrating an MIB tree structure including a standard MIB and an extended MIB. In particular, the hierarchy below the extended MIB (1.3.6.1.4.1) is managed by IANA (Internet Assigned Numbers Authority) for each manufacturer.

<装置情報とデータファイル>
次いで、本発明に係る装置情報316及びデータファイル317について説明する。これらは、記憶部305に記憶される情報である。以下、説明する。
<Device information and data file>
Next, the device information 316 and the data file 317 according to the present invention will be described. These are information stored in the storage unit 305. This will be described below.

(装置情報)
装置情報316は、装置情報は、被管理装置に関する装置の情報で、上述の如く例えば、装置を特定する情報(IPアドレス、MACアドレス、シリアル番号等)、製造元識別情報(装置のメーカー名等)装置のタイプ(機種等)、装置の機能(プリンタ機能、コピー機能、ファックス機能等)などの情報である。図5は、装置情報316の一例を示す図である。本実施形態において、装置情報316は、装置情報収集部304によって予め(随時)収集される。具体的に、装置情報収集部304は、ネットワーク4をスキャンしてネットワーク上に接続される装置を検出する。そして、検出されたIPアドレス(装置)からSNMP(GetRequestコマンド)を利用して各装置のMIBからこれらの情報を取得する。なお、装置情報収集部304が収集するこれら情報は、標準MIBからの取得可能な情報であり、取得すべきMIBのオブジェクトIDは既知である。
(Device information)
The device information 316 is device information related to the managed device. For example, as described above, information specifying the device (IP address, MAC address, serial number, etc.), manufacturer identification information (device manufacturer name, etc.) Information such as the device type (model, etc.) and device functions (printer function, copy function, fax function, etc.). FIG. 5 is a diagram illustrating an example of the device information 316. In the present embodiment, the device information 316 is collected in advance (as needed) by the device information collection unit 304. Specifically, the device information collection unit 304 scans the network 4 and detects devices connected to the network. Then, using the SNMP (GetRequest command) from the detected IP address (device), these pieces of information are acquired from the MIB of each device. The information collected by the device information collection unit 304 is information that can be acquired from the standard MIB, and the MIB object ID to be acquired is known.

図5の装置情報316は、被管理装置2及び被管理装置3の装置情報316が収集されたもので、「IPアドレス」、「名前」、「メーカー」、「タイプ」、「保持機能」といった情報からなる。「IPアドレス」は、被管理装置を特定する情報で、ユーザにより入力されたIPアドレスから当該被管理装置を特定し、その特定された当該被管理装置の有する装置情報が取得される。装置情報は、後述するデータファイル317に記述された条件判定に用いられる。「メーカー」は、被管理装置の製造元を示す製造元識別情報である。「タイプ」は、被管理装置の機種(開発/発売時期としてもよい)を示すものとし、「保持機能」は、被管理装置の有する機能を示すものとする。これら装置情報316は、後述するデータファイル317において定義されている情報に対応している必要がある。具体的には、後述のデータファイル317では、メーカー毎又は装置の機種毎に異なるオブジェクトIDを特定するためのキー情報として、Makername属性及びDeviceType属性を有している。よって、装置情報316でもMakername属性に対応する「メーカー」、DeviceType属性に対応する「タイプ」という情報を含む必要がある。   The device information 316 in FIG. 5 is a collection of device information 316 of the managed device 2 and the managed device 3, and includes “IP address”, “name”, “maker”, “type”, “holding function”, and the like. Consists of information. The “IP address” is information for specifying the managed device. The managed device is specified from the IP address input by the user, and the device information of the specified managed device is acquired. The device information is used for condition determination described in a data file 317 described later. “Manufacturer” is manufacturer identification information indicating the manufacturer of the managed device. “Type” indicates a model of the managed device (development / release time may be set), and “holding function” indicates a function of the managed device. The device information 316 needs to correspond to information defined in a data file 317 described later. Specifically, the data file 317 described later has a Makername attribute and a DeviceType attribute as key information for specifying a different object ID for each manufacturer or device model. Therefore, the device information 316 also needs to include information such as “maker” corresponding to the Makername attribute and “type” corresponding to the DeviceType attribute.

なお、管理装置1が被管理装置のMIBからある(所定の)情報を取得する場合、ユーザは少なくとも、取得を行う情報の種別(情報種別)と、当該被管理装置のネットワークアドレス(IPアドレス等)とを入力部301に対して入力するが、これと同時に装置情報316についてもユーザが入力することができる。この場合には、装置情報収集部305及び記憶部305における装置情報316は省略可能である。   When the management apparatus 1 acquires (predetermined) information from the MIB of the managed apparatus, the user at least obtains the type of information to be acquired (information type) and the network address (IP address or the like) of the managed apparatus. ) Is input to the input unit 301, and at the same time, the user can input the device information 316. In this case, the device information collection unit 305 and the device information 316 in the storage unit 305 can be omitted.

(データファイル)
図6は、データファイル317の一例を示す図である。データファイル317は、OID特定部302が被管理装置のMIBから情報取得を行うため、当該情報を有するMIBのオブジェクトIDを特定するために用いられる情報が記述されたファイルである。つまり、装置情報316の値に応じて、どのオブジェクトIDにアクセスするべきなのかが記述されて作成されており、予め記憶部305に記憶されている。データファイル317はデータ構造として、基本的に取得対象の情報(requestタグ)と、装置情報を用いた条件式(propertyタグ)及びアクセス先のオブジェクトID(MIBidタグ)とが、一対多の関係で記述されている。ここで、装置情報316にない情報を条件式のキー情報として用いると条件判定ができないので、データファイル317のキー情報と装置情報316の情報とが対応している必要がある。また、複数のアクセス先のオブジェクトIDが条件式を満たす場合、優先値(priority属性)が設定されており、まず最も優先値の高いオブジェクトIDにアクセスさせ、優先度が最上位のオブジェクトIDへのアクセスに失敗した場合は、次に優先度が高いオブジェクトIDにアクセスさせるようになっている。
(data file)
FIG. 6 is a diagram illustrating an example of the data file 317. The data file 317 is a file in which information used for specifying the object ID of the MIB having the information is described so that the OID specifying unit 302 acquires information from the MIB of the managed device. That is, the object ID to be accessed is described and created according to the value of the device information 316 and stored in the storage unit 305 in advance. The data file 317 basically has a one-to-many relationship between information to be acquired (request tag), a conditional expression (property tag) using device information, and an object ID (MIBid tag) to be accessed as a data structure. Has been. Here, if information that is not in the device information 316 is used as the key information in the conditional expression, the condition cannot be determined, so the key information in the data file 317 and the information in the device information 316 need to correspond. When the object IDs of a plurality of access destinations satisfy the conditional expression, a priority value (priority attribute) is set. First, the object ID with the highest priority value is accessed, and the object ID with the highest priority is accessed. If access fails, the object ID with the next highest priority is accessed.

データファイル317のファイル形式としては、XML(Extensible Markup Language)などのタグを用いた書式が好適である。タグ名や属性名は実装により任意に定義可能で、また追加のタグや属性を定義することも容易だからである。勿論、他にもHTML(HyperText Markup Language)形式やini(設定)ファイル形式、テキストエディタで閲覧・編集が可能なテキスト形式、又はセキュリティの確保するため暗号化されたファイル形式でもよい。   As the file format of the data file 317, a format using tags such as XML (Extensible Markup Language) is preferable. This is because tag names and attribute names can be arbitrarily defined depending on the implementation, and it is easy to define additional tags and attributes. Of course, HTML (HyperText Markup Language) format, ini (setting) file format, text format that can be viewed and edited with a text editor, or an encrypted file format for ensuring security may be used.

再び図6を参照して、データファイル317には、情報取得要求に対する処理の基本単位であるrequestタグと、入力された情報種別(取得情報ワード)とのマッチングに使われるname属性、またrequestタグ中で条件定義に使われるpropertyタグと、その優先度を示すpriority属性、装置のメーカー条件を表すMakername属性、装置のタイプ情報を表すDeviceType属性(条件判定に使う装置情報は、Makername属性及びDeviceType属性で定義する)、またpropertyタグの中でアクセス先MIB定義に使われるMIBidタグ、そのオブジェクトID値を示すvalue属性が記述されている。   Referring to FIG. 6 again, the data file 317 includes a request tag that is a basic unit of processing for an information acquisition request, a name attribute used for matching an input information type (acquired information word), and a request tag. Property tag used for condition definition, priority attribute indicating its priority, Makername attribute indicating device manufacturer condition, DeviceType attribute indicating device type information (the device information used for condition judgment is Makername attribute and DeviceType attribute In the property tag, a MIBid tag used for defining the access destination MIB and a value attribute indicating the object ID value are described.

具体的に、<request name = "HostName">は、被管理装置のホスト名を取得したいとき、即ち入力された情報種別(取得情報ワード)として"HostName"が入力されたとき、該当(参照)されるタグであり、同様に<request name ="SubnetMask">は、装置のサブネットマスクを取得したいとき、即ち入力された情報種別(ワード)として「SubnetMask」が入力されたとき、該当(参照)されるタグである。あくまで"HostName"や"SubnetMask"は取得したい情報に係る情報種別の一例で、他にも情報種別を「XXX」が入力(指定)されるならば、対応する<request name ="XXX">タグをデータファイル317に追加定義して記述できる。   Specifically, <request name = “HostName”> is applicable (reference) when it is desired to acquire the host name of the managed device, that is, when “HostName” is input as the input information type (acquisition information word). Similarly, <request name = "SubnetMask"> is applicable (reference) when it is desired to acquire the subnet mask of the device, that is, when “SubnetMask” is input as the input information type (word). Is a tag. “HostName” and “SubnetMask” are just examples of information types related to the information you want to obtain. If “XXX” is entered (specified) as the other information type, the corresponding <request name = "XXX"> tag Can be additionally defined in the data file 317 and described.

<動作>
以上を踏まえて、本実施形態による管理装置1の一使用形態について説明する。図7は、管理装置1の行う処理動作について説明するフローチャートである。装置情報316及びデータファイル317個々について上述したが、本処理動作においては、特に装置情報316とデータファイル317とがどのように情報の関連性をもって処理動作がなされるかに注目しつつ以下、図5(装置情報)、図6(データファイル)、及び図7、8(フローチャート)を参照して説明する。
<Operation>
Based on the above, one usage pattern of the management apparatus 1 according to the present embodiment will be described. FIG. 7 is a flowchart for explaining the processing operation performed by the management apparatus 1. The device information 316 and the data file 317 have been described above, but in this processing operation, the following will be described with particular attention to how the device information 316 and the data file 317 are processed with information relevance. 5 (device information), FIG. 6 (data file), and FIGS. 7 and 8 (flow chart).

ステップS701において、ユーザが被管理装置2から取得したいMIB情報の「情報種別」と、被管理装置2の「ネットワークアドレス」を入力すると、入力部301はその入力を受付けて管理装置1に当該情報を入力する。具体的には、「IPアドレス」として"192.168.1.1"、「情報種別」として"HostName"を入力したとする。   In step S <b> 701, when the user inputs the “information type” of the MIB information that the user wants to acquire from the managed device 2 and the “network address” of the managed device 2, the input unit 301 accepts the input and sends the information to the management device 1. Enter. Specifically, it is assumed that “192.168.1.1” is input as the “IP address” and “HostName” is input as the “information type”.

ステップS702で、入力部301は「IPアドレス」から被管理装置2の装置情報316を特定、取得する。このとき、装置情報収集部304によって収集され、記憶部305に記憶されている装置情報316が参照される。具体的に、例えば、「IPアドレス」が"192.168.1.1"であるから、被管理装置2の装置情報316としてメーカー「A」、タイプ「1」が取得される(図5)。   In step S702, the input unit 301 specifies and acquires the device information 316 of the managed device 2 from the “IP address”. At this time, the device information 316 collected by the device information collection unit 304 and stored in the storage unit 305 is referred to. Specifically, for example, since the “IP address” is “192.168.1.1”, the manufacturer “A” and the type “1” are acquired as the device information 316 of the managed device 2 (FIG. 5).

ステップS703で、OID特定部302は、記憶部305に記憶されているデータファイル317の読み込みを行う。   In step S703, the OID specifying unit 302 reads the data file 317 stored in the storage unit 305.

ステップS704で、OID特定部302は、データファイル317を参照して、被管理装置2の「情報種別」、「IPアドレス」、及び「装置情報(メーカー及びタイプ)」から、取得すべきMIB(値)のオブジェクトIDを特定する。ここで、オブジェクトIDが複数特定される場合がある。その場合には、複数のオブジェクトID及び優先値(priority)を保持しておく。このOID特定部302によるオブジェクトID特定については、別途詳しく説明を行うのでここでは次に進む。   In step S <b> 704, the OID specifying unit 302 refers to the data file 317, and acquires the MIB (to be acquired from the “information type”, “IP address”, and “device information (manufacturer and type)” of the managed device 2. Value) object ID. Here, a plurality of object IDs may be specified. In that case, a plurality of object IDs and priority values are held. Since the object ID specification by the OID specification unit 302 will be described in detail separately, the process proceeds here.

ステップS705で、MIB値取得部303は、OID特定部302により特定されたオブジェクトIDを指定して、被管理装置2からMIB値を取得する。具体的には、取得されたオブジェクトIDが、"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2"であるとすると、当該オブジェクトIDを指定して、GetRequestコマンドを発行し、被管理装置2に対して、MIB情報(MIB値)の要求(取得)を行う。オブジェクトID及び優先値(priority)が複数保持されている場合は、優先値に基づいて最優先のオブジェクトIDを指定して被管理装置2からMIB値を取得する。そしてこれに失敗した場合には、次に優先されるオブジェクトIDを指定して、被管理装置2からMIB値を取得することを繰り返す。そして、被管理装置2から取得されたMIB値(拡張MIB値)は、管理装置1の表示装置207の表示画面上等に表示されればよい。   In step S <b> 705, the MIB value acquisition unit 303 specifies the object ID specified by the OID specification unit 302 and acquires the MIB value from the managed device 2. Specifically, if the acquired object ID is “1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2”, issue the GetRequest command specifying the object ID and managing A request (acquisition) of MIB information (MIB value) is made to the device 2. When a plurality of object IDs and priority values (priority) are held, the highest priority object ID is designated based on the priority value, and the MIB value is acquired from the managed device 2. If this fails, the object ID to be prioritized is designated, and the MIB value is repeatedly acquired from the managed device 2. The MIB value (extended MIB value) acquired from the managed device 2 may be displayed on the display screen of the display device 207 of the management device 1 or the like.

なお、ステップS704、S705で、オブジェクトID特定に失敗、又はMIB値取得に失敗した場合はエラー処理(S706)として処理動作を終了させる。   If the object ID identification fails or the MIB value acquisition fails in steps S704 and S705, the processing operation is terminated as error processing (S706).

以上、ユーザによるMIB情報取得操作からMIB情報(拡張MIB)までの全体的な流れを説明した。次いでステップS704において、OID特定部302によりデータファイル317を参照して、オブジェクトIDが特定される処理について説明する。   The overall flow from the MIB information acquisition operation by the user to the MIB information (extended MIB) has been described above. Next, a process for identifying an object ID with reference to the data file 317 by the OID identifying unit 302 in step S704 will be described.

図8は、OID特定部302がデータファイル317を参照してオブジェクトIDを特定する処理を説明するフローチャートである。前提の情報として、被管理装置2の「IPアドレス」="192.168.1.1"、「情報種別」="HostName"、装置情報316としてメーカー「A」、タイプ「1」が取得されている(図7、S701及びS702参照)。   FIG. 8 is a flowchart for explaining processing in which the OID specifying unit 302 specifies an object ID with reference to the data file 317. As precondition information, “IP address” = “192.168.1.1”, “information type” = “HostName” of the managed device 2, manufacturer “A”, and type “1” are acquired as the device information 316 (see FIG. 7, see S701 and S702).

ステップS801において、OID特定部302は、1のrequestタグを読み込む。具体的には、requestタグ601(図6)を読み込む。   In step S801, the OID specifying unit 302 reads one request tag. Specifically, the request tag 601 (FIG. 6) is read.

ステップS802で、name属性と、「情報種別」ここでは"HostName"とが一致するか判定する。具体的には、"HostName"が、name属性"HostName"に一致するか判定する(一致判定)。なお、一致しない場合は、次の1のrequestタグを読み込み、同様に繰り返して判定を行う(S807、S801、S802)。いずれも一致せずrequestタグがなくなった場合はエラー処理を行う(S808)。   In step S802, it is determined whether the name attribute matches the “information type”, “HostName” here. Specifically, it is determined whether “HostName” matches the name attribute “HostName” (match determination). If they do not match, the next request tag is read, and the determination is repeated in the same manner (S807, S801, S802). If none of them match and the request tag disappears, error processing is performed (S808).

ステップS803で、name属性と、「情報種別」とが一致すると、1のpropertyタグを読み込む。具体的には、propertyタグ602(図6)を読み込む。   In step S803, if the name attribute matches the “information type”, one property tag is read. Specifically, the property tag 602 (FIG. 6) is read.

ステップS804で、次のpropertyタグがある場合は、再度ステップS803に戻り、最終的にすべてのpropertyタグを読み込む。具体的には、propertyタグ602、603、604(図6)を読み込む。   If there is a next property tag in step S804, the process returns to step S803 again, and finally all property tags are read. Specifically, property tags 602, 603, and 604 (FIG. 6) are read.

ステップS805で、読み込んだpropertyタグに係る属性情報について、Makername属性及びDeviceType属性と、対応する「装置情報」ここではメーカー名及びタイプとが一致するか判定する。また、propertyタグにおいて定義されていない属性については、その属性は一致するものとする。具体的には、メーカー名「A」、タイプ「1」に一致するpropertyタグを特定する。この場合、propertyタグ602及びpropertyタグ603が一致する。一方、propertyタグ604はメーカー名が不一致である。なお、いずれも一致しない場合はエラー処理を行う(S808)。   In step S805, for the attribute information related to the read property tag, it is determined whether the Makername attribute and the DeviceType attribute match the corresponding “device information”, here the maker name and type. In addition, attributes that are not defined in the property tag are assumed to match. Specifically, a property tag that matches the manufacturer name “A” and the type “1” is specified. In this case, the property tag 602 and the property tag 603 match. On the other hand, the property tag 604 does not match the manufacturer name. If none of them match, error processing is performed (S808).

ステップS806で、MIBid(オブジェクトID)を読み込む。具体的には、propertyタグ602のMIBidタグのvalue属性"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2"、propertyタグ603のMIBidタグのvalue属性"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.1"が読み込まれる(取得される)。なお、"999999"はA社独自のベンダーID(メーカーID)であるとすると、" 1.3.6.1.4.1.999999"はA社の拡張MIBとなる。   In step S806, MIBid (object ID) is read. Specifically, the value attribute “1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2” of the MIBid tag of the property tag 602, and the value attribute “1.3.6.1.4.1.999999.1. Of the MIBid tag of the property tag 603. 1.1.1.1.1.1.1.1 "is read (obtained). If "999999" is a vendor ID (manufacturer ID) unique to company A, "1.3.6.1.4.1.999999" is an extended MIB of company A.

またここで、value属性とともにそれぞれpropertyタグの優先値(priority属性)も取得しておく。優先値は、MIB(値)取得の場面で利用される(図7、S705)。具体的には、propertyタグ602(priority="1")はpropertyタグ603(priority="2")に比べ優先値が高いので、まずpropertyタグ602のMIBidタグ(value属性)により特定されるオブジェクトID指定して被管理装置2からMIB値が取得(要求)され、仮にこれに失敗した場合には、優先値(priority属性)に基づいて、次に優先されるpropertyタグ603のMIBidタグ(value属性)により特定されるオブジェクトID指定して被管理装置2からMIB値が取得されることを繰り返す。   Further, here, the priority value (priority attribute) of the property tag is acquired together with the value attribute. The priority value is used in the MIB (value) acquisition scene (FIG. 7, S705). Specifically, since the property tag 602 (priority = "1") has a higher priority value than the property tag 603 (priority = "2"), the object identified by the MIBid tag (value attribute) of the property tag 602 first. If the MIB value is acquired (requested) from the managed device 2 by specifying an ID and this fails, if it fails, the MIBid tag (value) of the property tag 603 to be given the next priority based on the priority value (priority attribute) The object ID specified by (attribute) is designated and the MIB value is repeatedly acquired from the managed device 2.

なお、ステップS805及び806で、属性条件を満たすpropertyの全て、即ちpropertyタグ602及びpropertyタグ603によるオブジェクトIDが取得されたが、ひとまずpropertyタグ602(priority="1")のオブジェクトIDのみ取得して、ステップ705で、オブジェクトID指定して被管理装置2からMIB値が取得(要求)し、仮にこれに失敗した場合に、propertyタグ603(priority="2")によるオブジェクトIDを取得して、再度このオブジェクトID指定して被管理装置2からMIB値が取得(要求)する構成とすることもできる。   In steps S805 and S806, all of the properties satisfying the attribute conditions, that is, the object IDs by the property tag 602 and the property tag 603 are acquired, but only the object ID of the property tag 602 (priority = "1") is acquired for the time being. In step 705, the MIB value is acquired (requested) from the managed device 2 by specifying the object ID, and if this fails, the object ID by the property tag 603 (priority = "2") is acquired. Alternatively, the object ID may be designated again to obtain (request) the MIB value from the managed device 2.

このようにして、OID特定部302はデータファイル317を参照して、オブジェクトIDを特定する。   In this way, the OID identification unit 302 refers to the data file 317 and identifies the object ID.

再び図6を参照して、requestタグ601、配下のpropertyタグ602及びpropertyタグ603について言及しつつ、データファイル317のデータ構造について触れておく。データファイル317は、上述したようにOID特定部302が被管理装置のMIBから情報取得を行うため、当該情報を有するMIBのオブジェクトIDを特定するために用いられる情報が記述されたファイルである。つまり、入力された情報種別をキーとし装置情報316の値に応じて、どのオブジェクトIDにアクセスするべきなのかが記述される。この記述にあたっては、例えば、
・一般的に定義されている標準MIBでは、取得したい情報に係るオブジェクトIDが定義されていない(拡張MIBからのみ取得可能)。
・一般的に定義されている標準MIBでは、取得したい情報に係るオブジェクトIDが定義されてはいるが、さらにA社の装置では拡張MIBに取得したい情報に係る独自オブジェクトIDが定義されており、標準MIBからよりも有益な情報が取得できる。この場合は、まず優先して独自オブジェクトIDから情報を取得すべきである。
・A社の装置において、拡張MIBには取得したい情報に係るオブジェクトIDが定義されており、タイプ2の機種のみには、さらにもう一種類の有益な独自オブジェクトIDが定義されている。この場合、タイプ2の機種であれば、まずこの有益な独自オブジェクトIDに優先してアクセスすべきである。
といった状況を反映して記述されることができる。
Referring to FIG. 6 again, the data structure of the data file 317 will be described while referring to the request tag 601, the subordinate property tag 602, and the property tag 603. The data file 317 is a file in which information used for specifying the object ID of the MIB having the information is described so that the OID specifying unit 302 acquires information from the MIB of the managed device as described above. That is, which object ID is to be accessed is described according to the value of the device information 316 using the input information type as a key. In this description, for example,
In a generally defined standard MIB, an object ID related to information to be acquired is not defined (can be acquired only from an extended MIB).
-In the generally defined standard MIB, the object ID related to the information to be acquired is defined, but in the device of company A, the unique object ID related to the information to be acquired in the extended MIB is defined. More useful information than standard MIB can be obtained. In this case, information should be acquired from the unique object ID first.
In the device of Company A, an object ID related to information to be acquired is defined in the extended MIB, and another useful unique object ID is defined only for the type 2 model. In this case, if it is a type 2 model, it should first be accessed with priority over this useful unique object ID.
It can be described to reflect the situation.

これをrequestタグ601、配下のpropertyタグ602、及びpropertyタグ603について見ると、情報種別"HostName"に関して、A社の装置のタイプ2の機種のみには、さらにもう一種類の有益な独自オブジェクトIDが定義されているので、まずこの有益な独自オブジェクトIDに優先してアクセスすべきであるということに基づいて、データファイル317が記述されていることになる。つまり、A社の装置でタイプ2の機種は、
オブジェクトID"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2"に有益な情報"HostName"が取得できるので、まずはオブジェクトIDから情報を取得する。しかしながら、情報取得に失敗した場合は、オブジェクトID"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.1"から情報"HostName"を取得するようにしている。なお、propertyタグ603は、DeviceType属性は定義されていないので、タイプ1の機種は、このPropertyタグ603条件に該当するようにしている。オブジェクトID"1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.1"には、A社の装置であれば共通して"HostName"が格納される拡張MIBだからである。
Looking at the request tag 601, the property tag 602 and the property tag 603 under the request tag 601, regarding the information type “HostName”, only another type of useful unique object ID is available for the type 2 model of the company A device. Therefore, the data file 317 is described based on the fact that this useful unique object ID should be accessed first. In other words, the type 2 model of Company A's device is
Since useful information “HostName” can be acquired for the object ID “1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.2”, information is first acquired from the object ID. However, if the information acquisition fails, the information “HostName” is acquired from the object ID “1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.1”. Since the property tag 603 does not have a DeviceType attribute defined, the type 1 model corresponds to the property tag 603 condition. This is because the object ID “1.3.6.1.4.1.999999.1.1.1.1.1.1.1.1.1” is an extended MIB in which “HostName” is stored in common for apparatuses of company A.

次に、もう一例を簡単に示す。再び図6を参照して、どのオブジェクトIDに特定されるのかを説明する。前提の情報として、被管理装置3の「IPアドレス」="192.168.1.2"、「情報種別」=" SubnetMask"、装置情報316としてメーカー「B」、タイプ「-(なし)」が取得されている。   The following is a simple example. With reference to FIG. 6 again, which object ID is specified will be described. As premise information, “IP address” = “192.168.1.2”, “information type” = “SubnetMask” of the managed device 3, manufacturer “B”, and type “-(none)” are acquired as device information 316. Yes.

第一のrequestタグ601のname属性"HostName"に該当しないので、次なる第二のrequestタグ607のname属性"SubnetMask"とに該当(一致判定)する。そして、propertyタグ606を読み込むものの、Makername属性が一致しないので、次なるpropertyタグ607を読み込む。propertyタグ607は、属性が定義されていないので、メーカー及びタイプは一致と判定される。よって、propertyタグ607のMIBidタグのvalue属性"1.3.6.1.2.1.4.20.1.3"(標準MIBのオブジェクトID)が読み込まれる(取得される)。B社の装置においては、情報種別"SubnetMask"に対応する拡張MIBは存在しないことを意味し、よって標準MIBから該当する情報の取得を行なうものである。   Since it does not correspond to the name attribute “HostName” of the first request tag 601, it corresponds (match determination) to the name attribute “SubnetMask” of the next second request tag 607. Then, although the property tag 606 is read, since the Makername attribute does not match, the next property tag 607 is read. Since the attribute of the property tag 607 is not defined, it is determined that the manufacturer and type match. Therefore, the value attribute “1.3.6.1.2.1.4.20.1.3” (standard MIB object ID) of the MIBid tag of the property tag 607 is read (obtained). In the apparatus of company B, this means that there is no extended MIB corresponding to the information type “SubnetMask”, and accordingly, the corresponding information is acquired from the standard MIB.

このようにして本発明による管理装置は、被管理装置の製造元識別情報や機種を含む装置情報から、拡張MIBによるオブジェクトIDを特定しMIB値を取得するので、ネットワークに接続された複数メーカーの機器及び機種に柔軟に対応してMIBにアクセスし、ネットワーク上の機器を管理することが可能となる。   In this way, the management apparatus according to the present invention specifies the object ID by the extended MIB and acquires the MIB value from the apparatus identification information including the manufacturer identification information and the model of the managed apparatus, so that the devices of multiple manufacturers connected to the network can be obtained. In addition, it is possible to manage the devices on the network by accessing the MIB in a flexible manner corresponding to the model.

なお、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   Note that the present invention is not limited to such specific embodiments, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims.

本発明によるネットワーク管理装置1、被管理装置2及び被管理装置3が、ネットワーク4を介して接続されているネットワーク図である。1 is a network diagram in which a network management device 1, a managed device 2, and a managed device 3 according to the present invention are connected via a network 4. FIG. 本発明による管理装置1の一実施形態の主要構成を示すハードウェア構成図である。It is a hardware block diagram which shows the main structures of one Embodiment of the management apparatus 1 by this invention. 本発明による管理装置1の一実施形態の主要機能を示す機能ブロック図である。It is a functional block diagram which shows the main functions of one Embodiment of the management apparatus 1 by this invention. 標準MIB及び拡張MIBを含むMIBツリー構造を示す図である。It is a figure which shows the MIB tree structure containing standard MIB and extended MIB. 装置情報316の一例を示す図である。5 is a diagram illustrating an example of device information 316. FIG. データファイル317の一例を示す図である。5 is a diagram illustrating an example of a data file 317. FIG. 管理装置1の行う処理動作について説明するフローチャートである。5 is a flowchart for explaining a processing operation performed by the management apparatus 1. OID特定部302がデータファイル317を参照してオブジェクトIDを特定する処理を説明するフローチャートである。10 is a flowchart for explaining processing in which an OID identification unit 302 identifies an object ID with reference to a data file 317.

符号の説明Explanation of symbols

1 管理装置
2、3 被管理装置
4 ネットワーク
201 CPU
202 ROM
203 RAM
204 補助記憶装置
205 記憶媒体読取装置
206 入力装置
207 表示装置
208 通信装置
301 入力部
302 OID特定部
303 MIB値取得部
304 装置情報収集部
305 記憶部
316 装置情報
317 データファイル
1 Management device 2, 3 Managed device 4 Network 201 CPU
202 ROM
203 RAM
204 Auxiliary storage device 205 Storage medium reading device 206 Input device 207 Display device 208 Communication device 301 Input unit 302 OID identification unit 303 MIB value acquisition unit 304 Device information collection unit 305 Storage unit 316 Device information 317 Data file

Claims (10)

被管理装置とネットワークを介して接続され、SNMPを用いて前記被管理装置の管理を行うネットワーク管理装置であって、
所定のデータファイルを記憶した記憶手段と、
被管理装置のネットワークアドレス、当該被管理装置の製造元識別情報を含む装置情報、及び当該被管理装置のMIBから取得を行う情報の値である情報種別の入力を行なう入力手段と、
前記データファイルを参照して、前記入力手段により入力された前記被管理装置の前記製造元識別情報を含む装置情報に基づいて、拡張MIBに係るオブジェクトIDを特定するOID特定手段と、
前記OID特定手段により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得するMIB値取得手段とを有し、
前記データファイルには、前記情報種別と、前記製造元識別情報を含む装置情報と、オブジェクトIDとが対応付けられて記述されていること、
を特徴とするネットワーク管理装置。
A network management device connected to a managed device via a network and managing the managed device using SNMP,
Storage means for storing a predetermined data file;
An input means for inputting a network address of the managed device, device information including manufacturer identification information of the managed device, and an information type that is a value of information acquired from the MIB of the managed device;
OID specifying means for specifying an object ID related to an extended MIB based on device information including the manufacturer identification information of the managed device input by the input means with reference to the data file;
MIB value acquisition means for acquiring the MIB value from the managed device by designating the object ID specified by the OID specification means,
In the data file, the information type, device information including the manufacturer identification information, and an object ID are described in association with each other,
A network management device characterized by the above.
被管理装置毎に、製造元識別情報を含む装置情報を収集する装置情報収集手段を有し、
前記記憶手段は、前記装置情報収集手段により収集された前記製造元識別情報を含む装置情報を記憶し、
前記入力手段は、前記記憶手段から、前記ネットワークアドレスに対応した被管理装置の製造元識別情報を含む装置情報を入力すること、
を特徴とする請求項1に記載のネットワーク管理装置。
For each managed device, it has device information collection means for collecting device information including manufacturer identification information,
The storage means stores apparatus information including the manufacturer identification information collected by the apparatus information collection means,
The input means inputs device information including manufacturer identification information of a managed device corresponding to the network address from the storage means;
The network management device according to claim 1.
前記製造元識別情報を含む装置情報は、機種情報を含み、
前記OID特定手段は、前記装置情報に含まれる製造元識別情報及び機種情報に基づいて、拡張MIBに係るオブジェクトIDを特定すること、
を特徴とする請求項1又は2に記載のネットワーク管理装置。
The device information including the manufacturer identification information includes model information,
The OID specifying means specifies an object ID related to an extended MIB based on manufacturer identification information and model information included in the device information;
The network management device according to claim 1, wherein
前記データファイルには、オブジェクトIDに優先値が対応付けて付されており、
前記OID特定手段は、前記優先値に基づいて、複数のオブジェクトIDから一のオブジェクトIDを特定し、
前記MIB値取得手段は、前記OID特定手段により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得できないとき、前記OID特定手段は、前記優先値に基づいて、複数のオブジェクトIDからMIB値取得ができなかったオブジェクトIDの次に優先されるオブジェクトIDを特定すること、
を特徴とする請求項1ないし3いずれか一項に記載のネットワーク管理装置。
In the data file, a priority value is associated with an object ID, and
The OID specifying means specifies one object ID from a plurality of object IDs based on the priority value,
When the MIB value acquiring unit cannot acquire an MIB value from the managed device by specifying the object ID specified by the OID specifying unit, the OID specifying unit is configured to select a plurality of objects based on the priority value. Identifying an object ID prioritized after the object ID for which the MIB value could not be obtained from the ID;
The network management device according to any one of claims 1 to 3.
所定のデータファイルを記憶した記憶手段を有し、被管理装置とネットワークを介して接続され、SNMPを用いて前記被管理装置の管理を行うネットワーク管理装置におけるネットワーク管理方法であって、
コンピュータが、
被管理装置のネットワークアドレス、当該被管理装置の製造元識別情報を含む装置情報、及び当該被管理装置のMIBから取得を行う情報の値である情報種別の入力を行なう入力工程と、
前記データファイルを参照して、前記入力工程により入力された前記被管理装置の前記製造元識別情報を含む装置情報に基づいて、拡張MIBに係るオブジェクトIDを特定するOID特定工程と、
前記OID特定工程により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得するMIB値取得工程とを有し、
前記データファイルには、前記情報種別と、前記製造元識別情報を含む装置情報と、オブジェクトIDとが対応付けられて記述されていること、
を特徴とするネットワーク管理方法。
A network management method in a network management apparatus having a storage means for storing a predetermined data file, connected to a managed apparatus via a network, and managing the managed apparatus using SNMP,
Computer
An input step for inputting a network address of the managed device, device information including manufacturer identification information of the managed device, and an information type that is a value of information acquired from the MIB of the managed device;
Referring to the data file, based on device information including the manufacturer identification information of the managed device input in the input step, an OID specifying step of specifying an object ID related to an extended MIB;
An MIB value acquisition step of acquiring an MIB value from the managed device by designating the object ID specified by the OID specification step;
In the data file, the information type, device information including the manufacturer identification information, and an object ID are described in association with each other,
A network management method characterized by the above.
コンピュータが、
被管理装置毎に、製造元識別情報を含む装置情報を収集する装置情報収集工程を有し、
前記記憶手段は、前記装置情報収集工程により収集された前記製造元識別情報を含む装置情報を記憶し、
前記入力工程は、前記記憶手段から、前記ネットワークアドレスに対応した被管理装置の製造元識別情報を含む装置情報を入力すること、
を特徴とする請求項5に記載のネットワーク管理方法。
Computer
For each managed device, it has a device information collection process for collecting device information including manufacturer identification information,
The storage means stores device information including the manufacturer identification information collected by the device information collection step,
The input step includes inputting device information including manufacturer identification information of a managed device corresponding to the network address from the storage unit;
The network management method according to claim 5.
前記製造元識別情報を含む装置情報は、機種情報を含み、
前記OID特定工程は、前記装置情報に含まれる製造元識別情報及び機種情報に基づいて、拡張MIBに係るオブジェクトIDを特定すること、
を特徴とする請求項5又は6に記載のネットワーク管理方法。
The device information including the manufacturer identification information includes model information,
The OID specifying step specifies an object ID related to an extended MIB based on manufacturer identification information and model information included in the device information;
The network management method according to claim 5 or 6, wherein:
前記データファイルには、オブジェクトIDに優先値が対応付けて付されており、
前記OID特定工程は、前記優先値に基づいて、複数のオブジェクトIDから一のオブジェクトIDを特定し、
前記MIB値取得工程は、前記OID特定工程により特定されたオブジェクトIDを指定して、前記被管理装置からMIB値を取得できないとき、前記OID特定工程は、前記優先値に基づいて、複数のオブジェクトIDからMIB値取得ができなかったオブジェクトIDの次に優先される一のオブジェクトIDを特定すること、
を特徴とする請求項5ないし7いずれか一項に記載のネットワーク管理方法。
In the data file, a priority value is associated with an object ID, and
The OID specifying step specifies one object ID from a plurality of object IDs based on the priority value,
The MIB value acquisition step specifies the object ID specified in the OID specification step, and when the MIB value cannot be acquired from the managed device, the OID specification step includes a plurality of objects based on the priority value. Identifying one object ID prioritized after the object ID for which the MIB value could not be obtained from the ID;
The network management method according to claim 5, wherein:
請求項5ないし7いずれか一項に記載のネットワーク管理方法をコンピュータに実行させるためのネットワーク管理プログラム。   A network management program for causing a computer to execute the network management method according to claim 5. 請求項9に記載のネットワーク管理プログラムを、コンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium recording a program for causing a computer to execute the network management program according to claim 9.
JP2008238623A 2008-09-17 2008-09-17 Network management apparatus, network management method, network management program, and recording medium Expired - Fee Related JP5157775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008238623A JP5157775B2 (en) 2008-09-17 2008-09-17 Network management apparatus, network management method, network management program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008238623A JP5157775B2 (en) 2008-09-17 2008-09-17 Network management apparatus, network management method, network management program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010072873A true JP2010072873A (en) 2010-04-02
JP5157775B2 JP5157775B2 (en) 2013-03-06

Family

ID=42204601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008238623A Expired - Fee Related JP5157775B2 (en) 2008-09-17 2008-09-17 Network management apparatus, network management method, network management program, and recording medium

Country Status (1)

Country Link
JP (1) JP5157775B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012001762A1 (en) * 2010-06-28 2012-01-05 株式会社日立製作所 Management system, management method for computer system
US8271638B2 (en) 2009-06-24 2012-09-18 Hitachi, Ltd. Node management apparatus and method
JP2013168061A (en) * 2012-02-16 2013-08-29 Canon Inc Peripheral device, information processing system, control method, and computer program
US8935373B2 (en) 2010-06-14 2015-01-13 Hitachi, Ltd. Management system and computer system management method
CN110851086A (en) * 2019-10-11 2020-02-28 杭州珐珞斯科技有限公司 Data reading method, device, system and equipment of printing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044374A (en) * 2001-07-31 2003-02-14 Matsushita Graphic Communication Systems Inc Device and method for monitoring network
JP2005110056A (en) * 2003-09-30 2005-04-21 Nippon Telegr & Teleph Corp <Ntt> Network management apparatus, network system using the same, and network management method
JP2005173997A (en) * 2003-12-11 2005-06-30 Hitachi Ltd Management system for network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044374A (en) * 2001-07-31 2003-02-14 Matsushita Graphic Communication Systems Inc Device and method for monitoring network
JP2005110056A (en) * 2003-09-30 2005-04-21 Nippon Telegr & Teleph Corp <Ntt> Network management apparatus, network system using the same, and network management method
JP2005173997A (en) * 2003-12-11 2005-06-30 Hitachi Ltd Management system for network equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271638B2 (en) 2009-06-24 2012-09-18 Hitachi, Ltd. Node management apparatus and method
US8935373B2 (en) 2010-06-14 2015-01-13 Hitachi, Ltd. Management system and computer system management method
WO2012001762A1 (en) * 2010-06-28 2012-01-05 株式会社日立製作所 Management system, management method for computer system
CN102859505A (en) * 2010-06-28 2013-01-02 株式会社日立制作所 Management system, management method for computer system
US8553564B2 (en) 2010-06-28 2013-10-08 Hitachi, Ltd. Management system and computer system management method
JP5406988B2 (en) * 2010-06-28 2014-02-05 株式会社日立製作所 Management system and computer system management method
JP2013168061A (en) * 2012-02-16 2013-08-29 Canon Inc Peripheral device, information processing system, control method, and computer program
CN110851086A (en) * 2019-10-11 2020-02-28 杭州珐珞斯科技有限公司 Data reading method, device, system and equipment of printing equipment

Also Published As

Publication number Publication date
JP5157775B2 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
US7882213B2 (en) Network management system to monitor managed elements
US8015282B2 (en) System and method to synthesize custom metric attributes from a set of metric attributes associated with an application in an application server environment
JP5966270B2 (en) System and device management program
JP2004013901A (en) Method and system for supervising device connected to network and displaying equipment status
JP5157775B2 (en) Network management apparatus, network management method, network management program, and recording medium
US8190416B2 (en) Computer network management
US8583825B2 (en) Device information acquisition apparatus and device information acquisition program
JP5181958B2 (en) Device management apparatus, device management system, device information acquisition program, and recording medium recording the program
US8838790B2 (en) Configuration value management apparatus and management method
US8645523B2 (en) System and method to manage set history for simple network management protocol
JP2007004269A (en) Management control program, management apparatus, and method for the same
JP5385991B2 (en) SYSTEM, PROGRAM, AND METHOD FOR FORMING CONFIGURATION INFORMATION OF COMPONENTS OF SYSTEMS INCLUDING COMPONENTS WHICH OBTAINED CONFIGURATION INFORMATION
JP4293169B2 (en) Network equipment control system
JP5531652B2 (en) Management device, management system, management method, program, and recording medium
JP5564983B2 (en) Device management system, device to be managed, information providing method, information providing program, and recording medium recording the program
JP2007018246A (en) Report automatic preparation program and report automatic preparation system and method
JP2009169863A (en) Computer system for managing configuration item, and method and computer program therefor
JP5761422B2 (en) Management device, network system, integrated management system, management method, and management program
JP4011971B2 (en) Network device management apparatus, network device management method, and storage medium
JP2002157174A (en) Network management device and method and storage medium
JP2004272494A (en) Network device managing device
JP5900071B2 (en) Information terminal device, printing device, and printing system
JP2018085005A (en) Report preparation system
JP2016170827A (en) Equipment management device, asset management device, and equipment management method
JP6244778B2 (en) Node management device, node management program, node, node control program, and network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120925

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121019

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

R151 Written notification of patent or utility model registration

Ref document number: 5157775

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees