JP5186043B2 - SNMP agent device and SNMP agent control method - Google Patents

SNMP agent device and SNMP agent control method Download PDF

Info

Publication number
JP5186043B2
JP5186043B2 JP2011522631A JP2011522631A JP5186043B2 JP 5186043 B2 JP5186043 B2 JP 5186043B2 JP 2011522631 A JP2011522631 A JP 2011522631A JP 2011522631 A JP2011522631 A JP 2011522631A JP 5186043 B2 JP5186043 B2 JP 5186043B2
Authority
JP
Japan
Prior art keywords
trap
message
unit
transmission
processing
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
Application number
JP2011522631A
Other languages
Japanese (ja)
Other versions
JPWO2011007399A1 (en
Inventor
真佐雄 林
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.)
Fujitsu Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks 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 Fujitsu Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Publication of JPWO2011007399A1 publication Critical patent/JPWO2011007399A1/en
Application granted granted Critical
Publication of JP5186043B2 publication Critical patent/JP5186043B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • H04L41/0627Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time by acting on the notification or alarm source
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

この発明は、データ処理技術に関し、特に、機器の動作状態をSNMP(Simple Network Management Protocol)により管理するマネージャ装置と接続されたエージェント装置およびその制御方法に関する。   The present invention relates to a data processing technique, and more particularly, to an agent device connected to a manager device that manages an operation state of a device using SNMP (Simple Network Management Protocol) and a control method thereof.

機器の動作状態をSNMPにより管理するシステムでは、そのエージェント装置からマネージャ装置に対して自発的にTRAPメッセージを送信することにより、監視対象項目における異常の発生を通知することがある。   In a system that manages the operation state of a device by SNMP, the agent device may spontaneously transmit a TRAP message to the manager device to notify the occurrence of an abnormality in the monitored item.

特開2004−80397号公報Japanese Patent Laid-Open No. 2004-80397

エージェント装置において、複数の監視対象項目における異常の発生が短時間のうちにそれぞれ検出され、マネージャ装置に対する複数のTRAPメッセージの送信処理が輻輳することがある。この場合、一部のTRAPメッセージがマネージャ装置に通知されることなく破棄されてしまうことがあった。   In the agent device, occurrence of anomalies in a plurality of items to be monitored may be detected in a short time, and transmission processing of a plurality of TRAP messages to the manager device may be congested. In this case, some TRAP messages may be discarded without being notified to the manager device.

本発明は、こうした課題に鑑みてなされたものであり、その主たる目的は、SNMPのエージェント装置にて生成された複数のTRAPメッセージを、マネージャ装置に対して漏れなく通知する技術を提供することである。   The present invention has been made in view of these problems, and its main object is to provide a technique for notifying the manager device of a plurality of TRAP messages generated by an SNMP agent device without omission. is there.

上記課題を解決するために、本発明のある態様のSNMPエージェント装置は、機器の動作状態をSNMPにより管理するマネージャ装置と接続されたエージェント装置であって、TRAPメッセージの通知条件が充足されたとき、マネージャ装置へ通知すべきTRAPメッセージを生成するTRAP発行部と、TRAP発行部において生成されたTRAPメッセージをマネージャ装置へ送信するTRAP送信部と、を備える。TRAP送信部は、複数のTRAPメッセージの処理が輻輳した場合、当該複数のTRAPメッセージのうち少なくとも1つの処理を中止するものであり、TRAP発行部は、TRAP送信部がアイドル状態であることを条件として、TRAP送信部へTRAPメッセージを出力する。   In order to solve the above-described problem, an SNMP agent device according to an aspect of the present invention is an agent device connected to a manager device that manages an operation state of a device by SNMP, and when a notification condition of a TRAP message is satisfied A TRAP issuing unit that generates a TRAP message to be notified to the manager device, and a TRAP transmitting unit that transmits the TRAP message generated in the TRAP issuing unit to the manager device. The TRAP transmission unit stops at least one of the plurality of TRAP messages when the processing of the plurality of TRAP messages is congested. To output a TRAP message to the TRAP transmission unit.

「TRAPメッセージの通知条件」は、システムの運用担当者の知見や、システムに対する要求条件に基づいて決定されてよい。例えば、エージェント装置の動作状態や動作環境等の監視対象項目が所定態様になることでもよい。「複数のTRAPメッセージの処理が輻輳した」とは、複数のTRAPメッセージの送信依頼がTRAP送信部において略同時に受け付けられたことでもよい。例えば、TRAP送信部において第1のTRAPメッセージの送信処理中に、その第1のTRAPメッセージとは異なる第2のTRAPメッセージの送信依頼がTRAP発行部から受け付けられたことでもよい。「TRAP送信部がアイドル状態である」とは、TRAP送信部の動作状態が、新たなTRAPメッセージを受け付けても送信処理の輻輳が発生しない状態を示す。例えば、他のTRAPメッセージの送信処理を未実行の状態であってもよい。   The “TRAP message notification condition” may be determined based on the knowledge of the person in charge of the system operation or the requirements for the system. For example, the monitoring target items such as the operating state and operating environment of the agent device may be in a predetermined mode. “The processing of a plurality of TRAP messages is congested” may mean that transmission requests for a plurality of TRAP messages are accepted substantially simultaneously by the TRAP transmission unit. For example, a transmission request for a second TRAP message different from the first TRAP message may be received from the TRAP issuing unit during the transmission process of the first TRAP message in the TRAP transmission unit. “The TRAP transmission unit is in an idle state” indicates a state in which the operation state of the TRAP transmission unit does not cause congestion in transmission processing even when a new TRAP message is received. For example, another TRAP message transmission process may be in an unexecuted state.

この態様によると、TRAP送信部は、自身がアイドル状態であるときに、TRAP発行部からのTRAP送信依頼を受け付けることになる。したがって、TRAP送信部において、複数のTRAPメッセージの送信処理が輻輳することを回避できる。これにより、TRAPメッセージの通知条件が略同時に複数充足された場合でも、複数のTRAPメッセージのそれぞれは廃棄されることなく、マネージャ装置へ漏れなく送信される。   According to this aspect, the TRAP transmitting unit accepts a TRAP transmission request from the TRAP issuing unit when the TRAP transmitting unit is in an idle state. Therefore, it is possible to avoid congestion of transmission processing of a plurality of TRAP messages in the TRAP transmission unit. Thus, even when a plurality of TRAP message notification conditions are satisfied substantially simultaneously, each of the plurality of TRAP messages is transmitted to the manager device without being discarded.

TRAP送信部は、自身の動作状態が変化したことを契機として、その動作状態をTRAP発行部へ通知し、TRAP発行部は、TRAP送信部からの通知内容を参照して、TRAP送信部がアイドル状態であるか否かを検出してもよい。「自身の動作状態が変化したこと」とは、TRAP送信部の動作状態が、アイドル状態からTRAPメッセージの送信処理を実行中の状態へ移行したことでもよく、TRAPメッセージの送信処理を実行中の状態からアイドル状態へ移行したことでもよい。この態様によると、TRAP発行部はTRAP送信部の動作状態をTRAP送信部に問い合わせる必要がなく、TRAPメッセージを送出すべき際にその動作状態を即座に検出できる。   The TRAP transmitting unit notifies the TRAP issuing unit of the operating state triggered by the change in its operating state. The TRAP issuing unit refers to the notification content from the TRAP transmitting unit, and the TRAP transmitting unit is idle. You may detect whether it is a state. “The operation state of the device itself has changed” may be that the operation state of the TRAP transmission unit has shifted from the idle state to a state in which a TRAP message transmission process is being executed. It may be a transition from the state to the idle state. According to this aspect, the TRAP issuing unit does not need to inquire the TRAP transmission unit about the operation state of the TRAP transmission unit, and can immediately detect the operation state when the TRAP message should be transmitted.

TRAP発行部は、TRAPメッセージを一時的に保持するバッファを含んでもよい。TRAP発行部は、TRAP送信部が他のTRAPメッセージの処理中である場合、TRAP送信部へ出力すべきTRAPメッセージをバッファに保持してもよい。「バッファ」は、TRAPメッセージのデータを記憶する記憶領域であってもよく、RAM等のメモリとして実装されてもよい。この態様によると、TRAP送信部に対してTRAPメッセージを出力すべきでない間、TRAP発行部は、自身のバッファにTRAPメッセージを保持しておくことができる。   The TRAP issuing unit may include a buffer that temporarily holds the TRAP message. The TRAP issuing unit may hold a TRAP message to be output to the TRAP transmitting unit in a buffer when the TRAP transmitting unit is processing another TRAP message. The “buffer” may be a storage area for storing TRAP message data, or may be implemented as a memory such as a RAM. According to this aspect, while the TRAP message should not be output to the TRAP transmitting unit, the TRAP issuing unit can hold the TRAP message in its own buffer.

TRAP発行部は、TRAP送信部の動作状態がTRAPメッセージの処理中からアイドル状態へ移行した場合、バッファが保持するTRAPメッセージをTRAP送信部へ出力してもよい。この態様によると、TRAP送信部における他のTRAPメッセージの送信処理が完了してから、TRAP発行部はTRAPメッセージをTRAP送信部へ出力する。これにより、TRAP送信部にて複数のTRAPメッセージの送信処理が輻輳することを回避できる。   The TRAP issuing unit may output the TRAP message held in the buffer to the TRAP transmitting unit when the operation state of the TRAP transmitting unit shifts from the processing of the TRAP message to the idle state. According to this aspect, the TRAP issuing unit outputs the TRAP message to the TRAP transmitting unit after the processing for transmitting another TRAP message in the TRAP transmitting unit is completed. Thereby, it is possible to avoid congestion of transmission processing of a plurality of TRAP messages in the TRAP transmission unit.

このSNMPエージェント装置は、複数のTRAP発行部を備えてもよい。複数のTRAP発行部のそれぞれは、TRAP送信部がTRAPメッセージの処理中である場合に、TRAP送信部へ出力すべきTRAPメッセージを保持するためのバッファを含んでもよい。「複数のTRAP発行部」のそれぞれは、互いに異なる監視対象項目の状態変化を検出してTRAPメッセージを生成するものであってもよい。   The SNMP agent device may include a plurality of TRAP issuing units. Each of the plurality of TRAP issuing units may include a buffer for holding a TRAP message to be output to the TRAP transmitting unit when the TRAP transmitting unit is processing the TRAP message. Each of the “plurality of TRAP issuing units” may generate a TRAP message by detecting a change in state of different monitoring target items.

この態様によれば、複数種のTRAPメッセージをマネージャ装置へ通知するエージェント装置においても、TRAP送信部にて複数のTRAPメッセージの送信処理が輻輳することを回避できる。また、個々のTRAP発行部がバッファを含むことにより、TRAP送信部がバッファを含む場合と比べて、TRAP送信部の処理負荷を低減できる。また、複数のTRAPメッセージは個々のTRAP発行部のバッファに分散されて格納されるため、バッファ容量を超えてTRAPメッセージが格納されることを防止しやすくなる。   According to this aspect, even in the agent device that notifies the manager device of a plurality of types of TRAP messages, it is possible to avoid congestion of transmission processing of the plurality of TRAP messages in the TRAP transmission unit. Further, since each TRAP issuing unit includes a buffer, the processing load on the TRAP transmitting unit can be reduced as compared with the case where the TRAP transmitting unit includes a buffer. Further, since the plurality of TRAP messages are distributed and stored in the buffers of the individual TRAP issuing units, it is easy to prevent the TRAP messages from being stored exceeding the buffer capacity.

本発明の別の態様は、SNMPエージェント制御方法である。この方法は、機器の動作状態をSNMPにより管理するマネージャ装置と接続されたエージェント装置を制御する方法であって、TRAPメッセージの通知条件が充足されたとき、TRAP発行部が、マネージャ装置へ通知すべきTRAPメッセージを生成するステップと、複数のTRAPメッセージの処理が輻輳した場合、当該複数のTRAPメッセージのうち少なくとも1つの処理を中止するTRAP送信部がアイドル状態であることを条件として、TRAP発行部が、TRAP送信部へTRAPメッセージを出力するステップと、TRAP送信部が、マネージャ装置へTRAPメッセージを送信するステップと、をエージェント装置に実行させる。この態様によると、上記の効果を奏するエージェント装置を実現できる。   Another aspect of the present invention is an SNMP agent control method. This method is a method of controlling an agent device connected to a manager device that manages the operation state of a device by SNMP, and when a TRAP message notification condition is satisfied, a TRAP issuing unit notifies the manager device. Generating a TRAP message to be processed, and when a plurality of TRAP messages are congested, a TRAP issuing unit is provided on condition that a TRAP transmission unit that stops at least one of the plurality of TRAP messages is in an idle state. Causes the agent device to execute a step of outputting a TRAP message to the TRAP transmission unit and a step of the TRAP transmission unit transmitting the TRAP message to the manager device. According to this aspect, it is possible to realize an agent device that exhibits the above effects.

なお、以上の構成要素の任意の組合せ、本発明の表現を装置、方法、システム、プログラム、プログラムを格納した記録媒体などの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a representation of the present invention converted between an apparatus, a method, a system, a program, a recording medium storing the program, and the like are also effective as an aspect of the present invention.

本発明によれば、SNMPのエージェント装置にて生成された複数のTRAPメッセージについて、マネージャ装置に対する通知漏れの発生を防止しやすくなる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes easy to prevent generation | occurrence | production of the notification omission with respect to a manager apparatus about the several TRAP message produced | generated in the agent apparatus of SNMP.

本発明の実施の形態であるSNMP管理システムの構成を示す図である。It is a figure which shows the structure of the SNMP management system which is embodiment of this invention. TRAPメッセージの送信について従来の処理シーケンスを示す図である。It is a figure which shows the conventional process sequence about transmission of a TRAP message. TRAPメッセージの送信について従来の処理シーケンスを示す図である。It is a figure which shows the conventional process sequence about transmission of a TRAP message. 図1のエージェント装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the agent apparatus of FIG. 図4のエージェント装置の動作を示すフローチャートである。6 is a flowchart showing the operation of the agent device of FIG. 図4のエージェント装置の動作を示すフローチャートである。6 is a flowchart showing the operation of the agent device of FIG. 図4のエージェント装置の動作を示すフローチャートである。6 is a flowchart showing the operation of the agent device of FIG. TRAPメッセージの送信について本実施の形態の処理シーケンスを示す図である。It is a figure which shows the process sequence of this Embodiment about transmission of a TRAP message.

図1は、本発明の実施の形態であるSNMP管理システム10の構成を示す。SNMP管理システム10は、エージェント装置12で総称される第1のエージェント装置12a、第2のエージェント装置12bと、マネージャ装置14とを備える。エージェント装置12とマネージャ装置14とは、LAN(Local Area Network)16を介して相互に接続されている。   FIG. 1 shows a configuration of an SNMP management system 10 according to an embodiment of the present invention. The SNMP management system 10 includes a first agent device 12a, a second agent device 12b, which are collectively referred to as an agent device 12, and a manager device 14. The agent device 12 and the manager device 14 are connected to each other via a LAN (Local Area Network) 16.

マネージャ装置14は、SNMPマネージャソフトウェアが搭載されたコンピュータ端末である。マネージャ装置14は、所定の監視対象項目の状態を示すデータをエージェント装置12から取得する。そして、監視対象項目の状態をSNMP管理システム10の運用担当者へ適宜通知することで、SNMP管理システム10の監視および運用を支援する。   The manager device 14 is a computer terminal on which SNMP manager software is installed. The manager device 14 acquires data indicating the state of a predetermined monitoring target item from the agent device 12. Then, by appropriately notifying the person in charge of the SNMP management system 10 of the status of the monitoring target item, the monitoring and operation of the SNMP management system 10 is supported.

エージェント装置12は、SNMPエージェントソフトウェアが搭載された、または、そのソフトウェアと同様の機能を提供する電子回路等のハードウェアが搭載されたSNMPのエージェント装置である。例えば、レイヤ2スイッチやルータ等の通信機器であってもよく、一般的なPC端末であってもよい。   The agent device 12 is an SNMP agent device in which SNMP agent software is installed or hardware such as an electronic circuit that provides the same function as the software is installed. For example, it may be a communication device such as a layer 2 switch or a router, or may be a general PC terminal.

エージェント装置12は、所定の監視対象項目の状態を通知するためのTRAPメッセージを自発的にマネージャ装置14へ通知する。例えば、エージェント装置12は、TRAPメッセージの通知条件が充足されたとき、典型的には、所定の監視対象項目についてその状態変化を検出したとき、その状態変化の内容を含むTRAPメッセージのデータをマネージャ装置14へ送信する。   The agent device 12 voluntarily notifies the manager device 14 of a TRAP message for notifying the state of a predetermined monitoring target item. For example, when the notification condition of the TRAP message is satisfied, typically, when the state change is detected for a predetermined monitoring target item, the agent device 12 manages the data of the TRAP message including the content of the state change. Transmit to device 14.

TRAPメッセージの送信に際して、エージェント装置12は、TRAP発行部においてTRAPメッセージを生成し、TRAP送信部においてそのTRAPメッセージをマネージャ装置14へ送信する。これまでのエージェント装置では、複数のTRAPメッセージそれぞれの送信処理がTRAP送信部において輻輳したとき、少なくとも1つのTRAPメッセージが廃棄された。その結果、マネージャ装置に対するTRAPメッセージの通知漏れが生じることがあった。以下、その具体例を示す。   When transmitting the TRAP message, the agent device 12 generates a TRAP message in the TRAP issuing unit, and transmits the TRAP message to the manager device 14 in the TRAP transmitting unit. In the agent apparatus so far, when the transmission processing of each of the plurality of TRAP messages is congested in the TRAP transmission unit, at least one TRAP message is discarded. As a result, a notification failure of the TRAP message to the manager device may occur. Specific examples are shown below.

図2は、TRAPメッセージの送信について従来の処理シーケンスを示す。ある監視対象項目に関する所定イベントの発生を検出すると、第1のTRAP発行部は、TRAPメッセージ#1を生成する。そして、そのTRAPメッセージ#1の送信依頼をTRAP送信部へ出力する(S10)。TRAP送信部は、TRAPメッセージ#1の送信処理を開始して、マネージャ装置のアドレスを解決するためのARP(Address Resolution Protocol)リクエストをLAN側へ送出する(S12)。   FIG. 2 shows a conventional processing sequence for transmission of a TRAP message. When the occurrence of a predetermined event related to a certain monitoring target item is detected, the first TRAP issuing unit generates a TRAP message # 1. Then, the transmission request for the TRAP message # 1 is output to the TRAP transmission unit (S10). The TRAP transmission unit starts transmission processing of the TRAP message # 1, and sends an ARP (Address Resolution Protocol) request for resolving the address of the manager device to the LAN side (S12).

ここで、第2のTRAP発行部は、別の監視対象項目に関する所定イベントの発生を検出して、TRAPメッセージ#2の送信依頼をTRAP送信部へ出力する(S14)。TRAP送信部は、TRAPメッセージ#1の送信処理中にTRAPメッセージ#2の送信依頼を受け付けると、TRAPメッセージ#1を廃棄する(S16)。そして、TRAP送信部は、ARPリプライを受け付けて、TRAPメッセージ#2をLAN側へ送出することにより、TRAPメッセージ#2をマネージャ装置へ送信する(S18)。   Here, the second TRAP issuing unit detects the occurrence of a predetermined event related to another monitoring target item, and outputs a request for transmitting the TRAP message # 2 to the TRAP transmitting unit (S14). When receiving the request for transmitting the TRAP message # 2 during the transmission process of the TRAP message # 1, the TRAP transmitting unit discards the TRAP message # 1 (S16). Then, the TRAP transmission unit receives the ARP reply and transmits the TRAP message # 2 to the LAN by sending the TRAP message # 2 to the LAN side (S18).

また、このようなTRAPメッセージ廃棄の問題は、1つのTRAP発行部が短時間のうちに複数のTRAPメッセージを生成した場合にも生じていた。この例を図3で説明する。   Further, such a problem of discarding the TRAP message also occurs when one TRAP issuing unit generates a plurality of TRAP messages within a short time. This example will be described with reference to FIG.

図3は、TRAPメッセージの送信について従来の処理シーケンスを示す。第1のTRAP発行部はTRAPメッセージ#1の送信依頼をTRAP送信部へ出力し(S20)、TRAP送信部はARPリクエストをLAN側へ送出する(S22)。ここで、第1のTRAP発行部は、別のイベントの発生を検出して、TRAPメッセージ#2の送信依頼をTRAP送信部へ出力する(S24)。TRAP送信部は、TRAPメッセージ#1の送信処理中にTRAPメッセージ#2の送信依頼を受け付けると、TRAPメッセージ#1を廃棄する(S26)。そして、TRAP送信部は、ARPリプライを受け付けて、TRAPメッセージ#2をLAN側へ送出する(S28)。   FIG. 3 shows a conventional processing sequence for transmission of a TRAP message. The first TRAP issuing unit outputs a transmission request for TRAP message # 1 to the TRAP transmitting unit (S20), and the TRAP transmitting unit transmits an ARP request to the LAN side (S22). Here, the first TRAP issuing unit detects the occurrence of another event, and outputs a transmission request for the TRAP message # 2 to the TRAP transmitting unit (S24). When receiving the request for transmitting the TRAP message # 2 during the transmission process of the TRAP message # 1, the TRAP transmitting unit discards the TRAP message # 1 (S26). Then, the TRAP transmission unit accepts the ARP reply and sends TRAP message # 2 to the LAN side (S28).

なお、TRAP送信部にTRAPメッセージを保持するバッファを設けることで、TRAP送信部におけるTRAPメッセージ送信処理の輻輳を回避することも考えられる。この態様の場合、第1のTRAP発行部および第2のTRAP発行部は、マネージャ装置へ通知すべきTRAPメッセージをこのバッファに格納する。そして、TRAP送信部は、このバッファからTRAPメッセージを順次取得してマネージャ装置へ送信する。   It is also conceivable to avoid congestion of the TRAP message transmission process in the TRAP transmission unit by providing a buffer for holding the TRAP message in the TRAP transmission unit. In the case of this aspect, the first TRAP issuing unit and the second TRAP issuing unit store the TRAP message to be notified to the manager device in this buffer. Then, the TRAP transmission unit sequentially acquires TRAP messages from this buffer and transmits them to the manager device.

しかし、この態様では、TRAP送信部は常にバッファからTRAPメッセージを取得するため、バッファに対するアクセス時間がオーバーヘッドとして生じることとなる。また、TRAP送信部は、TRAPメッセージの送信処理を一元的に行うため処理負荷が比較的高いが、バッファの空き状態等の管理処理を加重して実行する場合、その処理負荷はさらに高くなってしまう。また、TRAP送信部の実装規模、例えば回路規模が大きくなってしまうことがあった。   However, in this aspect, since the TRAP transmission unit always obtains the TRAP message from the buffer, access time to the buffer occurs as overhead. In addition, the TRAP transmission unit performs a TRAP message transmission process in a centralized manner, so the processing load is relatively high. However, when a management process such as a buffer free state is weighted and executed, the processing load becomes even higher End up. Moreover, the mounting scale of the TRAP transmission unit, for example, the circuit scale may be increased.

このようなTRAPメッセージ廃棄の問題を解決するために、本実施の形態のエージェント装置12においては、そのTRAP送信部が、随時、自身の動作状態をTRAP発行部へ通知する。TRAP発行部は、TRAP送信部がアイドル状態であることを条件として、TRAPメッセージの送信依頼をTRAP送信部へ出力する。これにより、TRAP送信部において複数のTRAPメッセージの送信処理が輻輳することを回避でき、マネージャ装置に対してTRAPメッセージを漏れなく送信可能となる。また、エージェント装置12においては、個々のTRAP発行部にバッファを設けることで、TRAPメッセージの送信依頼の一時的な保留と、TRAP送信部における処理負荷の増大防止との両方を実現する。   In order to solve such a problem of discarding the TRAP message, in the agent device 12 according to the present embodiment, the TRAP transmission unit notifies the TRAP issuing unit of its operation state at any time. The TRAP issuing unit outputs a TRAP message transmission request to the TRAP transmitting unit on condition that the TRAP transmitting unit is in an idle state. Thereby, it is possible to avoid congestion of transmission processing of a plurality of TRAP messages in the TRAP transmission unit, and it is possible to transmit TRAP messages to the manager device without omission. Further, in the agent device 12, by providing a buffer in each TRAP issuing unit, both temporary holding of a TRAP message transmission request and prevention of an increase in processing load in the TRAP transmitting unit are realized.

図4は、図1のエージェント装置12の機能構成を示すブロック図である。本明細書のブロック図において示される各ブロックは、ハードウェア的には、コンピュータのCPUをはじめとする素子や機械装置で実現でき、ソフトウェア的にはコンピュータプログラム等によって実現されるが、ここでは、それらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックはハードウェア、ソフトウェアの組合せによっていろいろなかたちで実現できることは、当業者には理解されるところである。   FIG. 4 is a block diagram showing a functional configuration of the agent device 12 of FIG. Each block shown in the block diagram of the present specification can be realized in terms of hardware by an element such as a CPU of a computer or a mechanical device, and in terms of software, it can be realized by a computer program or the like. The functional block realized by those cooperation is drawn. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by a combination of hardware and software.

エージェント装置12は、TRAP発行部30で総称される第1のTRAP発行部30a、第2のTRAP発行部30bと、TRAP送信部20とを備える。TRAP送信部20は、マネージャ装置14に対するTRAPメッセージの送信処理を実行する。TRAP送信部20は、送信実行部22と、状態通知部24とを有する。   The agent device 12 includes a first TRAP issuing unit 30a, a second TRAP issuing unit 30b, and a TRAP transmitting unit 20, which are collectively referred to as a TRAP issuing unit 30. The TRAP transmission unit 20 executes a TRAP message transmission process for the manager device 14. The TRAP transmission unit 20 includes a transmission execution unit 22 and a state notification unit 24.

送信実行部22は、TRAP発行部30からTRAPメッセージの送信依頼データを受け付ける。そして、その送信依頼データに含まれるTRAPメッセージのデータを、LAN16を介して、マネージャ装置14へ送信する。   The transmission execution unit 22 receives the transmission request data of the TRAP message from the TRAP issuing unit 30. Then, the TRAP message data included in the transmission request data is transmitted to the manager device 14 via the LAN 16.

状態通知部24は、送信実行部22の動作状態を示す状態データにより、後述するTRAP発行部30の状態レジスタ32における記憶データを随時上書き更新する。この状態データは、TRAPメッセージの送信処理中でない状態を示す「アイドル状態」と、TRAPメッセージの送信処理中を示す「送信処理中状態」とのいずれかを示す。具体的には、状態通知部24は、送信実行部22の動作状態について、アイドル状態から送信処理中状態への移行、もしくは、送信処理中状態からアイドル状態への移行を検出したときに、移行後の動作状態を状態レジスタ32へ随時記録する。   The status notification unit 24 overwrites and updates data stored in a status register 32 of the TRAP issuing unit 30 to be described later with status data indicating the operation status of the transmission execution unit 22. This state data indicates either an “idle state” indicating that the TRAP message is not being transmitted or a “transmission state” indicating that the TRAP message is being transmitted. Specifically, the state notification unit 24 changes the operation state of the transmission execution unit 22 when detecting the transition from the idle state to the transmission processing state or the transition from the transmission processing state to the idle state. The subsequent operation state is recorded in the state register 32 as needed.

TRAP発行部30は、マネージャ装置14へ通知すべきTRAPメッセージの生成処理を実行する。第1のTRAP発行部30aは、第1の監視対象項目に関するTRAPメッセージ(以下、「TRAPメッセージ#1」とも呼ぶ。)を生成する。第2のTRAP発行部30bは、第2の監視対象項目に関するTRAPメッセージ(以下、「TRAPメッセージ#2」とも呼ぶ。)を生成する。   The TRAP issuing unit 30 executes a TRAP message generation process to be notified to the manager device 14. The first TRAP issuing unit 30a generates a TRAP message related to the first monitoring target item (hereinafter also referred to as “TRAP message # 1”). The second TRAP issuing unit 30b generates a TRAP message related to the second monitoring target item (hereinafter also referred to as “TRAP message # 2”).

TRAP発行部30は、状態レジスタ32と、TRAPバッファ34と、TRAP契機検出部36と、TRAP生成部38と、送信依頼部40とを有する。状態レジスタ32は、TRAP送信部20の動作状態を示すフラグを記憶するレジスタであり、少なくとも1ビットを記憶する。例えば、フラグ「0」はTRAP送信部20がアイドル状態であることを示し、フラグ「1」はTRAP送信部20が送信処理中状態であることを示してもよい。TRAPバッファ34は、TRAPメッセージのデータを一時的に記憶する記憶領域である。   The TRAP issuing unit 30 includes a status register 32, a TRAP buffer 34, a TRAP trigger detection unit 36, a TRAP generation unit 38, and a transmission request unit 40. The status register 32 is a register that stores a flag indicating the operation state of the TRAP transmission unit 20, and stores at least one bit. For example, the flag “0” may indicate that the TRAP transmission unit 20 is in an idle state, and the flag “1” may indicate that the TRAP transmission unit 20 is in a transmission processing state. The TRAP buffer 34 is a storage area for temporarily storing TRAP message data.

TRAP契機検出部36は、TRAPメッセージ通知の条件となる所定イベントの発生、具体的には、所定の監視対象項目における所定の状態変化をマネージャ装置14に対するTRAPメッセージの通知契機として検出する。そして、その状態変化を示すデータを含むTRAPメッセージの生成要求をTRAP生成部38へ送出する。例えば、外部装置との接続状態を監視対象項目とする場合、外部装置とのリンク断が発生したことをTRAPメッセージの通知契機として検出してもよい。また、ラインカードの動作状態を監視対象項目とする場合、ラインカードにおける故障の発生をTRAPメッセージの通知契機として検出してもよい。   The TRAP trigger detection unit 36 detects the occurrence of a predetermined event as a TRAP message notification condition, specifically, a predetermined state change in a predetermined monitoring target item as a TRAP message notification trigger for the manager device 14. Then, a TRAP message generation request including data indicating the state change is transmitted to the TRAP generation unit 38. For example, when the connection state with the external device is set as the monitoring target item, the occurrence of the link disconnection with the external device may be detected as a TRAP message notification trigger. Further, when the operation state of the line card is set as a monitoring target item, the occurrence of a failure in the line card may be detected as a TRAP message notification trigger.

TRAP生成部38は、TRAPメッセージの生成要求をTRAP契機検出部36から受け付ける。そして、監視対象項目の状態変化の内容を、あらかじめ定められた形式のTRAPメッセージのデータとして設定することにより、マネージャ装置14へ通知すべきTRAPメッセージを生成する。   The TRAP generation unit 38 receives a TRAP message generation request from the TRAP trigger detection unit 36. Then, by setting the contents of the state change of the monitoring target item as data of a TRAP message in a predetermined format, a TRAP message to be notified to the manager device 14 is generated.

送信依頼部40は、マネージャ装置14へ通知すべきTRAPメッセージがTRAP生成部38において生成されると、状態レジスタ32を参照して、TRAP送信部20の動作状態を識別する。TRAP送信部20がアイドル状態である場合、送信依頼部40は、マネージャ装置14へ通知すべきTRAPメッセージを含むその送信依頼のデータを送信実行部22へ出力する。TRAP送信部20が送信処理中状態である場合、送信依頼部40は、送信実行部22に対するTRAPメッセージの送信依頼を保留し、そのTRAPメッセージのデータをTRAPバッファ34へ記録する。   When a TRAP message to be notified to the manager device 14 is generated in the TRAP generation unit 38, the transmission request unit 40 refers to the state register 32 and identifies the operation state of the TRAP transmission unit 20. When the TRAP transmission unit 20 is in the idle state, the transmission request unit 40 outputs the transmission request data including the TRAP message to be notified to the manager device 14 to the transmission execution unit 22. When the TRAP transmission unit 20 is in the transmission processing state, the transmission request unit 40 suspends the TRAP message transmission request to the transmission execution unit 22 and records the data of the TRAP message in the TRAP buffer 34.

また送信依頼部40は、TRAPバッファ34を定期的に参照して、TRAPバッファ34に保持されたTRAPメッセージの有無を定期的に判定する。そして、TRAPバッファ34にTRAPメッセージが保持され、かつ、TRAP送信部20がアイドル状態であるとき、TRAPバッファ34からTRAPメッセージを取得して、その送信依頼のデータを送信実行部22へ出力する。   The transmission request unit 40 periodically refers to the TRAP buffer 34 and periodically determines whether there is a TRAP message held in the TRAP buffer 34. When the TRAP message is held in the TRAP buffer 34 and the TRAP transmission unit 20 is in the idle state, the TRAP message is acquired from the TRAP buffer 34 and the transmission request data is output to the transmission execution unit 22.

以上の構成による動作を以下説明する。
図5は、図4のエージェント装置12の動作を示すフローチャートである。同図は、TRAP送信部20の処理フローを示している。送信実行部22は、送信依頼部40からTRAPメッセージの送信依頼を受け付ける(S30)。状態通知部24は、送信実行部22の送信処理中状態を示すフラグを状態レジスタ32へ設定する(S32)。送信実行部22は、マネージャ装置14に対してTRAPメッセージのデータを送信する(S34)。送信処理が完了すると、状態通知部24は、送信実行部22のアイドル状態を示すフラグを状態レジスタ32へ設定する(S36)。
The operation of the above configuration will be described below.
FIG. 5 is a flowchart showing the operation of the agent device 12 of FIG. The figure shows a processing flow of the TRAP transmission unit 20. The transmission execution unit 22 receives a TRAP message transmission request from the transmission request unit 40 (S30). The state notification unit 24 sets a flag indicating the transmission processing state of the transmission execution unit 22 in the state register 32 (S32). The transmission execution unit 22 transmits TRAP message data to the manager device 14 (S34). When the transmission process is completed, the state notification unit 24 sets a flag indicating the idle state of the transmission execution unit 22 in the state register 32 (S36).

図6は、図4のエージェント装置12の動作を示すフローチャートである。同図は、TRAP発行部30の処理フローを示している。TRAP契機検出部36は、TRAPメッセージ通知のトリガとなる所定イベントの発生を検出する(S40)。TRAP生成部38は、検出されたイベントの内容を示すTRAPメッセージのデータを生成する(S42)。送信依頼部40は、状態レジスタ32を参照して、送信実行部22の動作状態を特定する。送信実行部22がアイドル状態である場合(S44のY)、送信依頼部40は、TRAPメッセージの送信依頼を送信実行部22へ直ちに送出する(S46)。送信実行部22が送信処理中状態である場合(S44のN)、送信依頼部40は、TRAPメッセージの送信依頼の送出に代えて、そのTRAPメッセージをTRAPバッファ34へ記録する(S48)。   FIG. 6 is a flowchart showing the operation of the agent device 12 of FIG. The figure shows a processing flow of the TRAP issuing unit 30. The TRAP trigger detection unit 36 detects the occurrence of a predetermined event that triggers a TRAP message notification (S40). The TRAP generator 38 generates TRAP message data indicating the content of the detected event (S42). The transmission request unit 40 refers to the status register 32 and identifies the operation state of the transmission execution unit 22. When the transmission execution unit 22 is in the idle state (Y in S44), the transmission request unit 40 immediately sends a transmission request for the TRAP message to the transmission execution unit 22 (S46). When the transmission execution unit 22 is in a transmission processing state (N in S44), the transmission request unit 40 records the TRAP message in the TRAP buffer 34 instead of sending out a TRAP message transmission request (S48).

図7は、図4のエージェント装置12の動作を示すフローチャートである。同図は、TRAP発行部30において定期的に実行される処理フローを示している。送信依頼部40は、TRAPバッファ34を定期的に参照し、TRAPメッセージが保持されているか否かを判定する。TRAPバッファ34にTRAPメッセージが保持されており(S50のY)、送信実行部22がアイドル状態である場合(S52のY)、送信依頼部40は、TRAPバッファ34に保持されたTRAPメッセージの送信依頼を送信実行部22へ送出する。TRAPバッファ34にTRAPメッセージが保持されておらず(S50のN)、もしくは、送信実行部22が送信処理中状態である場合(S52のN)、図7の処理フローを終了する。   FIG. 7 is a flowchart showing the operation of the agent device 12 of FIG. This figure shows a processing flow that is periodically executed in the TRAP issuing unit 30. The transmission request unit 40 periodically refers to the TRAP buffer 34 and determines whether or not a TRAP message is held. When the TRAP message is held in the TRAP buffer 34 (Y in S50) and the transmission execution unit 22 is in the idle state (Y in S52), the transmission request unit 40 transmits the TRAP message held in the TRAP buffer 34. The request is sent to the transmission execution unit 22. If the TRAP message is not held in the TRAP buffer 34 (N in S50) or the transmission execution unit 22 is in the transmission processing state (N in S52), the processing flow of FIG.

図8は、TRAPメッセージの送信について本実施の形態の処理シーケンスを示す。第1のTRAP発行部30aは、ある監視対象項目に関する所定イベントの発生を検出すると、TRAPメッセージ#1を生成する。そして、そのTRAPメッセージ#1の送信依頼をTRAP送信部20へ出力する(S60)。TRAP送信部20は、TRAPメッセージ#1の送信処理を開始する際に、送信処理中である旨を第1のTRAP発行部30aおよび第2のTRAP発行部30bへ通知する(S62)。具体的には、送信処理中状態を示すフラグデータを第1のTRAP発行部30aおよび第2のTRAP発行部30bの状態レジスタ32へ記録する。TRAP送信部20は、TRAPメッセージ#1の送信処理においてARPリクエストをLAN側へ送出する(S64)。   FIG. 8 shows a processing sequence of the present embodiment regarding transmission of a TRAP message. When the first TRAP issuing unit 30a detects occurrence of a predetermined event related to a certain monitoring target item, the first TRAP issuing unit 30a generates a TRAP message # 1. Then, the transmission request for the TRAP message # 1 is output to the TRAP transmission unit 20 (S60). When starting the transmission processing of the TRAP message # 1, the TRAP transmission unit 20 notifies the first TRAP issuing unit 30a and the second TRAP issuing unit 30b that the transmission processing is being performed (S62). Specifically, flag data indicating a transmission processing in progress state is recorded in the status register 32 of the first TRAP issuing unit 30a and the second TRAP issuing unit 30b. The TRAP transmission unit 20 transmits an ARP request to the LAN side in the transmission process of the TRAP message # 1 (S64).

ここで、第2のTRAP発行部30bは、別の監視対象項目に関する所定イベントの発生を検出して、TRAPメッセージ#2を生成する。そして、TRAP送信部20が送信処理中状態であると判別して、TRAPメッセージ#2をTRAPバッファ34へ記録する(S66)。TRAP送信部20は、ARPリプライを受け付けて、TRAPメッセージ#1をマネージャ装置14へ送信する(S68)。TRAPメッセージ#1の送信処理が完了すると、TRAP送信部20は、アイドル状態である旨を第1のTRAP発行部30aおよび第2のTRAP発行部30bへ通知する(S70)。   Here, the second TRAP issuing unit 30b detects the occurrence of a predetermined event related to another monitoring target item, and generates a TRAP message # 2. Then, it is determined that the TRAP transmission unit 20 is in a transmission processing state, and the TRAP message # 2 is recorded in the TRAP buffer 34 (S66). The TRAP transmission unit 20 receives the ARP reply and transmits the TRAP message # 1 to the manager device 14 (S68). When the transmission process of the TRAP message # 1 is completed, the TRAP transmission unit 20 notifies the first TRAP issuing unit 30a and the second TRAP issuing unit 30b that the TRAP message # 1 is in an idle state (S70).

続いて、第2のTRAP発行部30bは、TRAPバッファ34にTRAPメッセージ#2が保持されていること、および、TRAP送信部20がアイドル状態であることを検出して、TRAPメッセージ#2の送信依頼をTRAP送信部20へ出力する(S72)。TRAP送信部20は、TRAPメッセージ#2の送信処理を開始する際に、送信処理中である旨を第1のTRAP発行部30aおよび第2のTRAP発行部30bへ通知する(S74)。以降、TRAPメッセージ#2の送信処理が実行される。   Subsequently, the second TRAP issuing unit 30b detects that the TRAP message # 2 is held in the TRAP buffer 34 and that the TRAP transmitting unit 20 is in an idle state, and transmits the TRAP message # 2. The request is output to the TRAP transmitter 20 (S72). When starting the transmission processing of the TRAP message # 2, the TRAP transmission unit 20 notifies the first TRAP issuing unit 30a and the second TRAP issuing unit 30b that the transmission processing is in progress (S74). Thereafter, the TRAP message # 2 transmission process is executed.

本実施の形態のエージェント装置12によれば、TRAP送信部20の動作状態がTRAP発行部30へ随時通知される。TRAP発行部30は、TRAP送信部20がアイドル状態であることを条件として、TRAPメッセージの送信をTRAP送信部20へ依頼する。これにより、TRAP送信部20において複数のTRAPメッセージの送信処理が輻輳することを回避できる。また、TRAP発行部30側でTRAPバッファ34を保持することにより、TRAP送信部20におけるバッファ管理が不要となる。また、TRAP送信部20がアイドル状態であれば、TRAPバッファ34へのアクセスそのものが不要となる。すなわち、バッファへのアクセス回数が低減されてエージェント装置12の処理性能を向上できる。   According to the agent device 12 of the present embodiment, the operating state of the TRAP transmitting unit 20 is notified to the TRAP issuing unit 30 as needed. The TRAP issuing unit 30 requests the TRAP transmitting unit 20 to transmit a TRAP message on condition that the TRAP transmitting unit 20 is in an idle state. Thereby, it is possible to avoid congestion of transmission processing of a plurality of TRAP messages in the TRAP transmission unit 20. Also, holding the TRAP buffer 34 on the TRAP issuing unit 30 side eliminates the need for buffer management in the TRAP transmitting unit 20. Further, when the TRAP transmission unit 20 is in an idle state, access to the TRAP buffer 34 is not necessary. That is, the number of accesses to the buffer is reduced, and the processing performance of the agent device 12 can be improved.

以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are also within the scope of the present invention. is there.

変形例を説明する。複数のTRAP発行部30のそれぞれには、TRAP送信部20に対してTRAPメッセージの送信依頼を出力可能な期間として、互いに異なるタイムスロットがあらかじめ割り当てられてもよい。このタイムスロットは、所定の単位時間を複数区間に分割したものであってもよい。この場合、複数のTRAP発行部30それぞれの送信依頼部40は、自身に割り当てられたタイムスロットにおいて、送信実行部22の動作状態を識別し、送信実行部22に対してTRAPメッセージの送信依頼を実行する。   A modification will be described. Different time slots may be assigned to each of the plurality of TRAP issuing units 30 as periods during which a TRAP message transmission request can be output to the TRAP transmitting unit 20. This time slot may be obtained by dividing a predetermined unit time into a plurality of sections. In this case, the transmission request unit 40 of each of the plurality of TRAP issuing units 30 identifies the operation state of the transmission execution unit 22 in the time slot allocated to itself, and requests the transmission execution unit 22 to transmit a TRAP message. Run.

さらに、複数のTRAP発行部30のそれぞれに割り当てられるタイムスロットの間には、いずれのTRAP発行部30にもTRAPメッセージの送信依頼が許容されない依頼不可期間が設定されてもよい。この依頼不可期間は、TRAP発行部30からTRAP送信部20へTRAPメッセージの送信依頼が出力されて、TRAP送信部20からTRAP発行部30へ送信処理中状態が通知されるまでの期間以上であることが望ましい。この変形例によれば、複数のTRAP発行部30のそれぞれにおいてTRAPメッセージが同時に生成された場合でも、TRAP送信部20においてTRAPメッセージの送信処理が輻輳することをより確実に回避できる。   Further, between the time slots assigned to each of the plurality of TRAP issuing units 30, a request impossible period in which no TRAP issuing unit 30 is allowed to transmit a TRAP message may be set. This request impossible period is equal to or longer than a period from when a TRAP message transmission request is output from the TRAP issuing unit 30 to the TRAP transmitting unit 20 until a transmission processing status is notified from the TRAP transmitting unit 20 to the TRAP issuing unit 30. It is desirable. According to this modification, even when a TRAP message is simultaneously generated in each of the plurality of TRAP issuing units 30, it is possible to more reliably avoid congestion of the TRAP message transmission processing in the TRAP transmitting unit 20.

請求項に記載の各構成要件が果たすべき機能は、実施の形態および変形例において示された各構成要素の単体もしくはそれらの連携によって実現されることも当業者には理解されるところである。   It should also be understood by those skilled in the art that the functions to be fulfilled by the constituent elements described in the claims are realized by the individual constituent elements shown in the embodiments and the modification examples or by their cooperation.

10 SNMP管理システム、 12 エージェント装置、 14 マネージャ装置、 20 TRAP送信部、 22 送信実行部、 24 状態通知部、 30 TRAP発行部、 32 状態レジスタ、 34 TRAPバッファ、 36 TRAP契機検出部、 38 TRAP生成部、 40 送信依頼部。   10 SNMP management system, 12 agent device, 14 manager device, 20 TRAP transmission unit, 22 transmission execution unit, 24 status notification unit, 30 TRAP issue unit, 32 status register, 34 TRAP buffer, 36 TRAP trigger detection unit, 38 TRAP generation Part, 40 transmission request part.

本発明は、機器の動作状態をSNMPにより管理するシステムにおいて利用できる。   The present invention can be used in a system that manages the operation state of a device by SNMP.

Claims (3)

機器の動作状態をSNMP(Simple Network Management Protocol)により管理するマネージャ装置と接続されたエージェント装置であって、
監視対象項目が互いに異なり、TRAPメッセージの通知条件が充足されたとき、前記マネージャ装置へ通知すべきTRAPメッセージを生成する複数のTRAP発行部と、
前記複数のTRAP発行部のそれぞれにおいて生成されたTRAPメッセージを前記マネージャ装置へ送信するTRAP送信部と、
を備え、
前記TRAP送信部は、複数のTRAPメッセージの処理が輻輳した場合、当該複数のTRAPメッセージのうち少なくとも1つの処理を中止するものであり、
前記複数のTRAP発行部のそれぞれは、
前記TRAP送信部がTRAPメッセージの処理中である場合に、前記TRAP送信部へ出力すべきTRAPメッセージを保持するためのバッファを含み、
前記TRAP送信部が他のTRAPメッセージの処理中である場合、前記TRAP送信部へ出力すべきTRAPメッセージを前記バッファへ記録し、
前記TRAP送信部の動作状態がTRAPメッセージの処理中からアイドル状態へ移行した場合、前記バッファに保持されたTRAPメッセージを前記TRAP送信部へ出力することを特徴とするSNMPエージェント装置。
An agent device connected to a manager device that manages the operation state of the device by SNMP (Simple Network Management Protocol),
A plurality of TRAP issuing units for generating a TRAP message to be notified to the manager device when the monitoring target items are different from each other and the notification condition of the TRAP message is satisfied;
A TRAP transmitter that transmits the TRAP message generated in each of the plurality of TRAP issuing units to the manager device;
With
The TRAP transmission unit, when processing of a plurality of TRAP messages is congested, stops at least one of the plurality of TRAP messages,
Each of the plurality of TRAP issuing units is
A buffer for holding a TRAP message to be output to the TRAP transmitter when the TRAP transmitter is processing a TRAP message;
If the TRAP transmitter is processing another TRAP message, record the TRAP message to be output to the TRAP transmitter in the buffer,
An SNMP agent device that outputs the TRAP message held in the buffer to the TRAP transmission unit when the operation state of the TRAP transmission unit shifts from the processing of the TRAP message to the idle state .
前記TRAP送信部は、自身の動作状態が変化したことを契機として、その動作状態を前記複数のTRAP発行部のそれぞれへ通知し、
前記複数のTRAP発行部のそれぞれは、前記TRAP送信部からの通知内容を参照して、前記TRAP送信部がアイドル状態であるか否かを検出することを特徴とする請求項1に記載のSNMPエージェント装置。
The TRAP transmission unit notifies each of the plurality of TRAP issuing units of the operation state triggered by a change in its operation state,
2. The SNMP according to claim 1, wherein each of the plurality of TRAP issuing units detects whether or not the TRAP transmitting unit is in an idle state with reference to a notification content from the TRAP transmitting unit. Agent device.
機器の動作状態をSNMPにより管理するマネージャ装置と接続されたエージェント装置が実行するSNMPエージェント制御方法であって、
監視対象項目が互いに異なる複数のTRAP発行部のそれぞれが、TRAPメッセージの通知条件が充足されたとき、前記マネージャ装置へ通知すべきTRAPメッセージを生成するステップと、
TRAP送信部が、前記複数のTRAP発行部のそれぞれにおいて生成されたTRAPメッセージを前記マネージャ装置へ送信するステップと、
を備え、
前記TRAP送信部は、複数のTRAPメッセージの処理が輻輳した場合、当該複数のTRAPメッセージのうち少なくとも1つの処理を中止するものであり、
前記複数のTRAP発行部のそれぞれが、前記TRAP送信部が他のTRAPメッセージの処理中である場合、前記TRAP送信部へ出力すべきTRAPメッセージを自身に設けられたバッファへ記録するステップと、
前記複数のTRAP発行部のそれぞれが、前記TRAP送信部の動作状態がTRAPメッセージの処理中からアイドル状態へ移行した場合、前記バッファに保持されたTRAPメッセージを前記TRAP送信部へ出力するステップと、
をさらに備えることを特徴とするSNMPエージェント制御方法。
An SNMP agent control method executed by an agent device connected to a manager device that manages an operation state of a device by SNMP ,
And Step monitored item, each of a plurality of different TRAP issuing unit together, when the notification condition of TRAP message is satisfied, to generate a TRAP message to be notified to the prior Symbol manager device,
A TRAP transmitting unit transmitting a TRAP message generated in each of the plurality of TRAP issuing units to the manager device;
With
The TRAP transmission unit, when processing of a plurality of TRAP messages is congested, stops at least one of the plurality of TRAP messages,
Each of the plurality of TRAP issuing units records a TRAP message to be output to the TRAP transmitting unit in a buffer provided therein when the TRAP transmitting unit is processing another TRAP message;
Each of the plurality of TRAP issuing units outputs the TRAP message held in the buffer to the TRAP transmitting unit when the operating state of the TRAP transmitting unit shifts from the processing of the TRAP message to the idle state;
Further comprising SNMP agent control method comprising Rukoto a.
JP2011522631A 2009-07-17 2009-07-17 SNMP agent device and SNMP agent control method Expired - Fee Related JP5186043B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/003390 WO2011007399A1 (en) 2009-07-17 2009-07-17 Snmp agent device and snmp agent control method

Publications (2)

Publication Number Publication Date
JPWO2011007399A1 JPWO2011007399A1 (en) 2012-12-20
JP5186043B2 true JP5186043B2 (en) 2013-04-17

Family

ID=43449020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011522631A Expired - Fee Related JP5186043B2 (en) 2009-07-17 2009-07-17 SNMP agent device and SNMP agent control method

Country Status (2)

Country Link
JP (1) JP5186043B2 (en)
WO (1) WO2011007399A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143800A (en) * 1997-11-05 1999-05-28 Nec Corp Communication flow control system for computer and method therefor and recording medium
JP2000347712A (en) * 1999-03-30 2000-12-15 Fuji Electric Co Ltd Programmable controller
JP2004080397A (en) * 2002-08-19 2004-03-11 Nec Corp Snmp agent provided with lan monitor function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001025933A1 (en) * 1999-10-01 2001-04-12 Fujitsu Limited Manager agent model system
WO2008149455A1 (en) * 2007-06-08 2008-12-11 Fujitsu Limited Manager, agent, system and transmission control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143800A (en) * 1997-11-05 1999-05-28 Nec Corp Communication flow control system for computer and method therefor and recording medium
JP2000347712A (en) * 1999-03-30 2000-12-15 Fuji Electric Co Ltd Programmable controller
JP2004080397A (en) * 2002-08-19 2004-03-11 Nec Corp Snmp agent provided with lan monitor function

Also Published As

Publication number Publication date
JPWO2011007399A1 (en) 2012-12-20
WO2011007399A1 (en) 2011-01-20

Similar Documents

Publication Publication Date Title
US11689606B2 (en) Communication method, system and apparatus
US20100057901A1 (en) Network management system and node device and management apparatus thereof
KR101618989B1 (en) Method of failover for network device in software defined network environment
US20230324868A1 (en) Control system, local device, and remote device
JP2009265690A (en) Cluster system and program
JP5229007B2 (en) Monitoring system, network device, monitoring information providing method and program
CN110519337B (en) Node state judging and collecting method, state decision device and state collector
JP5186043B2 (en) SNMP agent device and SNMP agent control method
JP4566148B2 (en) Network communication monitoring system, network communication monitoring method, central device, relay device, and computer program
JP2012124871A (en) Congestion control program, information processing apparatus, and congestion control method
CN116647476A (en) Network management method, apparatus, computer device, storage medium, and program product
JP2008124977A (en) Method, apparatus, and program of message delivery
JP2006319381A (en) Method for transmitting urgent message
JP2011146989A (en) Monitoring and controlling system, device to be monitored and controlled, and server
JP4818338B2 (en) Monitoring server, network monitoring method
JP5378847B2 (en) Monitoring device
KR20210078115A (en) Apparatus and method for forwarding message of private branch exchange system
JP6497142B2 (en) Communication monitoring device, communication monitoring program, and communication monitoring method
JP5082147B2 (en) Multi-node system, inter-node switch, and data relay method
JP2016154307A (en) Data transfer program, data transfer device, and data transfer system
EP2673923B1 (en) Enhanced device discovery technology
CN114884794A (en) Communication method and device
CN118200396A (en) Request response method based on Kubernetes cluster
JP2018182689A (en) Network monitoring system, network monitoring method, alarm relay device, and alarm relay program
JP2020120239A (en) Monitoring device, communication system, monitoring method, and communication method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121217

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: 20130115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130118

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160125

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees