JP5312124B2 - Network management method and system, and network management system program - Google Patents
Network management method and system, and network management system program Download PDFInfo
- Publication number
- JP5312124B2 JP5312124B2 JP2009068502A JP2009068502A JP5312124B2 JP 5312124 B2 JP5312124 B2 JP 5312124B2 JP 2009068502 A JP2009068502 A JP 2009068502A JP 2009068502 A JP2009068502 A JP 2009068502A JP 5312124 B2 JP5312124 B2 JP 5312124B2
- Authority
- JP
- Japan
- Prior art keywords
- snmp
- mib
- response
- value
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、簡易ネットワーク管理プロトコル(Simple Network Management Protocol/以下、SNMPとする)を利用して監視サーバのSNMPマネージャ装置からSNMPエージェント装置の情報を取得するときの実数値の取り扱いを可能にしたネットワーク管理方法及びシステム、並びにネットワーク管理システム用プログラムに関する。 The present invention uses a simple network management protocol (hereinafter referred to as SNMP) to enable handling of real values when acquiring SNMP agent device information from an SNMP manager device of a monitoring server. The present invention relates to a management method and system, and a network management system program.
従来、SNMPを用いてネットワークで接続された監視サーバに備えられるSNMPマネージャ装置から監視対象サーバ、或いはシステム機器に備えられるSNMPエージェント装置の情報を取得する場合、SNMPマネージャ装置からSNMPエージェント装置へSNMP要求を出し、SNMPエージェント装置が保持又は取得した情報を応答として返し、SNMPマネージャ装置がその情報を取得して蓄積している。SNMPエージェント装置は、自身の状態に関するデータをデータベースの形式で保持しており、その木構造データはMIB(Managament Information Base)と呼ばれ、全てのノードが一意に番号付けられ、各ノードの数字列により成る固有の識別子はOID(Object Identifier)と呼ばれている。 Conventionally, when acquiring information on a monitoring target server or an SNMP agent device provided in a system device from an SNMP manager device provided in a monitoring server connected via a network using SNMP, an SNMP request is sent from the SNMP manager device to the SNMP agent device. And the information held or acquired by the SNMP agent device is returned as a response, and the SNMP manager device acquires and stores the information. The SNMP agent device holds data relating to its own state in the form of a database, and its tree structure data is called MIB (Managment Information Base), all nodes are uniquely numbered, and a numeric string of each node. The unique identifier consisting of is called an OID (Object Identifier).
このようなSNMPを用いた情報取得に関連する周知技術としては、例えば複数の管理情報を一括して扱うことで各管理情報を一回の通信で処理できるようにした管理情報送信装置、機器管理装置および機器管理システム(特許文献1参照)、複数の管理対象装置を利用した業務システム等の稼動情報分析を効率的に行うことを可能にしたネットワーク管理システムと方法およびネットワーク管理装置と方法ならびにプログラムと記録媒体(特許文献2参照)、管理対象機器に発生している複数の異常現象をクライアント装置のプラウザによって全て把握できる機器管理システム、管理サーバ及びコンピュータ読取可能な記録媒体(特許文献3参照)、SNMPを管理プロトコルとし、非SNMP管理対象に対し、SNMP管理対象と同じ識別表示方法を提供するネットワーク管理装置および方法(特許文献4参照)、取得したネットワーク管理情報の値からネットワークの状況として接続端末数が適正であるかを診断して表示できるネットワーク管理方法及びネットワーク管理システム(特許文献5参照)等が挙げられる。 As a well-known technique related to such information acquisition using SNMP, for example, a management information transmitting apparatus and device management that can process each management information in one communication by handling a plurality of management information at once. Network management system and method, network management device, method, and program capable of efficiently performing operation information analysis of apparatus and device management system (see Patent Document 1), business system using a plurality of managed devices And a recording medium (see Patent Document 2), a device management system, a management server, and a computer-readable recording medium that can grasp all of a plurality of abnormal phenomena occurring in a managed device by a browser of a client device (see Patent Document 3) SNMP is the management protocol, and non-SNMP management targets have the same knowledge as SNMP management targets. NETWORK MANAGEMENT DEVICE AND METHOD PROVIDING DISPLAY METHOD (see Patent Document 4), NETWORK MANAGEMENT METHOD AND NETWORK MANAGEMENT SYSTEM capable of diagnosing and displaying whether the number of connected terminals is appropriate as the network status from the value of the acquired network management information (See Patent Document 5).
その他、ネットワーク管理装置と管理対象ノード間で転送するMIBの収集量減少及び収集時間の短縮を図ったネットワーク管理情報収集方式および該方式に用いるネットワーク管理装置ならびに管理対象ノード(特許文献6参照)、SNMPを用いてネットワーク管理を行うマネージャ装置とエージェント装置とから成るネットワーク管理システム及びその管理方法(特許文献7参照)、簡単な構成のサブマネージャで、且つIAB管理標準のSNMPに基づいて大規模な通信ネットワークを階層管理する階層型ネットワーク管理システム(特許文献8参照)、被管理装置を新規に系内に設置する際に被管理装置との間に別の装置を介することなく、また管理端末に新規に設置される被管理装置の拡張MIBの定義ファイルを実装することなく、被管理装置の機器状態を管理することができる系内設置集中管理システム(特許文献9参照)、SNMPで規定される管理ステーションと管理対象ノード間での設定確認を可能として、これら装置を確実に動作させるネットワーク管理方法およびネットワーク管理システム(特許文献10参照)、MIBへのアクセスを柔軟に制御するSNMPエージェント装置(特許文献11参照)等が挙げられる。 In addition, a network management information collection method for reducing the collection amount and the collection time of MIBs transferred between the network management device and the managed node, a network management device used for the method, and a managed node (see Patent Document 6), A network management system comprising a manager device and an agent device that performs network management using SNMP and its management method (see Patent Document 7), a sub-manager with a simple configuration, and a large scale based on SNMP of the IAB management standard Hierarchical network management system that hierarchically manages communication networks (see Patent Document 8), when a managed device is newly installed in the system, it does not go through another device and is used as a management terminal Implement definition file for extended MIB of newly installed managed device In addition, an in-system centralized management system that can manage the device status of managed devices (see Patent Document 9), enables setting confirmation between a management station defined by SNMP and a managed node, Examples thereof include a network management method and a network management system that operate reliably (see Patent Document 10), an SNMP agent device that flexibly controls access to an MIB (see Patent Document 11), and the like.
上記各特許文献に開示されたSNMPを用いた情報取得の技術は、例えば特許文献1に記載されているように、取得できるデータが文字列及び整数値となっているが、トラフィック情報等の蓄積値のデータを扱うだけであれば整数値のみでも問題ないものの、SNMPエージェント装置から取得できる情報のうち、温度等の小数点を含めて表現する方が都合の良い実数値の情報を対象にすると、扱うことができないという問題がある。
The information acquisition technology using SNMP disclosed in each of the above patent documents is, for example, as described in
本発明は、このような問題点を解決すべくなされたもので、その技術的課題(目的)は、SNMPエージェント装置から取得できる実数値の性能情報を、SNMPを通じてSNMPマネージャ装置で有効に収集して記録できるネットワーク管理方法及びシステム、並びにネットワーク管理システム用プログラムを提供することにある。 The present invention has been made to solve such problems, and its technical problem (objective) is to effectively collect real-valued performance information that can be acquired from the SNMP agent device by the SNMP manager device through SNMP. A network management method and system, and a network management system program.
上記技術的課題を解決するため、本発明の第1の手段は、互いにネットワークで接続されたSNMPマネージャ装置よりSNMPを用いてSNMPエージェント装置からシステム情報を取得するネットワーク管理方法において、前記SNMPマネージャ装置から前記SNMPエージェント装置へ特定のMIBを取得するためのSNMP要求を自装置が備えるMIB収集/還元情報用定義データベースからMIB収集用にMIBのID及びIPアドレスを取得して作成したSNMP要求パケットを送信して行うSNMP要求ステップと、前記SNMP要求を受信した前記SNMPエージェント装置が取得した前記MIBのIDをキーとして、自装置が備えるMIB取得/変換情報用定義データベースから前記システム情報となるコマンド及び変換値を取得して当該コマンドの実行による応答値を示す前記特定のMIBの応答値として取得した実数値に対し、当該変換値を示す予め定義した10の倍数を掛けて整数化して得たSNMP応答をSNMP応答パケットとして前記SNMPマネージャへ返信するMIB応答ステップと、前記SNMP応答パケットを受信した前記SNMPマネージャ装置が当該SNMP応答パケットに含まれる前記MIBのIDを取得して当該MIBのIDに対応する還元情報として前記MIB収集/還元情報用定義データベースから取得した予め定義した10の倍数で前記SNMP応答の値を割って実数に変換して記録する応答値変換ステップと、を有することを特徴とする。 To solve the above SL technical problems, first means of the present invention, a network management method for acquiring system information from the SNMP agent device using SNMP from SNMP manager apparatus connected via a network to each other, the SNMP manager An SNMP request packet created by acquiring an MIB ID and an IP address for MIB collection from an MIB collection / reduction information definition database provided in the own device having an SNMP request for acquiring a specific MIB from the device to the SNMP agent device SNMP request step performed by transmitting the command, and a command that becomes the system information from the MIB acquisition / conversion information definition database provided in the own device , using the MIB ID acquired by the SNMP agent device that received the SNMP request as a key And strange To real values obtained as the response value of the specific MIB that acquires a value indicating the response value by the execution of the command, SNMP response obtained by integer multiplied by a multiple of 10 which is predefined indicates the conversion values Response to the SNMP manager as an SNMP response packet , and the SNMP manager apparatus that has received the SNMP response packet acquires the MIB ID included in the SNMP response packet and corresponds to the MIB ID and characterized in that it has a response value conversion step of recording is converted into a real value of the SNMP response I divided by a multiple of predefined 10 acquired from the MIB collection / reduction information for defining the database as a reducing information To do.
また、本発明の第2の手段は、互いにネットワークで接続されたSNMPマネージャ装置及びSNMPエージェント装置を備え、SNMPを用いて当該SNMPマネージャ装置より当該SNMPエージェント装置からシステム情報を取得するネットワーク管理システムにおいて、前記SNMPマネージャ装置は、前記SNMPエージェント装置へ特定のMIBを取得するためのSNMP要求を自装置が備えるMIB収集/還元情報用定義データベースからMIB収集用にMIBのID及びIPアドレスを取得して作成したSNMP要求パケットを送信して行うSNMP要求機能を持ち、前記SNMPエージェント装置は、前記SNMP要求の受信に応じて取得した前記MIBのIDをキーとして、自装置が備えるMIB取得/変換情報用定義データベースから前記システム情報となるコマンド及び変換値を取得して当該コマンドの実行による応答値を示す前記特定のMIBの応答値として取得した実数値に対し、当該変換値を示す予め定義した10の倍数を掛けて整数化して得たSNMP応答をSNMP応答パケットとして前記SNMPマネージャ装置へ返信するMIB応答機能を持ち、前記SNMPマネージャ装置は、前記SNMP応答パケットを受信すると、当該SNMP応答パケットに含まれる前記MIBのIDを取得して当該MIBのIDに対応する還元情報として前記MIB収集/還元情報用定義データベースから取得した予め定義した10の倍数で前記SNMP応答の値を割って実数に変換して記録する応答値変換機能を持つことを特徴とする。このネットワーク管理システムにおいて、前記SNMPマネージャ装置が監視サーバに備えられ、前記SNMPエージェント装置が監視対象サーバ又はシステム機器に備えられたことは好ましい。 The second means of the present invention includes an SNMP manager device and the SNMP agent apparatus connected via a network to each other, in a network management system to obtain system information from the SNMP agent device from the SNMP manager device using SNMP The SNMP manager device acquires the MIB ID and IP address for MIB collection from the MIB collection / reduction information definition database provided in the device itself for an SNMP request for acquiring a specific MIB to the SNMP agent device. has a row cormorants SNMP request function by sending an SNMP request packet created, the SNMP agent apparatus, the key ID of the MIB acquired in response to receiving the SNMP request, MIB acquired / conversion information device itself comprising Definition To real values obtained as the response value of the specific MIB showing a response value by the execution of the command to get the commands and conversion value serving as the system information from the database, a multiple of 10 predefined indicates the conversion values the multiplied have MIB response function to reply to the SNMP manager device an SNMP response obtained by integer as SNMP response packet, wherein the SNMP manager device receives the SNMP reply packet then, included in the SNMP reply packet and acquires the ID of the MIB is converted into a real I the MIB collection / 10 dividing the value of the SNMP response in multiples of a previously defined obtained from the definition database for reducing information as reducing information corresponding to the ID of the MIB It has a response value conversion function for recording. In this network management system, it is preferable that the SNMP manager device is provided in a monitoring server and the SNMP agent device is provided in a monitoring target server or system device.
更に、本発明の第3の手段は、互いにネットワークで接続された監視サーバと監視対象サーバ又はシステム機器とを備えたネットワーク管理システムに適用されると共に、当該監視サーバよりSNMPを用いて当該監視対象サーバ又は当該システム機器からシステム情報を取得するためのネットワーク管理システム用プログラムであって、前記監視サーバから前記監視対象サーバ又は前記システム機器へ特定のMIBを取得するためのSNMP要求を自装置が備えるMIB収集/還元情報用定義データベースからMIB収集用にMIBのID及びIPアドレスを取得して作成したSNMP要求パケットを送信して行うSNMP要求ステップの手順と、前記SNMP要求を受信した前記監視対象サーバ又は前記システム機器が取得した前記MIBのIDをキーとして、自装置が備えるMIB取得/変換情報用定義データベースから前記システム情報となるコマンド及び変換値を取得して当該コマンドの実行による応答値を示す前記特定のMIBの応答値として取得した実数値に対し、当該変換値を示す予め定義した10の倍数を掛けて整数化して得たSNMP応答をSNMP応答パケットとして前記監視サーバへ返信するMIB応答ステップの手順と、前記SNMP応答パケットを受信した前記監視サーバが当該SNMP応答パケットに含まれる前記MIBのIDを取得して当該MIBのIDに対応する還元情報として前記MIB収集/還元情報用定義データベースから取得した予め定義した10の倍数で前記SNMP応答の値を割って実数に変換して記録する応答値変換ステップの手順と、について、当該監視サーバに持たされると共に、当該SNMP要求ステップの手順及び当該応答値変換ステップの手順を実行するためのSNMPマネージャ用プログラムと、当該監視対象サーバ又は当該システム機器に持たされると共に、当該MIB応答ステップの手順を実行するためのSNMPエージェント用プログラムと、を有して成ることを特徴とする。 Furthermore , the third means of the present invention is applied to a network management system including a monitoring server and a monitoring target server or system equipment connected to each other via a network, and the monitoring target is monitored using SNMP from the monitoring server. A network management system program for acquiring system information from a server or the system device, wherein the device includes an SNMP request for acquiring a specific MIB from the monitoring server to the monitoring target server or the system device. A procedure of an SNMP request step performed by transmitting an SNMP request packet created by acquiring an MIB ID and an IP address for MIB collection from the MIB collection / reduction information definition database, and the monitored server that has received the SNMP request or the MI of the system equipment is acquired Acquiring the ID as a key, as the response value of a particular MIB showing the response value to obtain the command and conversion value serving as the system information from the definition database for MIB acquired / conversion information device itself equipped by the execution of the command An SNMP response step of returning an SNMP response obtained by multiplying the real value obtained by multiplying a predefined multiple of 10 indicating the conversion value to an integer as an SNMP response packet to the monitoring server, and the SNMP response packet The received monitoring server acquires the MIB ID included in the SNMP response packet, and obtains the return information corresponding to the MIB ID from the MIB collection / reduction information definition database as a multiple of 10 defined in advance. response value conversion step of recording is converted into a real you assign a value of the SNMP response And forward, for, with the Motasa to the monitoring server, and a program for SNMP manager to perform the steps of the procedure and the response value conversion step of the SNMP request step, is Motasa to the monitored server or the system equipment And an SNMP agent program for executing the procedure of the MIB response step.
本発明によれば、SNMPエージェント装置(監視対象サーバ又はシステム機器)から取得できる実数値の性能情報を、SNMPを通じてSNMPマネージャ装置(監視サーバ)で有効に収集して記録することができる。この結果、SNMPエージェント装置から取得できる情報が温度等の小数点を含めて表現する方が都合の良い実数値の情報を対象にしても、簡易に扱うことができる。 According to the present invention, real-valued performance information that can be acquired from an SNMP agent device (monitoring target server or system device) can be effectively collected and recorded by the SNMP manager device (monitoring server) via SNMP. As a result, even if the information that can be acquired from the SNMP agent device includes real-value information that is more convenient to express including the decimal point such as temperature, it can be easily handled.
以下に、本発明のネットワーク管理方法及びシステム、並びにネットワーク管理システム用プログラムについて、図面を参照して詳細に説明する。 Hereinafter, a network management method and system and a network management system program of the present invention will be described in detail with reference to the drawings.
最初に、本願発明のネットワーク管理方法の技術的概要について、簡単に説明する。本願発明のネットワーク管理方法は、互いにネットワークで接続されたSNMPマネージャ装置よりSNMPを用いてSNMPエージェント装置からシステム情報を取得するとき、SNMPマネージャ装置からSNMPエージェント装置へ特定のMIBを取得するためのSNMP要求を自装置が備えるMIB収集/還元情報用定義データベースからMIB収集用にMIBのID及びIPアドレスを取得して作成したSNMP要求パケットを送信して行うSNMP要求ステップと、SNMP要求を受信したSNMPエージェント装置が取得したMIBのIDをキーとして、自装置が備えるMIB取得/変換情報用定義データベースからシステム情報となるコマンド及び変換値を取得してコマンドの実行による応答値を示す特定のMIBの応答値として取得した実数値に対し、変換値を示す予め定義した10の倍数を掛けて整数化して得たSNMP応答をSNMP応答パケットとしてSNMPマネージャへ返信するMIB応答ステップと、SNMP応答パケットを受信したSNMPマネージャ装置がSNMP応答パケットに含まれるMIBのIDを取得してMIBのIDに対応する還元情報としてMIB収集/還元情報用定義データベースから取得した予め定義した10の倍数でSNMP応答の値を割って実数に変換して記録する応答値変換ステップと、を有するものである。 First, a technical outline of the network management method of the present invention will be briefly described. In the network management method of the present invention, when acquiring system information from an SNMP agent device using SNMP from SNMP manager devices connected to each other via a network, an SNMP for acquiring a specific MIB from the SNMP manager device to the SNMP agent device. An SNMP request step for transmitting an SNMP request packet created by acquiring an MIB ID and IP address for MIB collection from the MIB collection / reduction information definition database provided in the own device, and an SNMP having received the SNMP request A response of a specific MIB indicating a response value obtained by executing a command by acquiring a command and conversion value as system information from the MIB acquisition / conversion information definition database provided in the own device using the MIB ID acquired by the agent device as a key value To real values acquired by the MIB response step of returning to the SNMP manager SNMP response obtained by integer multiplied by a multiple of predefined 10 shows the conversion value as an SNMP reply packet, receiving the SNMP response packet SNMP manager device dividing the value of SNMP responses at multiples of 10 predefined obtained from the definition database for MIB collection / reduction information as a reducing information to obtain the ID of the MIB corresponding to the ID of the MIB included in the SNMP reply packet And a response value conversion step for converting the result into a real number and recording it.
係る手法によれば、SNMPエージェント装置から取得できる実数値の性能情報を、SNMPを通じてSNMPマネージャ装置で有効に収集して記録することができる。これにより、SNMPエージェント装置から取得できる情報が温度等の小数点を含めて表現する方が都合の良い実数値の情報を対象にしても、簡易に扱うことができる。 According to this method, real-valued performance information that can be acquired from the SNMP agent device can be effectively collected and recorded by the SNMP manager device via SNMP. Thereby, even if the information that can be acquired from the SNMP agent device includes real-valued information that is more convenient to express including the decimal point such as temperature, it can be easily handled.
図1は、本発明の実施例1に係るネットワーク管理システムの概略構成を示した図である。このネットワーク管理システムは、SNMPを用いてシステム情報を収集するための監視サーバ10と収集対象となる監視対象サーバ20とがネットワーク30で接続されて構成されている。
FIG. 1 is a diagram showing a schematic configuration of a network management system according to the first embodiment of the present invention. This network management system is configured by connecting a
図2は、このネットワーク管理システムに備えられる監視サーバ10及び監視対象サーバ20の細部構成を示した機能ブロック図である。因みに、ここでの監視サーバ10及び監視対象サーバ20は、よく知られているように、略図するCPU、主メモリ、HDD等による記憶装置、表示装置、及びキーボードマウス等の入出力装置を備えて構成されるものである。
FIG. 2 is a functional block diagram showing detailed configurations of the
監視サーバ10は、監視対象サーバ20からSNMPを用いてシステム情報を収集するSNMPマネージャ装置110を備えている。
The
このSNMPマネージャ装置110は、収集するMIBに対する還元情報を定義したファイルデータを蓄積するMIB収集/還元情報用定義ファイルDB(データベース)113と、SNMP通信を行う処理として、SNMP要求パケット131の送信及びSNMP応答パケット132の受信を行うSNMP処理部112と、収集結果のファイルデータを蓄積する収集結果ファイルDB(データベース)114と、MIB収集/還元情報用定義ファイルDB(データベース)113からのMIB収集/還元情報に基づいてSNMP処理部112を介して監視対象サーバ装置20上のSNMPエージェント装置120へのSNMP要求パケット131の発行を行うと共に、SNMPエージェント装置120からSNMP処理部112で受信されたSNMP応答パケット132の応答値(整数値)を実数値へと変換して収集結果ファイルDB(データベース)114に蓄積記録する処理を行うMIB収集/還元処理部111と、を備えて構成されている。
The SNMP
なお、MIB収集/還元処理部111は、MIB収集/還元情報用定義ファイルDB(データベース)113から収集対象のIPアドレスと、収集するシステム情報の種類とを取得し、SNMP−Get要求を発行する処理を行う。
The MIB collection /
監視対象サーバ20は、OSコマンドを発令するOSコマンド部124と、OSコマンドを実行することにより、SNMPマネージャ装置110からのSNMP要求パケット131を受けてシステム情報を収集し、SNMP応答パケット132を返信するためのSNMPエージェント装置120と、を備えている。
The monitoring target server 20 receives the SNMP
このSNMPエージェント装置120は、取得するMIBに対する変換情報を定義したファイルデータを蓄積するMIB取得/変換情報用定義ファイルDB(データベース)123と、SNMP通信を行う処理として、SNMP応答パケット132の送信及びSNMP要求パケット131の受信を行うSNMP処理部122と、OSコマンドを実行してSNMP処理部122のSNMP要求パケット131の受信時にMIB取得/変換情報用定義ファイルDB(データベース)123からシステム情報を取得すると共に、取得した実数値を整数値へと変換してSNMP応答パケット132としてSNMP処理部122を介してSNMPマネージャ装置110に応答(返信)するための処理を行うMIB取得/変換処理部121と、を備えて構成されている。
The
なお、ここでのSNMPマネージャ装置110(MIB取得/変換処理部121)の動作は、OSコマンド部124から発令されたOSコマンドを実行することで行われるものとして説明したが、同様な動作が得られれば他の手法を適用しても良い。
The operation of the SNMP manager device 110 (MIB acquisition / conversion processing unit 121) here has been described as being performed by executing an OS command issued from the
要するに、このネットワーク管理システムにおいて、動作処理上のシーケンス(手順)は、SNMPマネージャ装置110がSNMPエージェント装置120へ特定のMIBを取得するためのSNMP要求(SNMP要求パケット131による)を行い、SNMPエージェント装置120がSNMP要求の受信に応じて収集したシステム情報に基づいて、特定のMIBの応答値として取得した実数値に対し、例えば予め定義した10の倍数を掛けて整数化して得たSNMP応答(SNMP応答パケット132による)をSNMPマネージャ装置110へ返信する機能を持つ。また、この後にSNMPマネージャ装置110がSNMP応答の受信に応じて、例えば予め定義した10の倍数で特定のMIBの応答値を割り、実数に変換して記録する機能を持つものである。
In short, in this network management system, the sequence (procedure) in the operation process is that the
図3は、監視サーバ10に備えられるSNMPマネージャ装置110におけるMIB収集/還元の動作処理を示したフローチャートである。
FIG. 3 is a flowchart showing MIB collection / reduction operation processing in the
(1)MIB収集/還元の動作処理では、MIB収集/還元処理部111がMIB収集/還元情報用定義ファイルDB113から収集に必要な情報として、収集するMIB ID(OID)を取得し、引き続いて収集対象のIPアドレスを取得する。取得する情報は、図5(a)に示されるMIB収集/還元情報用定義ファイルDB113のファイル構成の項目説明における項目名のうちの収集先IPアドレス、MIB ID[勿論、図5(b)に示されるデータ例の何れかである場合を例示できる]である(ステップS1、S2)。
(1) In the MIB collection / reduction operation process, the MIB collection /
(2)また、MIB収集/還元処理部111は、取得したMIB ID(OID)とIPアドレスからSNMP要求パケット131を作成し、SNMP処理部112を介して作成したSNMP要求パケット131を監視対象サーバ20上のSNMPエージェント装置120に送信する(ステップS3、S4)。
(2) Also, the MIB collection /
(3)更に、MIB収集/還元処理部111は、SNMP処理部112経由で監視対象サーバ20上のSNMPエージェント装置120からの応答があるか否かの判定を行い、応答が無ければ一定時間処理を待つWAITを実施してから係る判定の前にリターンして応答を待つが、応答があればSNMP応答パケット132を受信する(ステップS5、S6、S7)。
(3) Furthermore, the MIB collection /
(4)そこで、MIB収集/還元処理部111は、SNMP応答パケット132からMIB ID(OID)と整数値の(応答)値を取得し、取得した(応答)値を実数に還元するための情報を、応答パケット132から取得したMIB ID(OID)をキーとして、MIB収集/還元情報用定義ファイルDB113から取得する。取得する情報は、図5(a)に示されるMIB収集/還元情報用定義ファイルDB113のファイル構成の項目説明における項目名のうちの還元値[勿論、図5(b)に示されるデータ例の何れかである場合を例示できる]である(ステップS8、S9)。
(4) Therefore, the MIB collection /
(5)引き続き、MIB収集/還元処理部111は、応答パケット132から取得した整数値の(応答)値を、MIB収集/還元情報用定義ファイルDB113から取得した還元値である10の倍数(10^n)で割ることにより、実数化した値を収集結果ファイルDB114に書き込む。書き込む情報は、図7(a)の収集結果ファイルDB114の項目説明に記載されている項目[勿論、図7(b)に示されるデータ例の何れかである場合を例示できる]である(ステップS10、S11)。
(5) Subsequently, the MIB collection /
図4は、監視対象サーバ20に備えられるSNMPエージェント装置120におけるMIB取得/変換の動作処理を示したフローチャートである。
FIG. 4 is a flowchart showing MIB acquisition / conversion operation processing in the
(1)MIB取得/変換の動作処理では、MIB取得/変換処理部121がSNMP処理部122を介して監視サーバ10上のSNMPマネージャ装置110(具体的にはそのSNMP処理部112)からシステム情報取得の要求が来ているか否かを取得要求ありか否かの判定により行い、その判定の結果、取得要求が無ければ一定時間処理待ちするWAITの処理に移行し、係る判定の処理の前にリターンして取得要求を待つように待機するが、取得要求があればSNMP要求パケット131を受信する(ステップS21、S22、S23)。
(1) In the MIB acquisition / conversion operation process, the MIB acquisition /
(2)次にMIB取得/変換処理部121は、SNMP要求パケット131から取得用のMIB ID(OID)を取得した後、取得したMIB ID(OID)が処理対象かのチェックを行う(ステップS24、S25)。
(2) Next, after acquiring the MIB ID (OID) for acquisition from the
(3)具体的には、このチェックは、SNMP要求パケット131から取得したMIB ID(OID)が図6(a)のMIB取得/変換情報用定義ファイルDB123のファイル構成の項目説明における項目名のうちのMIB ID(OID)の値[勿論、図6(b)に示されるデータ例の何れかである場合を例示できる]と一致するものがあるか否かの判定を行うものとして、処理対象か否かの判定により行うものである(ステップS26)。
(3) Specifically, in this check, the MIB ID (OID) acquired from the
(4)この判定(ステップS26)の結果、一致するものがなければ、対象外としてSNMP応答パケット132にエラー値を設定した後、SNMP処理部122を介して監視サーバ10上のSNMPマネージャ装置110(具体的にはそのSNMP処理部112)へその旨を示すSNMP応答パケット132を送信して動作を終了する(ステップS27、S36)。
(4) If there is no match as a result of this determination (step S26), an error value is set in the
(5)一方、上記判定(ステップS26)の結果、一致するものがあれば、SNMP要求パケット131から取得したMIB ID(OID)をキーとして、MIB取得/変換情報用定義ファイルDB123から実行するコマンドの情報を取得すると共に、同様にSNMP要求パケット131から取得したMIB ID(OID)をキーとして、MIB取得/変換情報用定義ファイルDB123からコマンドの応答値を整数に変換するための情報である変換値を取得する。この変換値は、図6(a)のMIB取得/変換情報用定義ファイルDB123のファイル構成の項目説明における項目名のうちの変換値[勿論、図6(b)に示されるデータ例の何れかである場合を例示できる]である(ステップS28、S29)。
(5) On the other hand, if there is a match as a result of the determination (step S26), a command to be executed from the MIB acquisition / conversion information
(6)この後、OSコマンド部124から取得した実行するコマンド情報としてOSコマンドを実行した後、コマンドの戻り値等に基づいてコマンド実行が成功したか否かの判定を行う(ステップS30、S31)。
(6) Thereafter, after executing the OS command as the command information to be executed acquired from the
(7)この判定(ステップS31)の結果、実行が失敗していればSNMP応答パケット132にエラー値を設定した後、SNMP処理部122を介して監視サーバ10上のSNMPマネージャ装置110(具体的にはそのSNMP処理部112)へその旨を示すSNMP応答パケット132を送信して動作を終了する(ステップS32、S36)。
(7) If execution is unsuccessful as a result of this determination (step S31), an error value is set in the
(8)他方、上記判定(ステップS31)の結果、実行が成功していればコマンドの応答値を取得した後、コマンドの応答値(実数値)に、MIB取得/変換情報用定義ファイルDB123から取得した変換に使用する値(変換値である10の倍数の10^n)を掛け整数化する(ステップS33、S34)。 (8) On the other hand, if the execution is successful as a result of the determination (step S31), the response value of the command is acquired, and then the response value (real value) of the command is obtained from the MIB acquisition / conversion information definition file DB123. The value used for the obtained conversion (10 ^ n which is a multiple of 10 as the conversion value) is multiplied to make an integer (steps S33 and S34).
(9)最後に、整数化するように変換した値(整数化した値)をSNMP応答パケット132に設定した後、SNMP処理部122を介して監視サーバ10上のSNMPマネージャ装置110(具体的にはそのSNMP処理部112)へその旨を示すSNMP応答パケット132を送信して動作を終了する(ステップS35、S36)。
(9) Finally, a value converted to an integer (value converted to an integer) is set in the
なお、上述した実施例1に係るネットワーク管理システム(図1に示したもの)は、一台の監視サーバ10と一台の監視対象サーバ20とがネットワーク30で接続された簡易構成として説明したが、監視対象サーバ20についてはシステム機器に代えても良く、またこれらの装置の設置台数は複数であっても良い。
The network management system according to the first embodiment described above (shown in FIG. 1) has been described as a simple configuration in which one
また、上述した実施例1に係るネットワーク管理システムにおける監視サーバ10が備えるSNMPマネージャ装置110と監視対象サーバ20が備えるSNMPエージェント装置120との動作処理は、上述したそれらの動作処理の情報を有するプログラムを読み出して実行させることも可能である。
In addition, the operation processing of the
具体的に云えば、このような監視サーバ10よりSNMPを用いて監視対象サーバ20又はシステム機器からシステム情報を取得するためのネットワーク管理システム用プログラムは、監視サーバ10から監視対象サーバ20又はシステム機器へ特定のMIBを取得するためのSNMP要求を行うSNMP要求ステップと、SNMP要求を受信した監視対象サーバ20又はシステム機器が収集したシステム情報に基づいて、特定のMIBの応答値として取得した実数値に対し、予め定義した10の倍数を掛けて整数化して得たSNMP応答を監視サーバ10へ返信するMIB応答ステップと、SNMP応答を受信した監視サーバが予め定義した10の倍数で特定のMIBの応答値を割り、実数に変換して記録する応答値変換ステップと、を有することを前提とする。
More specifically, the network management system program for acquiring system information from the monitoring target server 20 or system device using SNMP from the monitoring
そして、係る前提にあって、SNMP要求ステップ及び応答値変換ステップを実行するためのSNMPマネージャ用プログラムを監視サーバ10に持たせて実行させると共に、MIB応答ステップを実行するためのSNMPエージェント用プログラムを監視対象サーバ20又はシステム機器に持たて実行させれば良いものである。
Based on this premise, the SNMP server program is executed by causing the
10 監視サーバ
20 監視対象サーバ
30 ネットワーク
110 SNMPマネージャ装置
111 MIB収集/還元処理部
112、122 SNMP処理部
113 MIB収集/還元情報用定義ファイルDB(第1のデータベース)
114 収集結果ファイルDB(第3のデータベース)
120 SNMPエージェント装置
121 MIB取得/変換処理部
123 MIB取得/変換情報用定義ファイルDB(第2のデータベース)
124 OSコマンド部
131 SNMP要求パケット
132 SNMP応答パケット
DESCRIPTION OF
114 Collection result file DB (third database)
120
124
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009068502A JP5312124B2 (en) | 2009-03-19 | 2009-03-19 | Network management method and system, and network management system program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009068502A JP5312124B2 (en) | 2009-03-19 | 2009-03-19 | Network management method and system, and network management system program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010224652A JP2010224652A (en) | 2010-10-07 |
JP5312124B2 true JP5312124B2 (en) | 2013-10-09 |
Family
ID=43041803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009068502A Expired - Fee Related JP5312124B2 (en) | 2009-03-19 | 2009-03-19 | Network management method and system, and network management system program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5312124B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822047A (en) * | 2021-01-04 | 2021-05-18 | 北京同有飞骥科技股份有限公司 | Method and system for improving SNMP data acquisition efficiency |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003029822A (en) * | 2001-07-10 | 2003-01-31 | Hitachi Ltd | Plant monitoring system by information terminal |
KR20050075489A (en) * | 2004-01-15 | 2005-07-21 | 유티스타콤코리아 유한회사 | Automatically up_date system and method for using meta mib |
JP2005258691A (en) * | 2004-03-10 | 2005-09-22 | Canon Inc | Device management apparatus |
JP4202957B2 (en) * | 2004-03-25 | 2008-12-24 | 株式会社東芝 | Gateway device |
-
2009
- 2009-03-19 JP JP2009068502A patent/JP5312124B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010224652A (en) | 2010-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8792385B2 (en) | Method and device for auto-generating goose signal connection topology from substation level | |
EP1720286B1 (en) | Network management system and method | |
CN102821414B (en) | System and method for managing CWSN (cloud wireless sensor network) communication data based on GUI (graphical user interface) | |
CN109547524B (en) | User behavior storage method, device, equipment and storage medium based on Internet of things | |
CN102271052A (en) | Network system, network management device and gateway device | |
CN106452839A (en) | Message report method and device | |
CN101945110B (en) | Configuration method and device of address resolution protocol entry | |
CN102377610B (en) | Automatic testing system and automatic testing method for simple network management protocol | |
JP5091217B2 (en) | Home device information collecting apparatus and home device information collecting method | |
CN101247272A (en) | Network management method and apparatus | |
JP5312124B2 (en) | Network management method and system, and network management system program | |
JP2009265718A (en) | Network device transmitting only difference data of network management information, server, program and method | |
CN110061886B (en) | Prepress network management system based on SNMP | |
JP2014239298A (en) | Failure cause estimation device, failure cause estimation system, failure cause estimation method, and failure cause estimation program | |
JP7107047B2 (en) | Control system, search device and search program | |
EP2533153B1 (en) | Unit for managing messages indicating event situations of monitored objects | |
KR20010055482A (en) | Converting Method of Managing Operation from service management system to Switching Command in a Integrated Network | |
JP4589939B2 (en) | Connection information management method, apparatus and program | |
JP4777932B2 (en) | Network management system | |
US8782118B2 (en) | Method to manage network printers and network system using the same | |
JP2010278936A (en) | Network monitoring method and apparatus | |
CN101557436B (en) | Resource monitoring method and device thereof | |
CN101964726B (en) | SNMP-based reliable data transmission method | |
CN110134467B (en) | Parameter configuration processing method and device, storage medium and processor | |
KR100534619B1 (en) | Apparatus and method of network management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20111208 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120316 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130307 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130312 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130509 |
|
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: 20130604 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130702 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5312124 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |