JPH11177552A - Trap management method and system for snmp - Google Patents

Trap management method and system for snmp

Info

Publication number
JPH11177552A
JPH11177552A JP9343264A JP34326497A JPH11177552A JP H11177552 A JPH11177552 A JP H11177552A JP 9343264 A JP9343264 A JP 9343264A JP 34326497 A JP34326497 A JP 34326497A JP H11177552 A JPH11177552 A JP H11177552A
Authority
JP
Japan
Prior art keywords
trap
manager
agent
version number
snmp
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
JP9343264A
Other languages
Japanese (ja)
Other versions
JP3226023B2 (en
Inventor
Keigo Nakamura
圭吾 中村
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP34326497A priority Critical patent/JP3226023B2/en
Publication of JPH11177552A publication Critical patent/JPH11177552A/en
Application granted granted Critical
Publication of JP3226023B2 publication Critical patent/JP3226023B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a manager to surely obtain a TRAP. SOLUTION: A manager 11 has an SNMP processing section 11-2 that processes an SNMP protocol, a main processing section 11-2 that processes monitor control, and a memory 11-3 that stores a control program and data including a version number of a preceding TRAP received from an agent. The agent 12 is provided with an SNMP processing section 12-1 that processes the SNMP, a main processing section 12-2 that processes monitor control, a memory 12-3 that stores a control program and data including the version number of the TRAP sent to the manager precedingly, and a node communication section 12-4 that makes communication with the node 13. The agent 12 sends the TRAP to which two version numbers being this time and preceding time are added to the manager 11. The manager 11 compares the version number of the TRAP with the version number stored in its own memory, updates the storage of the version number when they are coincident, and requests re- transmission of the TRAP to the agent 12 in the case of dissidence.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のノードと、
前記ノードの監視制御を行なうエージェントと、前記エ
ージェントを、TCP/IPネットワークの標準管理プ
ロトコルである簡易ネットワーク管理プロトコル(Simp
le Network Management Protocol:以下SNMPとい
う)を用いて遠隔監視制御するマネージャとからなるS
NMPのTRAP管理方法とその装置に関する。
TECHNICAL FIELD The present invention relates to a plurality of nodes,
An agent for monitoring and controlling the node, and the agent are connected to a simple network management protocol (Simp) which is a standard management protocol for a TCP / IP network.
le Network Management Protocol (hereinafter referred to as SNMP)
The present invention relates to an NMP TRAP management method and device.

【0002】[0002]

【従来の技術】SNMPのTRAP管理方式は、複数の
ノードと、これらのノードの監視制御を行なうマネージ
ャと、マネージャによる遠隔監視制御を受けて所属のノ
ードの監視制御を行なうことができるエージェントとか
らなるネットワークにおいて、各ノードで発生したイベ
ントを管理ステーションであるマネージャに通知するた
めのTRAPの送受信を管理するものである。
2. Description of the Related Art The SNMP TRAP management system comprises a plurality of nodes, a manager for monitoring and controlling these nodes, and an agent capable of performing monitoring and control of a node to which the manager belongs under remote monitoring and control by the manager. In this network, transmission and reception of TRAP for notifying an event that has occurred in each node to a manager serving as a management station is managed.

【0003】SNMPを用いた管理システムでは、管理
ステーションから被管理ノードへのポーリングによって
監視する管理が行なわれるのが一般的であるが、管理対
象ノード数が増大した場合は、ポーリングによるネット
ワークの負荷や管理ステーションのオーバーへッドが増
大するという問題がある。そこで、ノードをよりリアル
タイムに管理するために、被管理ノードで監視を実行
し、異常が発生した場合にのみ管理ステーションにTR
APを送信することが行なわれる。
In a management system using SNMP, monitoring is generally performed by polling from a management station to a managed node. However, when the number of managed nodes increases, the network load due to polling is increased. And the overhead of the management station increases. Therefore, in order to manage the node in more real time, monitoring is performed on the managed node, and the TR is sent to the management station only when an abnormality occurs.
Transmitting an AP is performed.

【0004】しかし、単にSNMPのTRAPを使うの
では、TRAPが相手に確実に届くという保証がないの
で、特開平8−331206号の「ネットワーク管理シ
ステム」は、SNMPを用いたネットワーク管理システ
ムにおいて、ネットワーク構成機器のメモリ容量を増大
することなく、被管理機器が管理装置に対して送信する
TRAPの送信信頼性を確保することを目的として、管
理装置にTRAP応答処理部を、被管理機器にTRAP
応答確認部をそれぞれ設けて、管理装置が被管理機器か
ら送信されるTRAPを受信したとき、特定の管理オブ
ジェクトに関するPDU(Protoclol Data Unit )をそ
の被管理機器に対して送信し、被管理機器がTRAP送
信後所定の期間内に管理装置からのPDUが受信された
かを確認することにより、TRAPの送信が成功したか
失敗したかを判定する。
However, simply using the SNMP TRAP does not guarantee that the TRAP will reach the other party. Therefore, the “network management system” disclosed in Japanese Patent Laid-Open No. 8-331206 discloses a network management system using SNMP. For the purpose of ensuring the transmission reliability of TRAP transmitted from the managed device to the management device without increasing the memory capacity of the network component device, the management device is provided with a TRAP response processing unit, and the managed device is provided with TRAP response processing.
Each of the response confirmation units is provided, and when the management device receives TRAP transmitted from the managed device, the management device transmits a PDU (Protoclol Data Unit) relating to the specific managed object to the managed device, and the managed device By confirming whether a PDU has been received from the management device within a predetermined period after the TRAP transmission, it is determined whether the transmission of the TRAP has succeeded or failed.

【0005】また、特開平9−64871号に開示され
た「ネットワーク管理システム」は、サービスの増加に
伴って増加するマネージャの負荷を軽減するために管理
データを複数のマネージャに分散して、各マネージャが
分担して管理するネットワーク管理システムにおいて
は、被管理機器上のエージェントからマネージャにSN
MPのTRAPを用いてデータが送られる。この場合、
一部のマネージャにのみ送信が必要なTRAPが全ての
マネージャに送られるので、各マネージャの処理負担が
増大するという問題が発生するので、その問題を解決す
ることを目的としている。その解決手段は、マネージャ
には、エージェントに対してTRAPパケットに内容と
宛先とを設定するTRAP設定要求部を設け、エージェ
ントには、set-request 受信部で受信したパケットに含
まれるTRAPパケットの内容と宛先を検出して設定す
るTRAP設定部と、設定された宛先にTRAPパケッ
トを送信するTRAP送信部とを設けるというものであ
る。
[0005] Further, a "network management system" disclosed in Japanese Patent Application Laid-Open No. Hei 9-64871 distributes management data to a plurality of managers in order to reduce the load on managers that increases with the increase in services. In a network management system in which a manager shares and manages, an agent on a managed device sends an SN to a manager.
Data is sent using MP TRAP. in this case,
Since TRAP that needs to be transmitted to only some of the managers is sent to all the managers, a problem arises in that the processing load on each manager increases, and the object is to solve the problem. The solution is to provide the manager with a TRAP setting request unit for setting the content and destination in the TRAP packet for the agent, and the agent with the content of the TRAP packet included in the packet received by the set-request receiving unit. And a TRAP setting unit for detecting and setting a destination, and a TRAP transmitting unit for transmitting a TRAP packet to the set destination.

【0006】また、SNMP標準管理を用いてTRAP
を管理ステーションに確実に届けることを目的とする案
が特開平9−101929号の「TRAP送信装置」に
よって開示された。
[0006] In addition, TRAP is performed using SNMP standard management.
The aim of ensuring that the data is delivered to the management station is disclosed in Japanese Patent Application Laid-Open No. Hei 9-101929, entitled "TRAP transmitter".

【0007】すなわち、管理ステーションでTRAP受
信時、TRAP正常受信を表すメッセージをSNMPを
使ってTRAP送信元に送信し、被管理ノードでTRA
P送信後、このTRAPが正常に受信されたというメッ
セージが受信されるかを監視して、所定時間以上TRA
P正常受信のメッセージが受信されないときは、このメ
ッセージが受信されるまでTRAPを繰返して再送する
というものである。
That is, when a management station receives a TRAP, a message indicating the normal reception of the TRAP is transmitted to the TRAP transmission source using SNMP, and the managed node uses the TRA.
After transmitting P, it is monitored whether or not a message indicating that this TRAP has been received normally is received.
If a message of P normal reception is not received, TRAP is repeated and retransmitted until this message is received.

【0008】[0008]

【発明が解決しようとする課題】しかし、上述の従来の
技術には次のような問題点があった。
However, the above-mentioned prior art has the following problems.

【0009】第1の問題点は、TRAPが伝送途中で脱
落してマネージャに到達しないことがあるので、全ての
情報を確実に通知することができなかった。
The first problem is that TRAP may drop out during transmission and may not reach the manager, so that all information cannot be reliably reported.

【0010】第2の問題点は、マネージャから周期的に
ポーリングする場合、その周期の間隔を長くすると、マ
ネージャ側の情報獲得がリアルタイムに行なわれず、一
方、周期の間隔を短くすると、状態の変化がなくともネ
ットワークに常時負荷をかけるようになり、ネットワー
クの負荷を増大してしまう。
The second problem is that, when polling is periodically performed from the manager, if the interval of the cycle is lengthened, information acquisition on the manager side is not performed in real time. On the other hand, if the interval of the cycle is shortened, the state changes. Without this, the network is constantly loaded, and the network load increases.

【0011】第3の問題点は、マネージャに到達するT
RAPが順番どおりでない場合は、マネージャでその順
番を認識することができなかった。
The third problem is that T reaches the manager.
If the RAP was not in order, the manager could not recognize that order.

【0012】本発明の目的は、上述の問題点を解消し、
マネージャが確実にTRAPを入手できるSNMPのT
RAP管理方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems,
SNMP T that manager can get TRAP without fail
It is to provide a RAP management method.

【0013】[0013]

【課題を解決するための手段】本発明のSNMPのTR
AP管理方法は、エージェントが各ノードの状態変化の
情報をマネージャに通知する度に、当該マネージャに対
する通知の版数をTRAPに付加して通知し、このTR
APを受信したマネージャは、TRAPによるノードの
状態変化の情報を解析する前に、TRAPに付加された
版数を自己が記憶する版数と比較して、一致する場合は
版数の記憶を更新し、不一致の場合はエージェントにT
RAPの再送を要求することを特徴とする。
DISCLOSURE OF THE INVENTION The TR of the SNMP of the present invention
In the AP management method, each time the agent notifies the manager of information on the state change of each node, the version number of the notification to the manager is added to TRAP and notified.
The manager that has received the AP compares the version number added to TRAP with the version number stored by itself before analyzing the information on the node state change due to TRAP, and updates the version number storage if they match. If not, T
RAP retransmission is requested.

【0014】また、エージェントからマネージャに送る
TRAPに付加される版数は、当該マネージャに対する
前回の通知の版数と今回の通知の版数との2つの版数と
する。
The version number added to the TRAP sent from the agent to the manager is two versions: the version number of the previous notification to the manager and the version number of the current notification.

【0015】また、TRAPに付加される版数は、一連
番号順や時系列順に限定されず、任意の記号列等によ
り、当該マネージャに対する前回の通知の版数と今回の
通知の版数との2つの版数が区別されるものであればよ
い。
Further, the version number added to TRAP is not limited to the order of serial numbers or chronological order. The version number of the previous notification to the manager and the version number of the current notification to the manager are determined by an arbitrary symbol string or the like. It is only necessary that the two versions be distinguished.

【0016】また、マネージャがTRAP方式と周期の
長いポーリング方式とを併用して、マネージャが次のT
RAPを受信しないために、未受信TRAPの検出が長
期間放置されるのを防止してもよい。
Further, the manager uses the TRAP method and the polling method having a long cycle together, and the manager
Since no RAP is received, detection of an unreceived TRAP may be prevented from being left for a long time.

【0017】本発明のSNMPのTRAP管理装置は、
マネージャに、SNMPのプロトコルを処理するSNM
P処理部と、監視制御の処理を行なうメイン処理部と、
制御プログラム及びエージェントから受信した前回のT
RAPの版数を含むデータが格納されるメモリとを備
え、エージェントに、SNMPのプロトコルを処理する
SNMP処理部と、各ノードの監視制御の処理を行なう
メイン処理部と、制御プログラム及び前回マネージャに
送付したTRAPの版数を含むデータが格納されるメモ
リと、各ノードとの通信を行なうノード通信部とを備え
る。
The SNMP TRAP management device of the present invention comprises:
SNM that handles SNMP protocol to manager
A P processing unit, a main processing unit that performs monitoring control processing,
Previous T received from control program and agent
A memory for storing data including the version number of the RAP; an agent has an SNMP processing unit for processing an SNMP protocol; a main processing unit for monitoring and controlling each node; a control program and a previous manager; It has a memory for storing data including the version number of the transmitted TRAP, and a node communication unit for communicating with each node.

【0018】また、エージェント及びマネージャが管理
対象項目ごとにグループ化され、ネットワーク上に1つ
以上のコミュニティが存在してもよい。
Further, agents and managers may be grouped for each management target item, and one or more communities may exist on the network.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0020】図1は本発明の1実施例のシステム構成
図、図2は版数管理のシーケンス図である。
FIG. 1 is a system configuration diagram of one embodiment of the present invention, and FIG. 2 is a sequence diagram of version number management.

【0021】図1において、本実施例のシステムは、ノ
ード13と、ノード13を監視するエージェント12
と、エージェント12とLANを介して接続され、SN
MPを用いてエージェント12を遠隔監視制御するマネ
ージャ11とからなる。
In FIG. 1, the system of the present embodiment comprises a node 13 and an agent 12 for monitoring the node 13.
Connected to the agent 12 via the LAN, and
And a manager 11 for remotely monitoring and controlling the agent 12 using the MP.

【0022】本実施例では、1つずつのマネージャ11
とエージェント12とがLAN上で同一ネットワークに
接続されているとしたが、SNMPの仕様上、マネージ
ャ11とエージェント12間のネットワークは異種のネ
ットワークがレピータ等を介して接続されたWANであ
ってもよい。また、マネージャ11は、複数エージェン
トの遠隔集中監視制御を行なうことも可能である。
In the present embodiment, one manager 11
And the agent 12 are connected to the same network on the LAN. However, according to the specification of SNMP, the network between the manager 11 and the agent 12 may be a WAN in which different networks are connected via a repeater or the like. Good. Further, the manager 11 can also perform remote centralized monitoring control of a plurality of agents.

【0023】また、エージェント12とノード13間の
プロトコルは、任意のプロトコルの使用が可能であり、
エージェント12が複数のノード13を監視制御するこ
ともできる。
The protocol between the agent 12 and the node 13 can be any protocol.
The agent 12 can monitor and control a plurality of nodes 13.

【0024】マネージャ11は、SNMPのプロトコル
を処理するSNMP処理部11−1と、監視制御の処理
を行なうメイン処理部11−2と、制御プログラム及び
エージェントから受信した前回のTRAPの版数を含む
データが格納されるメモリ/ハードディスク11−3と
を有し、エージェント12は、SNMPを処理するSN
MP処理部12−1と、監視制御の処理を行なうメイン
処理部12−2と、制御プログラム及び前回マネージャ
に送付したTRAPの版数を含むデータが格納されるメ
モリ/ハードディスク12−3と、ノード13との通信
を行なうノード通信部12−4とを有する。
The manager 11 includes an SNMP processing section 11-1 for processing an SNMP protocol, a main processing section 11-2 for performing monitoring control processing, and a control program and a version number of the previous TRAP received from the agent. An agent 12 has a memory / hard disk 11-3 in which data is stored, and has an SN that processes SNMP.
An MP processing unit 12-1, a main processing unit 12-2 for performing monitoring control processing, a memory / hard disk 12-3 for storing a control program and data including a TRAP version number previously sent to the manager, and a node And a node communication unit 12-4 that communicates with the node 13.

【0025】マネージャ11とエージェント12は、常
に最新のTRAPの版数情報をそれぞれのメモリ11−
3,12−3に記憶している。
The manager 11 and the agent 12 always store the latest TRAP version information in their respective memories 11-
3, 12-3.

【0026】ノード13の状態に変化があると、エージ
ェント12はその情報を最新の版数と前回のTRAPで
送信した最終の版数とを付加したTRAPによってマネ
ージャ11に通知する。マネージャ11は、TRAPを
受信すると、メモリ11−3に確保しているエージェン
ト12の版数と、マネージャ11が受信したTRAPの
最終版数とを比較して、版数が異なる場合はTRAPの
洩れがあったものと判定し、マネージャ11が受信した
最終の版数のTRAPから後のTRAPの再送をエージ
ェント12に要求する。
When there is a change in the state of the node 13, the agent 12 notifies the manager 11 of the information by TRAP to which the latest version number and the last version number transmitted by the previous TRAP are added. When receiving the TRAP, the manager 11 compares the version number of the agent 12 secured in the memory 11-3 with the final version number of the TRAP received by the manager 11, and if the version numbers are different, the TRAP is leaked. Is determined, and the manager 11 requests the agent 12 to retransmit a TRAP after the last version of the TRAP received.

【0027】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0028】エージェント12は、ノード13に状態変
化が発生すると、マネージャ11が起動状態にあるか否
かに関係なく、TRAPを送信している。従って、マネ
ージャが起動されたときは、正常の運用に入る前に、エ
ージェント12のメモリ12−3に記憶された最新の構
成情報及び版数情報を要求して、これらの情報を獲得
し、メモリ11−3に記憶する。この時点では、マネー
ジャ11の版数(A1)とエージェント12の版数(M
1)は一致している。
When a change in state occurs in the node 13, the agent 12 transmits a TRAP regardless of whether the manager 11 is in the active state. Therefore, when the manager is started, before starting normal operation, the latest configuration information and version number information stored in the memory 12-3 of the agent 12 are requested, and these information are acquired. 11-3. At this time, the version number (A1) of the manager 11 and the version number (M
1) is consistent.

【0029】マネージャ11が起動して正常に運用中
は、ノード13に状態変化が発生すると、エージェント
12がその状態変化を解析して、その情報を、先にマネ
ージャ11に通知した最終版数(M1)と今回の最新の
版数(M2)とを付加したTRAP(S3)としてマネ
ージャ11に通知する。マネージャ11は受信したTR
AP(S3)の最終版数(M1)とメモリ11−3に記
憶している最終版数(A1)とを比較する。この場合は
両者が一致するので、マネージャ11はそのTRAP
(S3)を解析して監視処理を行い、メモリ11−3の
最終版数(A1)を(A2)に更新して(M2)と同じ
値にする。
While the manager 11 is running and operating normally, when a state change occurs in the node 13, the agent 12 analyzes the state change and notifies the manager 11 of the final version number ( M1) and the latest version number (M2) are notified to the manager 11 as TRAP (S3). Manager 11 receives the TR
The final version number (M1) of the AP (S3) is compared with the final version number (A1) stored in the memory 11-3. In this case, since the two match, the manager 11
The monitoring process is performed by analyzing (S3), and the final version number (A1) of the memory 11-3 is updated to (A2) to have the same value as (M2).

【0030】しかし、何らかの事由により、TRAPが
マネージャ11に到着しない場合は、例えばエージェン
ト12から最終版数(M2)と最新版数(M3)が付加
されたTRAP(S4)がマネージャ11に到着しなか
ったとすると、マネージャ11はメモリ11−3の更新
処理を行なわないので、メモリ11−3の最終版数は
(M2)と同じ値の(A2)のままである。
However, if TRAP does not arrive at the manager 11 for some reason, the TRAP (S4) to which the final version number (M2) and the latest version number (M3) are added arrives at the manager 11 from the agent 12, for example. If not, the manager 11 does not update the memory 11-3, so the final version number of the memory 11-3 remains (A2), which is the same value as (M2).

【0031】その後、さらにノード13に状態変化が発
生して、エージェント12が最終版数(M3)と最新版
数(M4)が付加されたTRAP(S5)をマネージャ
11に送り、マネージャ11が今度はこのTRAP(S
5)を受信したとする。マネージャ11は、TRAP
(S5)に付加された最終版数(M3)とメモリ11−
3に記憶している最終版数(A2)とを比較して、不一
致であることからTRAP(S4)が受信されなかった
ことを認識する。そこで、マネージャ11は、TRAP
(S5)の解析を行なわず、メモリ11−3に記憶して
いる最終版数(A2)を付加した再送要求信号Set-Requ
est (S6)をエージェント12に送ってTRAPの再
送を要求する。
After that, a further state change occurs in the node 13, and the agent 12 sends the TRAP (S5) to which the final version number (M3) and the latest version number (M4) are added to the manager 11, and the manager 11 next issues This TRAP (S
Assume that 5) is received. Manager 11
The final version number (M3) added to (S5) and the memory 11-
By comparing with the final version number (A2) stored in No.3, it is recognized that TRAP (S4) has not been received due to mismatch. Therefore, the manager 11
The retransmission request signal Set-Requ, to which the final version number (A2) stored in the memory 11-3 is added without performing the analysis of (S5).
est (S6) is sent to the agent 12 to request retransmission of TRAP.

【0032】エージェント12は、再送要求(S6)に
対する応答信号Get-Request (S7)を返したのち、版
数(A2)から後のTRAP(S4,S5)をマネージ
ャ11に再送する。
After returning a response signal Get-Request (S7) to the retransmission request (S6), the agent 12 retransmits TRAP (S4, S5) after the version number (A2) to the manager 11.

【0033】次に、TRAPがマネージャ11に順序不
同に到着した場合について、従来の方式と本発明による
方式とを比較して説明する。
Next, a case where the TRAP arrives at the manager 11 out of order will be described by comparing the conventional system with the system according to the present invention.

【0034】先ず、マネージャ11とエージェント12
がともに「状態1」で、それぞれの最終版数(A1
1)、(M11)が一致しているとする。
First, the manager 11 and the agent 12
Are both in “State 1” and their final version numbers (A1
It is assumed that 1) and (M11) match.

【0035】次に、ノード13に状態変化が発生して
「状態2」になると、エージェント12から「状態2」
に変化した旨のTRAP(S11)がマネージャ11に
送られ、その後、さらにノード13に状態変化が発生し
て「状態3」になると、エージェント12から「状態
3」に変化した旨のTRAP(S12)がマネージャ1
1に送られる。しかし、各TRAPが通過するルートが
異なると、マネージャ11が受信するTRAPの順序は
必ずしもこの送出順序とは一致せず、逆転することがあ
る。
Next, when a state change occurs in the node 13 and the state changes to “state 2”, the agent 12 changes the state to “state 2”.
Is transmitted to the manager 11, and when a further state change occurs in the node 13 and the state changes to “state 3,” the TRAP (S12) indicating that the state has changed from the agent 12 to “state 3”. ) Is Manager 1
Sent to 1. However, if the route that each TRAP passes is different, the order of the TRAPs received by the manager 11 does not always match this transmission order, and may be reversed.

【0036】従来の方式では、このような場合に、マネ
ージャ11は、ノード13の状態がTRAPの到着順に
「状態1」、「状態3」、「状態2」と変化したものと
して処理を行なう。
In such a case, according to the conventional method, in such a case, the manager 11 performs processing assuming that the state of the node 13 has changed to “state 1”, “state 3”, and “state 2” in the order of arrival of TRAP.

【0037】しかし、本発明によると、マネージャ11
が先に受信した「状態3」のTRAP(S12)の最終
版数を解析することにより、未受信のTRAPの存在を
認識して、エージェント12に「状態1」から後のTR
AP(S11,S12)の再送要求を行なうので、状態
変化の順序の逆転を防止することができる。
However, according to the present invention, the manager 11
Analyzes the final version number of the TRAP (S12) of "State 3" received earlier, recognizes the existence of unreceived TRAP, and causes the agent 12 to recognize the TRP after "State 1".
Since the retransmission request of the AP (S11, S12) is made, it is possible to prevent the order of the state change from being reversed.

【0038】以上説明したように、本発明によると、エ
ージェントがTRAPに前回送付した最終版数と今回の
版数とを付加して送付し、マネージャが自己の記憶して
いる版数をTRAPの最終版数と比較して両者が不一致
の場合にのみ、未受信のTRAPの再送を要求するの
で、マネージャがTRAP受信の度に毎回エージェント
に報告し、エージェントがその報告を確認するまでTR
APの送信を繰返す従来例に比較すると、ネットワーク
にかける負荷は非常に軽減される。
As described above, according to the present invention, the agent sends the TRAP with the last version number previously sent and the current version number added to the TRAP, and the manager updates the version number stored in the TRAP by the TRAP. Only when the two do not match as compared with the final version number, retransmission of unreceived TRAP is requested, so the manager reports to the agent every time TRAP is received, and the TRAP is performed until the agent confirms the report.
The load on the network is greatly reduced as compared with the conventional example in which the transmission of the AP is repeated.

【0039】[0039]

【発明の効果】上述のように本発明は、エージェントか
ら同一マネージャに対して前回送られたTRAPの版数
と今回送付するTRAPの版数との2つの版数をTRA
Pに付加して通知することにより、マネージャがTRA
Pの受信漏れを検出して確実にTRAPを入手できる効
果がある。
As described above, according to the present invention, two versions of the TRAP version previously transmitted from the agent to the same manager and the version of the TRAP transmitted this time are set to TRA.
By notifying in addition to P, the manager
There is an effect that TRAP can be reliably obtained by detecting leakage of reception of P.

【0040】また、エージェントからマネージャに送る
TRAPに付加される版数を当該マネージャに対する前
回の通知の版数と今回の通知の版数との2つの版数とす
ることにより、マネージャにおける版数更新の処理が簡
易化できる効果がある。
The version number added to the TRAP sent from the agent to the manager is two versions, the version number of the previous notification to the manager and the version number of the current notification. Has the effect of simplifying the processing of.

【0041】また、TRAPに付加される版数を当該マ
ネージャに対する直前のTRAPと今回のTRAPに区
別できる任意の記号列等により設定することにより、複
数のマネージャに対して不連続な版数を付与することが
できる効果がある。
Also, by setting the number of editions to be added to TRAP by an arbitrary symbol string or the like that can distinguish between the immediately preceding TRAP and the current TRAP for the manager, discontinuous edition numbers are assigned to a plurality of managers. There is an effect that can be.

【0042】また、エージェントがTRAP方式と周期
の長いポーリング方式とを併用することにより、マネー
ジャが次のTRAPを受信しないために、未受信TRA
Pの検出が長期間放置されるのを防止することができる
効果がある。
Further, since the agent uses the TRAP method and the polling method having a long period in combination, the manager does not receive the next TRAP, so that the unreceived TRA is not received.
There is an effect that the detection of P can be prevented from being left for a long time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の1実施例のシステム構成図である。FIG. 1 is a system configuration diagram of an embodiment of the present invention.

【図2】図1の版数管理のシーケンス図である。FIG. 2 is a sequence diagram of version number management in FIG. 1;

【図3】通常のTRAPシーケンス図である。FIG. 3 is a normal TRAP sequence diagram.

【符号の説明】[Explanation of symbols]

11 マネージャ 11−1 メイン処理部 11−2 SNMP処理部 11−3 メモリ/ハードディスク 12 エージェント 12−1 メイン処理部 12−2 SNMP処理部 12−3 メモリ/ハードディスク 12−4 ノード通信部 13 ノード A1〜A13 マネージャの版数 M1〜M13 エージェントの版数 S1〜S12 TRAPを含むマネージャ・エージェン
ト間の通信
11 Manager 11-1 Main Processing Unit 11-2 SNMP Processing Unit 11-3 Memory / Hard Disk 12 Agent 12-1 Main Processing Unit 12-2 SNMP Processing Unit 12-3 Memory / Hard Disk 12-4 Node Communication Unit 13 Node A1 A13 Manager version M1 to M13 Agent version S1 to S12 Communication between manager and agent including TRAP

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数のノードと、前記ノードの監視制御
を行なうエージェントと、前記エージェントからネット
ワークの管理プロトコルであるSNMPのTRAPを用
いて前記ノードの状態変化の情報が通知され、前記エー
ジェントを遠隔制御するマネージャとからなるネットワ
ーク管理システムのSNMPのTRAP送信の管理方法
において、 前記エージェントは、前記ノードの状態変化の情報をT
RAPによりマネージャに通知する度に、当該マネージ
ャに対する通知の版数をTRAPに付加して通知し、 前記TRAPを受信したマネージャは、前記ノードの状
態変化の情報を解析する前に、前記TRAPに付加され
た版数を自己が記憶するTRAPの版数と比較して、一
致する場合は版数の記憶を更新し、不一致の場合は前記
エージェントにTRAPの再送を要求することを特徴と
するSNMPのTRAP管理方法。
A plurality of nodes, an agent for monitoring and controlling the node, and information on a change in the state of the node is notified from the agent using SNMP TRAP which is a network management protocol, and the agent is remotely controlled. A management method for SNMP TRAP transmission in a network management system comprising a controlling manager, wherein the agent transmits information on a state change of the node to T
Each time the manager is notified by RAP, the version number of the notification to the manager is added to TRAP and notified. The manager receiving the TRAP adds the version number to the TRAP before analyzing the information on the state change of the node. The SNMP version is compared with the version number of TRAP stored by itself and updates the version number storage if they match, and requests the agent to retransmit the TRAP if they do not match. TRAP management method.
【請求項2】 エージェントからマネージャに送るTR
APに付加される版数は、当該マネージャに対する前回
の通知の版数と今回の通知の版数との2つの版数とする
請求項1に記載のSNMPのTRAP管理方法。
2. TR sent from an agent to a manager
2. The SNMP TRAP management method according to claim 1, wherein the number of versions added to the AP is two versions: a version number of a previous notification to the manager and a version number of a current notification.
【請求項3】 エージェントからマネージャに送るTR
APに付加される版数は、数字順、時系列順、又は任意
の記号により、当該マネージャに対する前回の通知の版
数と今回の通知の版数との2つの版数が区別されるもの
である請求項1または2に記載のSNMPのTRAP管
理方法。
3. TR sent from an agent to a manager
The version number added to the AP distinguishes the two versions, the version number of the previous notification and the version number of the current notification, to the manager by numerical order, chronological order, or any symbol. 3. The SNMP TRAP management method according to claim 1 or 2.
【請求項4】 前記マネージャは、ノードの状態変化発
生の都度版数を付加したTRAPを受信するほか、定期
的に前記各ノード及びエージェントに対してポーリング
を行なう請求項1に記載のSNMPのTRAP管理方
法。
4. The SNMP trap according to claim 1, wherein said manager receives a TRAP to which a version number is added each time a node status change occurs and periodically polls said nodes and agents. Management method.
【請求項5】 複数のノードと、SNMPと呼ばれるネ
ットワークの管理プロトコルを処理するSNMP処理
部、各ノードの監視制御の処理を行なうメイン処理部、
制御プログラム及びデータが格納されるメモリ、及び各
ノードとの通信を行なうノード通信部を備え、前記ノー
ドの状態変化の情報を通知するSNMPのTRAPを生
成して前記各ノードの監視制御を行なうエージェント
と、SNMPのプロトコルを処理するSNMP処理部
と、監視制御の処理を行なうメイン処理部と、制御プロ
グラム及びデータが格納されるメモリとを備え、前記エ
ージェントからSNMPのTRAPを用いて通知される
前記ノードの状態変化の情報により前記エージェントの
遠隔監視制御を行なうマネージャとからなるネットワー
ク管理システムにおいて、 前記エージェントは、TRAPの版数を生成して前記マ
ネージャに送信するTRAPに付加する手段と、 前記生成した版数を自己のメモリに格納する手段とを備
え、 前記マネージャは、受信したTRAPの版数を自己のメ
モリに格納する手段と、 前記エージェントからTRAPを受信したとき、該TR
APに付加された版数を自己のメモリに格納された版数
と比較して、不一致を検出する手段と、 前記不一致が検出されたとき、前記エージェントに対し
て自己のメモリに格納された版数より後に送信されたT
RAPを再送すように要求する手段とを備えることを特
徴とするSNMPのTRAP管理装置。
5. An SNMP processing unit for processing a plurality of nodes, a network management protocol called SNMP, a main processing unit for performing monitoring control processing of each node,
An agent that includes a memory in which a control program and data are stored, and a node communication unit that communicates with each node, generates an SNMP TRAP that notifies information of a change in state of the node, and monitors and controls each node. An SNMP processing unit that processes an SNMP protocol, a main processing unit that performs a monitoring control process, and a memory in which a control program and data are stored. The agent is notified from the agent using SNMP TRAP. In a network management system comprising: a manager performing remote monitoring and control of the agent based on information on a change in the state of a node; wherein the agent generates a version number of TRAP and adds it to TRAP transmitted to the manager; Means for storing the updated version number in its own memory. The manager includes means for storing the version number of TRAP received in its own memory, when receiving the TRAP from the agent, the TR
Means for comparing the version number added to the AP with the version number stored in its own memory to detect a mismatch; and, when the mismatch is detected, the version stored in its own memory for the agent. T sent after number
Means for requesting that the RAP be retransmitted.
【請求項6】 前記エージェント及びマネージャが管理
対象項目ごとにグループ化された1つ以上のコミュニテ
ィからなる請求項5に記載のSNMPのTRAP管理装
置。
6. The SNMP trap management apparatus according to claim 5, wherein the agent and the manager include one or more communities grouped for each management target item.
JP34326497A 1997-12-12 1997-12-12 SNMP trap management method and apparatus Expired - Fee Related JP3226023B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34326497A JP3226023B2 (en) 1997-12-12 1997-12-12 SNMP trap management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34326497A JP3226023B2 (en) 1997-12-12 1997-12-12 SNMP trap management method and apparatus

Publications (2)

Publication Number Publication Date
JPH11177552A true JPH11177552A (en) 1999-07-02
JP3226023B2 JP3226023B2 (en) 2001-11-05

Family

ID=18360188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34326497A Expired - Fee Related JP3226023B2 (en) 1997-12-12 1997-12-12 SNMP trap management method and apparatus

Country Status (1)

Country Link
JP (1) JP3226023B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU781354B2 (en) * 1999-12-01 2005-05-19 Nec Corporation SNMP network management system and management method thereof
JP2010211319A (en) * 2009-03-06 2010-09-24 Ntt Facilities Inc Monitoring system, manager device, agent device, manager program, agent program, and monitoring method
WO2010150325A1 (en) * 2009-06-26 2010-12-29 富士通テレコムネットワークス株式会社 Snmp control system, agent device thereof, and snmp control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU781354B2 (en) * 1999-12-01 2005-05-19 Nec Corporation SNMP network management system and management method thereof
JP2010211319A (en) * 2009-03-06 2010-09-24 Ntt Facilities Inc Monitoring system, manager device, agent device, manager program, agent program, and monitoring method
WO2010150325A1 (en) * 2009-06-26 2010-12-29 富士通テレコムネットワークス株式会社 Snmp control system, agent device thereof, and snmp control method
JP5314759B2 (en) * 2009-06-26 2013-10-16 富士通テレコムネットワークス株式会社 SNMP management system, its agent device, and SNMP management method

Also Published As

Publication number Publication date
JP3226023B2 (en) 2001-11-05

Similar Documents

Publication Publication Date Title
EP2197179B1 (en) Apparatus and method for fast detection of communication path failures
KR101471210B1 (en) Information collecting system
AU644800B2 (en) Data communication method and system
EP0753952B1 (en) Management of path routing in packet communication networks
US5163055A (en) Communications system using a fault tolerant protocol
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
US20050108389A1 (en) Network endpoint health check
US20070274307A1 (en) Cluster System, Cluster Member, And Program
US20040205071A1 (en) File distribution system, file delivery server apparatus, and reception client apparatus
CN102857354A (en) Method, device and system for reporting alarm information
JPH06326713A (en) Data transmission control method
JP2001067292A (en) State informing system for network management system
JP2006229399A (en) Communications system, relay node and communication method used for the same, and program thereof
JP5229007B2 (en) Monitoring system, network device, monitoring information providing method and program
JP3226023B2 (en) SNMP trap management method and apparatus
JP2000134203A (en) Network management system and its management method
JP2000151606A (en) Network monitoring system, network monitoring method, network management device, network device to be managed and recording medium
JP3465183B2 (en) Network monitoring method
JP3509847B2 (en) Method of improving communication reliability in NMS system and NMS system
JP3159129B2 (en) Network monitoring method
JPH09101929A (en) Trap transmitter
JP7180200B2 (en) Relay device and relay method
JP2002077165A (en) Multiplexing network communication device
JP3889687B2 (en) Monitoring and control system for communication system
JPH08331206A (en) Network managing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees