JP6659226B2 - Line monitoring system and line monitoring method - Google Patents

Line monitoring system and line monitoring method Download PDF

Info

Publication number
JP6659226B2
JP6659226B2 JP2015052513A JP2015052513A JP6659226B2 JP 6659226 B2 JP6659226 B2 JP 6659226B2 JP 2015052513 A JP2015052513 A JP 2015052513A JP 2015052513 A JP2015052513 A JP 2015052513A JP 6659226 B2 JP6659226 B2 JP 6659226B2
Authority
JP
Japan
Prior art keywords
monitoring
ping
unit
monitoring target
transmission
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.)
Active
Application number
JP2015052513A
Other languages
Japanese (ja)
Other versions
JP2016173672A (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.)
NTT Data Corp
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East Corp
Original Assignee
NTT Data Corp
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East 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 NTT Data Corp, Nippon Telegraph and Telephone West Corp, Nippon Telegraph and Telephone East Corp filed Critical NTT Data Corp
Priority to JP2015052513A priority Critical patent/JP6659226B2/en
Publication of JP2016173672A publication Critical patent/JP2016173672A/en
Application granted granted Critical
Publication of JP6659226B2 publication Critical patent/JP6659226B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、回線監視装置、回線監視システム、回線監視方法、およびコンピュータプログラムに関する。   The present invention relates to a line monitoring device, a line monitoring system, a line monitoring method, and a computer program.

従来、多数の監視対象装置を、通信回線を介して監視する回線監視技術が知られている。回線監視技術の一つとして、通信技術を利用して多数の監視対象装置を監視することが知られている。この回線監視技術は、多数の監視対象装置とサーバ装置とを通信接続し、監視対象装置とサーバ装置との間で通信を行うことにより、監視対象装置の死活に関する情報の収集を行う。この回線監視技術は、例えばルータ等の中継装置、サーバ、およびデータベースを監視対象とする際に、応答を要求するパケットを送信して応答の有無を確認することにより装置が稼働していることを確認する。また、回線監視技術として、監視対象端末が接続されている回線をハード的に監視する方法が知られている(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, a line monitoring technique for monitoring a large number of monitored devices via a communication line has been known. As one of the line monitoring technologies, it is known to monitor a large number of monitoring target devices using a communication technology. This line monitoring technique collects information on the aliveness of a monitored device by connecting a large number of monitored devices and a server device for communication, and performing communication between the monitored device and the server device. This line monitoring technology, for example, when a relay device such as a router, a server, and a database are to be monitored, transmits a packet requesting a response and confirms whether the device is operating by transmitting a packet requesting a response. Confirm. Also, as a line monitoring technique, a method of hardware monitoring a line to which a monitoring target terminal is connected is known (for example, see Patent Document 1).

特開昭56−050680号公報JP-A-56-050680

しかしながら、上述の通信技術を利用した回線監視技術は、各監視対象装置を監視するために、サーバ装置において監視用パケットの送信処理から監視用パケットの受信処理までを一つの処理単位としている。すなわち、ある監視対象装置を監視するタイミングから監視用パケットの送信処理が起動し、その後、監視用パケットの受信処理により監視対象装置から監視用パケットを受信するまで待機状態となり、所定のタイムアウト時間が経過するまで待機状態を継続させる必要がある。この結果、サーバ装置においては、同時に実行することができる処理数の上限が抑圧されてしまい、1台当たりに監視することができる監視対象装置の上限を多くすることができないという問題がある。
また、上述した通信技術を利用して、監視に特化した専用のハードウェアを用いて監視している規模(例えば数百万台)の端末を当該ハードウェアにより監視可能な短い間隔で監視しようとすると、大量のサーバ装置を準備する必要がある。
However, in the line monitoring technology using the above-described communication technology, in order to monitor each monitoring target device, the processing from transmission of the monitoring packet to reception of the monitoring packet in the server is one processing unit. That is, the monitoring packet transmission process starts at the timing of monitoring a certain monitored device, and then enters a standby state until the monitoring packet is received from the monitored device by the monitoring packet receiving process, and a predetermined timeout time is set. It is necessary to continue the standby state until the lapse. As a result, in the server device, the upper limit of the number of processes that can be executed simultaneously is suppressed, and there is a problem that the upper limit of the monitoring target device that can be monitored per unit cannot be increased.
Also, by using the above-described communication technology, terminals of a scale (for example, millions) monitored using dedicated hardware dedicated to monitoring may be monitored at short intervals that can be monitored by the hardware. Then, it is necessary to prepare a large number of server devices.

本発明は上記の点に鑑みてなされたものであり、少ないサーバ装置で、より多くの監視対象装置を監視することができる回線監視装置、回線監視システム、回線監視方法、およびコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and provides a line monitoring device, a line monitoring system, a line monitoring method, and a computer program that can monitor more monitored devices with a small number of server devices. The purpose is to:

本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、監視対象装置に関連する情報を記憶する監視対象情報記憶部と、前記監視対象装置からの受信結果を前記監視対象装置に対応付けて記憶する受信結果情報記憶部と、前記監視対象情報記憶部に記憶された情報に基づいて、所定の監視周期において自装置に割り当てられた複数の監視対象装置に監視要求パケットを少なくとも1回送信する送信部と、前記送信部の動作に依存しないタイミングで前記各監視対象装置により送信された監視応答パケットを受信して取得し、前記監視応答パケットを取得したことに応じて前記受信結果を更新する受信部と、前記受信結果情報記憶部に記憶された受信結果に基づいて、前記各監視対象装置を監視する監視部と、を備える回線監視装置であって、前記監視部における前記監視対象装置の監視結果を送信する回線監視装置を複数備え、前記回線監視装置により送信された監視結果に基づいて、前記回線監視装置に割り当てる前記監視対象装置の監視数を調整するサーバ管理部と、を備える回線監視システムである。 SUMMARY An advantage of some aspects of the invention is that a monitoring target information storage unit that stores information related to a monitoring target device and a reception result from the monitoring target device are provided. A reception result information storage unit that stores the information in association with the monitored device; and monitors a plurality of monitored devices assigned to the own device in a predetermined monitoring cycle based on information stored in the monitored information storage unit. A transmitting unit that transmits the request packet at least once, and receiving and acquiring the monitoring response packet transmitted by each of the monitored devices at a timing independent of the operation of the transmitting unit, and acquiring the monitoring response packet. comprising a receiving unit configured to update the reception result corresponding to, on the basis of the stored reception result to the reception result information storage unit, and a monitoring unit for monitoring the respective monitoring target device A line monitoring device, comprising: a plurality of line monitoring devices for transmitting a monitoring result of the monitoring target device in the monitoring unit, wherein the monitoring assigned to the line monitoring device based on the monitoring result transmitted by the line monitoring device. And a server management unit that adjusts the monitoring number of the target device .

また、本発明の一態様は、上記の回線監視システムにおいて、前記監視対象情報記憶部には、複数の前記監視対象装置に関連する情報をリスト化した監視対象リストが記憶され、前記監視部は、前記監視対象リストに含まれる各監視対象情報を繰り返して取得して前記送信部の送信メモリに記憶させ、前記送信部は、前記監視周期内の所定の送信周期ごとに前記各監視対象装置に前記監視要求パケットを送信し、前記受信部は、前記監視周期および前記送信周期とは独立した受信周期ごとに前記監視応答パケットを取得する、ことを特徴とする。 Further, according to one aspect of the present invention, in the line monitoring system described above, the monitoring target information storage unit stores a monitoring target list listing information related to a plurality of the monitoring target devices, and the monitoring unit The monitoring target information included in the monitoring target list is repeatedly acquired and stored in the transmission memory of the transmission unit, and the transmission unit transmits the monitoring target information to the respective monitoring target devices for each predetermined transmission cycle within the monitoring cycle. The monitoring request packet is transmitted, and the receiving unit acquires the monitoring response packet at each reception period independent of the monitoring period and the transmission period.

また、本発明の一態様は、上記の回線監視システムにおいて、前記受信部は、前記監視応答パケットに含まれる前記監視要求パケットの送信時刻に基づいて前記監視応答パケットの応答時間を算出し、前記応答時間が閾値を超えていない場合には前記受信結果を前記受信結果情報記憶部に登録し、前記監視部は、前記受信結果情報記憶部における受信結果の有無に基づいて前記各監視対象装置を監視する、ことを特徴とする。 In one embodiment of the present invention, in the line monitoring system , the receiving unit calculates a response time of the monitoring response packet based on a transmission time of the monitoring request packet included in the monitoring response packet, When the response time does not exceed the threshold, the reception result is registered in the reception result information storage unit, and the monitoring unit checks each of the monitoring target devices based on the presence or absence of the reception result in the reception result information storage unit. Monitoring.

また、本発明の一態様は、監視対象装置に関連する情報を記憶する監視対象情報記憶部と、前記監視対象装置からの受信結果を前記監視対象装置に対応付けて記憶する受信結果情報記憶部と、を備える複数の回線監視装置と、サーバ管理部と、を含む回線監視システムにおける回線監視方法であって、各回線監視装置のコンピュータが、前記監視対象情報記憶部に記憶された情報に基づいて、所定の監視周期において自装置に割り当てられた複数の監視対象装置に監視要求パケットを少なくとも1回送信する送信処理を行うと共に、前記送信処理の動作に依存しないタイミングで前記各監視対象装置により送信された監視応答パケットを受信して取得し、前記監視応答パケットを取得したことに応じて前記受信結果を更新する受信処理を行い、前記受信結果情報記憶部に記憶された受信結果に基づいて、前記各監視対象装置を監視し、前記監視対象装置の監視結果を送信し、前記サーバ管理部のコンピュータが、前記回線監視装置により送信された監視結果に基づいて、前記回線監視装置に割り当てる前記監視対象装置の監視数を調整する、ことを特徴とする回線監視方法である。 According to one aspect of the present invention, a monitoring target information storage unit that stores information related to a monitoring target device, and a reception result information storage unit that stores reception results from the monitoring target device in association with the monitoring target device A line monitoring method in a line monitoring system including: a plurality of line monitoring devices including: a server management unit; and a computer of each line monitoring device, based on information stored in the monitoring target information storage unit. Performing a transmission process of transmitting a monitoring request packet at least once to a plurality of monitoring target devices assigned to the own device in a predetermined monitoring period, and performing a transmission process at a timing independent of the operation of the transmission process. Receiving and acquiring the transmitted monitoring response packet, and performing a receiving process of updating the reception result in response to acquiring the monitoring response packet Based on the reception result information storage unit in the stored reception result, monitoring the respective monitoring target apparatuses, and transmits the monitoring result of the previous SL monitored device, the server management unit of the computer, by the line monitoring device A line monitoring method, comprising: adjusting a monitoring number of the monitoring target device to be allocated to the line monitoring device based on a transmitted monitoring result.

本発明によれば、少ないサーバ装置で、より多くの監視対象装置を監視することができる。   According to the present invention, it is possible to monitor more monitoring target devices with a small number of server devices.

本発明の実施形態の回線監視システム1を示すブロック図である。FIG. 1 is a block diagram illustrating a line monitoring system 1 according to an embodiment of the present invention. 本発明の実施形態の回線監視サーバ100の構成を示すブロック図である。It is a block diagram showing composition of line monitoring server 100 of an embodiment of the present invention. 本発明を適用した回線監視サーバ100における監視対象情報の一例を示す図である。FIG. 3 is a diagram illustrating an example of monitoring target information in a line monitoring server 100 to which the present invention has been applied. 本発明を適用した回線監視サーバ100におけるPing結果情報の一例を示す図である。It is a figure showing an example of Ping result information in line monitoring server 100 to which the present invention is applied. 本発明を適用した回線監視サーバ100におけるPing送信情報の一例を示す図である。FIG. 14 is a diagram illustrating an example of Ping transmission information in the line monitoring server 100 to which the present invention has been applied. 本発明を適用した実施形態の回線監視サーバ100における監視処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the monitoring processing in the line monitoring server 100 of embodiment to which this invention is applied. 本発明を適用した実施形態の回線監視サーバ100におけるPing要求パケットの送信処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the transmission processing of the Ping request packet in the line monitoring server 100 of embodiment to which this invention is applied. 本発明を適用した実施形態の回線監視サーバ100におけるPing応答パケットの受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the reception processing of the Ping response packet in the line monitoring server 100 of embodiment which applied this invention. 本発明の実施形態の監視制御サーバ200における管理テーブルを示す図である。FIG. 4 is a diagram showing a management table in the monitoring control server 200 according to the embodiment of the present invention.

以下、本発明の実施形態としての回線監視装置、回線監視システム、回線監視方法、およびコンピュータプログラムを、図面を参照して説明する。図1は、本発明の実施形態の回線監視システム1の構成を示すブロック図である。
図1に示すように、回線監視システム1は、複数の回線監視サーバ100A、・・・、100Nと、監視制御サーバ200と、監視対象装置300A、・・・、300Nと、を備える。なお、以下の説明において、回線監視サーバを他と区別しない場合には「回線監視サーバ100」と記載し、監視対象装置を他と区別しない場合には単に「監視対象装置300」と記載する。
Hereinafter, a line monitoring device, a line monitoring system, a line monitoring method, and a computer program as embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a line monitoring system 1 according to an embodiment of the present invention.
As shown in FIG. 1, the line monitoring system 1 includes a plurality of line monitoring servers 100A,..., 100N, a monitoring control server 200, and monitored devices 300A,. In the following description, when the line monitoring server is not distinguished from the others, it is described as “line monitoring server 100”, and when the monitored device is not distinguished from the others, it is simply described as “monitored device 300”.

回線監視サーバ100は、自装置に割り当てられた複数の監視対象装置300を監視することにより、自装置と複数の監視対象装置300とを接続する通信回線を監視する。実施形態において、回線監視サーバ100Aには複数の監視対象装置300A、・・・、300Kが割り当てられ、回線監視サーバ100Nには複数の監視対象装置300K+1、・・・、300Nが割り当てられる。なお、本実施形態において回線監視サーバ100および監視対象装置300の台数を表す「K」および「N」は任意の整数である。各回線監視サーバ100が監視する対象としての監視対象装置300の割り当ては、監視制御サーバ200によって管理される。回線監視サーバ100は、自装置に割り当てられた監視対象装置300との間で通信を行うことにより監視結果を生成し、各監視対象装置300の監視結果を監視制御サーバ200に送信する。   The line monitoring server 100 monitors the communication lines connecting the own device and the plurality of monitored devices 300 by monitoring the plurality of monitored devices 300 assigned to the own device. In the embodiment, the line monitoring server 100A is assigned a plurality of monitored devices 300A,..., 300K, and the line monitoring server 100N is assigned a plurality of monitored devices 300K + 1,. In the present embodiment, “K” and “N” representing the numbers of the line monitoring server 100 and the monitoring target devices 300 are arbitrary integers. The assignment of the monitoring target device 300 to be monitored by each line monitoring server 100 is managed by the monitoring control server 200. The line monitoring server 100 generates a monitoring result by communicating with the monitoring target device 300 assigned to the own device, and transmits the monitoring result of each monitoring target device 300 to the monitoring control server 200.

図2は、本発明の実施形態の回線監視サーバ100の構成を示すブロック図である。回線監視サーバ100は、Ping送信処理部110と、Ping受信処理部120と、監視処理部130と、監視対象リスト記憶部140と、Ping結果情報リスト記憶部150と、を備える。なお、Ping送信処理部110、Ping受信処理部120、および監視処理部130は、演算回路および制御回路としてのCPU(Central Processing Unit)等のプロセッサが、メモリに記憶されたプログラムを実行することで機能するソフトウェア機能部であってもよいし、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェア機能部であってもよい。   FIG. 2 is a block diagram showing a configuration of the line monitoring server 100 according to the embodiment of the present invention. The line monitoring server 100 includes a Ping transmission processing unit 110, a Ping reception processing unit 120, a monitoring processing unit 130, a monitoring target list storage unit 140, and a Ping result information list storage unit 150. The Ping transmission processing unit 110, the Ping reception processing unit 120, and the monitoring processing unit 130 are configured such that a processor such as a CPU (Central Processing Unit) as an arithmetic circuit and a control circuit executes a program stored in a memory. It may be a functioning software function unit or a hardware function unit such as an LSI (Large Scale Integration) or an ASIC (Application Specific Integrated Circuit).

監視対象リスト記憶部140およびPing結果情報リスト記憶部150は、情報を記憶する記憶部であり、例えば、HDD(Hard Disc Drive)、フラッシュメモリ、EEPROM(Electrically Erasable Programmable Read Only Memory)等により実現される。監視対象リスト記憶部140とPing結果情報リスト記憶部150とは、回線監視サーバ100の記憶領域が別領域に区分されている。   The monitoring target list storage unit 140 and the ping result information list storage unit 150 are storage units that store information, and are realized by, for example, an HDD (Hard Disc Drive), a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), and the like. You. In the monitoring target list storage unit 140 and the ping result information list storage unit 150, the storage area of the line monitoring server 100 is divided into different areas.

監視対象リスト記憶部140には、複数の監視対象情報を含む監視対象リスト140aが記憶される(監視対象情報記憶部)。監視対象情報は、自装置に割り当てられた監視対象装置300ごとのPing(監視)に関する監視対象情報を保持している。監視対象情報には、監視対象装置300のIPアドレス、監視ステータス、前回Ping実行時刻、Ping実行ステータス、NG連続カウンタ、およびPingのシーケンス番号である。このPingのシーケンス番号は、回線監視サーバ100の内部で独自に生成している番号である。すなわち、監視対象情報におけるPingのシーケンス番号には、ICMP(Internet Control Message Protocol)シーケンスとは別に本回線監視サーバ100が送信する各Pingデータを特定するためのシーケンス番号が含まれる。   The monitoring target list storage unit 140 stores a monitoring target list 140a including a plurality of monitoring target information (monitoring target information storage unit). The monitoring target information holds monitoring target information related to Ping (monitoring) for each monitoring target device 300 assigned to the own device. The monitoring target information includes the IP address of the monitoring target device 300, the monitoring status, the previous Ping execution time, the Ping execution status, the NG continuous counter, and the Ping sequence number. The Ping sequence number is a number uniquely generated inside the line monitoring server 100. That is, the Ping sequence number in the monitoring target information includes a sequence number for specifying each ping data transmitted by the line monitoring server 100 separately from an ICMP (Internet Control Message Protocol) sequence.

監視対象情報に設定されるIPアドレスは、監視制御サーバ200におけるサーバ管理部210により送信されて、回線監視サーバ100の通信インターフェース(不図示)により受信される。監視対象リスト記憶部140は、受信したIPアドレスを監視対象情報におけるIPアドレスとして初期設定する。また、監視対象リスト記憶部140は、監視対象情報における前回Ping実行時刻を現在時刻から監視周期を差し引いた値にランダムな時刻を加算して初期設定する。   The IP address set in the monitoring target information is transmitted by the server management unit 210 in the monitoring control server 200 and received by the communication interface (not shown) of the line monitoring server 100. The monitoring target list storage unit 140 initializes the received IP address as the IP address in the monitoring target information. Also, the monitoring target list storage unit 140 initializes the previous Ping execution time in the monitoring target information by adding a random time to a value obtained by subtracting the monitoring cycle from the current time.

監視ステータスは、監視結果が正常であることを表す値(PingOK)と、監視結果が正常ではないことを表す値(PingNG)とに区別される。前回Ping実行時刻は、Ping要求パケット(監視要求パケット)が送信された時刻を表す。Ping実行ステータスは、Ping要求パケットを送信してPing応答パケット(監視応答パケット)の受信を待っているオン状態と、Ping要求パケットを送信した後にPing応答パケットを受信しているオフ状態とに区別される。NG連続カウンタは、Ping要求パケットの送信後にPingタイムアウト時間内にPing応答パケットが受信されなかった累計回数を示す。シーケンス番号は、Ping要求パケットおよびPing応答パケットを識別するための情報である。図3は、本発明を適用した回線監視サーバ100における監視対象情報の一例を示す図である。   The monitoring status is distinguished into a value (PingOK) indicating that the monitoring result is normal and a value (PingNG) indicating that the monitoring result is not normal. The previous Ping execution time indicates the time at which the Ping request packet (monitoring request packet) was transmitted. The Ping execution status is classified into an ON state in which a Ping request packet is transmitted and waiting for reception of a Ping response packet (monitoring response packet), and an OFF state in which a Ping response packet is received after transmitting the Ping request packet. Is done. The NG continuous counter indicates the total number of times that the Ping response packet has not been received within the Ping timeout period after the transmission of the Ping request packet. The sequence number is information for identifying a Ping request packet and a Ping response packet. FIG. 3 is a diagram illustrating an example of monitoring target information in the line monitoring server 100 to which the present invention has been applied.

Ping結果情報リスト記憶部150には、複数のPing結果情報を含むPing結果情報リスト150aが記憶される(受信結果情報記憶部)。Ping結果情報は、監視対象装置300からの受信結果を監視対象装置300に対応づけて記憶した情報である。本実施形態において、Ping結果情報には、監視対象装置300のIPアドレス、Ping応答時間、およびシーケンス番号が含まれる。Ping結果情報リスト150aは、Ping受信処理部120によって各Ping結果情報が更新される。また、Ping結果情報リスト150aは、自装置に監視処理スレッドとして起動された各監視処理部130によって各Ping結果情報が繰り返して読み込まれる。図4は、本発明を適用した回線監視サーバ100におけるPing結果情報の一例を示す図である。   The ping result information list storage unit 150 stores a ping result information list 150a including a plurality of ping result information (reception result information storage unit). The ping result information is information that stores a reception result from the monitored device 300 in association with the monitored device 300. In the present embodiment, the Ping result information includes the IP address of the monitoring target device 300, the Ping response time, and the sequence number. In the ping result information list 150a, each ping result information is updated by the ping reception processing unit 120. Further, the Ping result information list 150a is repeatedly read by the respective monitoring processing units 130 activated as monitoring processing threads in the own device. FIG. 4 is a diagram showing an example of Ping result information in the line monitoring server 100 to which the present invention has been applied.

Ping送信処理部110は、送信メモリ部112と、Pingパケット生成部114と、Pingパケット送信部116とを備える。送信メモリ部112は、例えば自装置の通信インターフェース回路に実装されたRAMである。Ping送信処理部110におけるPingパケット生成部114およびPingパケット送信部116は、自装置においてシングルスレッドとして起動された送信処理スレッドとして実現される。   Ping transmission processing section 110 includes transmission memory section 112, Ping packet generation section 114, and Ping packet transmission section 116. The transmission memory unit 112 is, for example, a RAM mounted on a communication interface circuit of the own device. The Ping packet generation unit 114 and the Ping packet transmission unit 116 in the Ping transmission processing unit 110 are realized as transmission processing threads started as a single thread in the own device.

送信メモリ部112には、監視処理部130からPing要求パケットに格納するPing送信情報としてのIPアドレス、Ping送信時間およびシーケンス情報が送信キューとして格納される。図5は、本発明を適用した回線監視サーバ100におけるPing送信情報の一例を示す図である。Pingパケット生成部114は、Ping送信情報を格納したPing要求パケットを生成する。Pingパケット送信部116は、送信ソケットを開き、Pingパケット生成部114により生成されたPing要求パケットを送信する。この所定の送信周期は、Ping応答パケットの受信周期とは独立した周期が設定されている。   The transmission memory unit 112 stores an IP address, Ping transmission time, and sequence information as Ping transmission information stored in the Ping request packet from the monitoring processing unit 130 as a transmission queue. FIG. 5 is a diagram showing an example of Ping transmission information in the line monitoring server 100 to which the present invention has been applied. The ping packet generation unit 114 generates a ping request packet storing ping transmission information. The ping packet transmission unit 116 opens the transmission socket and transmits the ping request packet generated by the ping packet generation unit 114. The predetermined transmission cycle is set to be independent of the reception cycle of the Ping response packet.

Ping受信処理部120は、受信メモリ部122と、受信結果処理部124とを備える。受信結果処理部124は、Ping結果取得部124aと、Ping結果分析部124bと、Ping結果登録部124cとを備える。受信メモリ部122は、例えば自装置の通信インターフェース回路に実装されたRAM(Random Access Memory)である。Ping受信処理部120における受信結果処理部124は、自装置においてマルチスレッドとして起動された複数の受信処理スレッドとして実現され、同時に複数の受信処理を実施する。   The ping reception processing unit 120 includes a reception memory unit 122 and a reception result processing unit 124. The reception result processing unit 124 includes a ping result acquisition unit 124a, a ping result analysis unit 124b, and a ping result registration unit 124c. The reception memory unit 122 is, for example, a RAM (Random Access Memory) mounted in a communication interface circuit of the own device. The reception result processing unit 124 in the ping reception processing unit 120 is realized as a plurality of reception processing threads started as a multithread in the own device, and performs a plurality of reception processes at the same time.

受信メモリ部122には、Ping受信処理部120により受信したPing応答パケットを受信キューとして記憶する。Ping結果取得部124aは、受信ソケットを開き、受信メモリ部122に受信キューとして記憶されたPing応答パケットを読み込む。Ping結果取得部124aは、Ping送信処理部110の動作に依存しないタイミングでPing応答パケットを受信して、取得する。Ping送信処理部110の動作に依存しないタイミングは、Ping送信処理部110とは独立したトリガによりPing応答パケットを受信する、またはPing送信処理部110の送信周期とは異なる周期でPing応答パケットを取得することである。   The reception memory unit 122 stores a Ping response packet received by the Ping reception processing unit 120 as a reception queue. The ping result acquisition unit 124a opens the reception socket and reads the ping response packet stored as the reception queue in the reception memory unit 122. The ping result acquisition unit 124a receives and acquires a ping response packet at a timing independent of the operation of the ping transmission processing unit 110. The timing that does not depend on the operation of the Ping transmission processing unit 110 is to receive a Ping response packet by a trigger independent of the Ping transmission processing unit 110, or to obtain a Ping response packet at a period different from the transmission period of the Ping transmission processing unit 110 It is to be.

本実施形態において、Ping結果取得部124aは、所定の受信周期でPing応答パケットを読み込む。この所定の受信周期は、Ping送信処理部110における所定の送信周期とは独立した周期が設定されている。Ping結果分析部124bは、Ping結果取得部124aにより取得されたPing応答パケットに基づいて、Ping要求パケットに対する応答結果を分析する。Ping結果登録部124cは、Ping結果分析部124bにおける分析結果に基づいてPing結果情報を生成して、Ping結果情報リスト記憶部150に登録する。   In the present embodiment, the ping result acquisition unit 124a reads a ping response packet at a predetermined reception cycle. The predetermined reception cycle is set to be independent of the predetermined transmission cycle in the ping transmission processing unit 110. The ping result analysis unit 124b analyzes a response result to the ping request packet based on the ping response packet acquired by the ping result acquisition unit 124a. The ping result registration unit 124c generates ping result information based on the analysis result of the ping result analysis unit 124b, and registers the ping result information in the ping result information list storage unit 150.

監視処理部130は、監視対象情報取得部132と、判定処理部134とを備える。監視対象情報取得部132および判定処理部134は、自装置に監視処理スレッドを起動することより実現される。また、監視処理部130は、自装置においてマルチスレッドとして起動された複数の監視処理スレッドとして実現され、同時に複数の監視処理を実施する。監視処理部130は、各監視処理スレッドに対し、自装置に割り当てられた全ての監視対象装置300のうち複数の監視対象装置300を割り当てる。各監視処理スレッドは、自身に割り当てられた複数の監視対象装置300について、監視対象情報取得部132および判定処理部134により実現される処理を実行する。   The monitoring processing unit 130 includes a monitoring target information acquisition unit 132 and a determination processing unit 134. The monitoring target information acquisition unit 132 and the determination processing unit 134 are realized by starting a monitoring processing thread in the own device. Further, the monitoring processing unit 130 is realized as a plurality of monitoring processing threads started as a multithread in the own device, and performs a plurality of monitoring processes at the same time. The monitoring processing unit 130 allocates a plurality of monitoring target devices 300 among all the monitoring target devices 300 allocated to the monitoring processing thread to each monitoring processing thread. Each monitoring processing thread executes a process realized by the monitoring target information acquisition unit 132 and the determination processing unit 134 for the plurality of monitoring target devices 300 assigned to itself.

監視対象情報取得部132は、自身に割り当てられた複数の監視対象装置300の監視対象情報のうち、最初のエントリに対応した監視対象情報から最後のエントリに対応した監視対象情報を順次読み込む。監視対象情報取得部132は、各監視対象情報を所定の読込周期で読み込む。この読込周期は、監視対象装置300の監視周期よりも短い。監視対象情報取得部132は、最初のエントリに対応した監視対象情報から最後のエントリに対応した監視対象情報までを、所定の監視周期で読み込む。例えば少なくとも5秒に1回は確認が必要との条件の場合、この所定の監視周期は1ミリ秒といった期間が設定される。この結果、複数の監視処理スレッドに対応した複数の監視処理部130は、自装置に割り当てられた全ての監視対象装置300に対応する監視対象情報を所定の監視周期において少なくとも1回読み込む。監視対象情報取得部132は、監視対象リスト記憶部140から読み込んだ監視対象情報を判定処理部134に受け渡す。   The monitoring target information acquisition unit 132 sequentially reads the monitoring target information corresponding to the last entry from the monitoring target information corresponding to the first entry among the monitoring target information of the plurality of monitoring target devices 300 assigned to itself. The monitoring target information acquisition unit 132 reads each monitoring target information at a predetermined reading cycle. This reading cycle is shorter than the monitoring cycle of the monitoring target device 300. The monitoring target information acquisition unit 132 reads from the monitoring target information corresponding to the first entry to the monitoring target information corresponding to the last entry at a predetermined monitoring cycle. For example, in the case of a condition that confirmation is required at least once every 5 seconds, the predetermined monitoring cycle is set to a period such as 1 millisecond. As a result, the plurality of monitoring processing units 130 corresponding to the plurality of monitoring processing threads read the monitoring target information corresponding to all the monitoring target devices 300 assigned to the own device at least once in a predetermined monitoring cycle. The monitoring target information acquisition unit 132 transfers the monitoring target information read from the monitoring target list storage unit 140 to the determination processing unit 134.

判定処理部134は、Ping送信部134aと、Ping結果確認部134bとを備える。Ping送信部134aは、監視対象情報取得部132から監視対象情報が供給されたことに応じてPing要求パケットを識別するためシーケンス番号を生成する。また、Ping送信部134aは、Ping要求パケットの送信を依頼した時刻にPing送信時間を設定する。Ping送信部134aは、シーケンス番号、Ping送信時間、および監視対象装置300のIPアドレスを含むPing送信情報を送信キューとして送信メモリ部112に格納する。これにより、Ping送信部134aは、Ping送信処理部110にPing要求パケットの送信を依頼する。
また、判定処理部134は、Ping要求パケットの送信を依頼したことに応じて、監視対象情報のうち当該Ping要求パケットの送信先の監視対象装置300のIPアドレスに対応したシーケンス番号およびPing送信時間を更新する。
The determination processing unit 134 includes a ping transmission unit 134a and a ping result confirmation unit 134b. The ping transmission unit 134a generates a sequence number for identifying the ping request packet in response to the supply of the monitoring target information from the monitoring target information obtaining unit 132. Further, the ping transmission unit 134a sets the ping transmission time to the time at which the transmission of the ping request packet is requested. The ping transmission unit 134a stores the ping transmission information including the sequence number, the ping transmission time, and the IP address of the monitoring target device 300 in the transmission memory unit 112 as a transmission queue. Accordingly, the ping transmission unit 134a requests the ping transmission processing unit 110 to transmit a ping request packet.
In addition, in response to the request for transmission of the Ping request packet, the determination processing unit 134 determines the sequence number and the Ping transmission time corresponding to the IP address of the monitoring target device 300 of the transmission destination of the Ping request packet in the monitoring target information. To update.

Ping結果確認部134bは、監視対象情報およびPing結果情報に基づいて監視対象装置300の監視結果を確認する。この監視結果は、回線監視サーバ100と監視対象装置300とを接続する回線が正常であるか否かを表す。また、結果通知部134cは、監視制御サーバ200に監視結果に基づく通知情報を生成して、監視制御サーバ200に送信する。   The ping result check unit 134b checks the monitoring result of the monitoring target device 300 based on the monitoring target information and the ping result information. This monitoring result indicates whether the line connecting the line monitoring server 100 and the monitored device 300 is normal. In addition, the result notifying unit 134c generates notification information based on the monitoring result in the monitoring control server 200, and transmits the notification information to the monitoring control server 200.

以下、本発明を適用した実施形態の回線監視サーバ100における監視処理について説明する。図6は、本発明を適用した実施形態の回線監視サーバ100における監視処理の処理手順を示すフローチャートである。この監視処理は、各監視処理スレッドがそれぞれ独立して処理を開始する。   Hereinafter, a monitoring process in the line monitoring server 100 according to the embodiment to which the present invention is applied will be described. FIG. 6 is a flowchart illustrating a processing procedure of a monitoring process in the line monitoring server 100 according to the embodiment to which the present invention is applied. In this monitoring processing, each monitoring processing thread starts processing independently.

監視処理部130は、監視対象情報取得部132により監視対象リスト記憶部140から監視対象情報を取得する(ステップS100)。判定処理部134は、ステップS100において取得された監視対象情報に含まれるPing実行ステータスを参照して、ステータスの値が「オン」であるか否かを判定する(ステップS102)。Ping実行ステータスの値が「オン」ではない場合には、Ping送信部134aは、Ping要求パケットの送信周期が到来したか否かを判定する(ステップS104)。このとき、Ping送信部134aは、現在時刻が、前回Ping実行時刻に監視周期を加算した時刻を経過しているか否かを判定する。判断Ping要求パケットの送信周期が到来したと判定した場合にはステップS106に処理を進め、Ping要求パケットの送信周期が到来していないと判定した場合にはステップS100に処理を戻して待機する。   The monitoring processing unit 130 acquires the monitoring target information from the monitoring target list storage unit 140 by the monitoring target information obtaining unit 132 (Step S100). The determination processing unit 134 determines whether or not the value of the status is “ON” with reference to the Ping execution status included in the monitoring target information acquired in step S100 (step S102). If the value of the ping execution status is not “on”, the ping transmission unit 134a determines whether the transmission cycle of the ping request packet has arrived (step S104). At this time, the ping transmission unit 134a determines whether or not the current time has passed the time obtained by adding the monitoring cycle to the previous ping execution time. When it is determined that the transmission cycle of the Ping request packet has arrived, the process proceeds to step S106, and when it is determined that the transmission cycle of the Ping request packet has not arrived, the process returns to step S100 and waits.

判定処理部134がPing実行ステータスの値が「オン」であると判断した場合には、Ping結果確認部134bは、現在時刻が前回Ping実行時刻にPingタイムアウト時間を加算した時刻を超えるまで待機する(ステップS108)。Pingタイムアウト時間は、Ping要求パケットの送信時刻からPing応答パケットの受信時刻まで期間が正常であると判定される期間が設定される。Pingタイムアウト時間は、サーバ管理部210により送信され、回線監視サーバ100に設定される。本実施形態は、Pingタイムアウト時間は、一定値であると説明するが、監視対象装置300ごとに設定されていてもよい。   If the determination processing unit 134 determines that the value of the Ping execution status is “ON”, the Ping result confirmation unit 134b waits until the current time exceeds the time obtained by adding the Ping timeout time to the previous Ping execution time. (Step S108). As the Ping timeout time, a period in which the period from the transmission time of the Ping request packet to the reception time of the Ping response packet is determined to be normal is set. The Ping timeout time is transmitted by the server management unit 210 and set in the line monitoring server 100. In the present embodiment, the Ping timeout time is described as a fixed value, but may be set for each monitoring target device 300.

なお、Pingタイムアウト時間の経過まで待機してPing結果情報の確認を行わないことにより、Ping履歴ログの書き込みによるPing結果情報リスト記憶部150に対する書き込み処理のばらつきを抑える。例えば、監視対象装置300により送信されたPing応答パケットを受信したタイミングで監視対象リスト記憶部140に書き込みを行うと、監視対象リスト記憶部140に対する書き込みが集中する可能性があるが、Pingタイムアウト時間の到来タイミングにおいてPing履歴ログ情報を書き込むことにより監視対象リスト記憶部140への書き込みタイミングを平準化させる。   Note that by not waiting for the Ping timeout time to elapse and not confirming the Ping result information, the variation in the writing process to the Ping result information list storage unit 150 due to the writing of the Ping history log is suppressed. For example, if writing to the monitoring target list storage unit 140 is performed at the timing when the Ping response packet transmitted by the monitoring target device 300 is received, writing to the monitoring target list storage unit 140 may concentrate, but the Ping timeout time By writing Ping history log information at the arrival timing of, the writing timing to the monitoring target list storage unit 140 is leveled.

Ping結果確認部134bは、現在時刻が前回Ping実行時刻にPingタイムアウト時間を加算した時刻を超えたことに応じて、Ping実行ステータスをオフに変更し(ステップS110)、Ping結果情報を検索する(ステップS112)。Ping結果確認部134bは、監視対象情報におけるIPアドレスおよびシーケンス番号に一致するPing結果情報をPing結果情報リスト150aから検索する。Ping結果確認部134bは、一致するPing結果情報が存在した場合に、当該Ping結果情報を取得する。   The Ping result confirmation unit 134b changes the Ping execution status to off in response to the current time exceeding the time obtained by adding the Ping timeout time to the previous Ping execution time (Step S110), and searches for Ping result information (Step S110). Step S112). The ping result confirmation unit 134b searches the ping result information list 150a for ping result information that matches the IP address and the sequence number in the monitoring target information. When there is matching Ping result information, the Ping result confirmation unit 134b acquires the Ping result information.

Ping結果確認部134bは、Ping結果情報を検索した結果、Ping結果情報を取得したか否かを判定し(ステップS114)、Ping結果情報を取得した場合にはNG連続カウンタを初期化する(ステップS116)。次にPing結果確認部134bは、監視対象情報における監視ステータスが「PingOK」であるか否かを判定する(ステップS118)。これによりPing結果確認部134bは、サーバ管理部210に通知情報を送信するか否かを判定する。Ping結果確認部134bは、監視ステータスが「PingOK」ではない場合には、監視ステータスを「PingOK」に更新し、結果通知部134cにより「PingOK」であることを含む通知情報を送信させる(ステップS120)。通知情報には、宛先情報としてサーバ管理部210のIPアドレスが設定される。   The ping result confirmation unit 134b determines whether or not the ping result information has been obtained as a result of the search for the ping result information (step S114). If the ping result information has been obtained, the NG continuous counter is initialized (step S114). S116). Next, the Ping result confirmation unit 134b determines whether the monitoring status in the monitoring target information is “PingOK” (Step S118). Accordingly, the ping result confirmation unit 134b determines whether to transmit the notification information to the server management unit 210. When the monitoring status is not “PingOK”, the Ping result confirmation unit 134b updates the monitoring status to “PingOK”, and causes the result notification unit 134c to transmit notification information including “PingOK” (step S120). ). In the notification information, the IP address of the server management unit 210 is set as destination information.

Ping結果確認部134bは、Ping結果情報が取得されなかった場合には、NG連続カウンタをインクリメントして監視対象情報を更新し(ステップS124)、NG連続カウンタがNG上限回数を超えたか否かを判定する(ステップS126)。NG上限回数は、サーバ管理部210により送信され、予め回線監視サーバ100に設定される。NG連続カウンタがNG上限回数を超えている場合には、判定処理部134は、監視ステータスを「PingNG」に更新し、結果通知部134cにより「PingNG」であることを含む通知情報を送信させる(ステップS128)。通知情報には、宛先情報としてサーバ管理部210のIPアドレスが設定される。なお、監視処理部130は、NG上限回数が上限回数を超えた場合には、Ping要求パケットの送信を停止させてもよい。   If the ping result information is not acquired, the ping result confirmation unit 134b increments the NG continuous counter to update the monitoring target information (step S124), and determines whether the NG continuous counter has exceeded the NG upper limit number. A determination is made (step S126). The NG upper limit number is transmitted by the server management unit 210 and set in the line monitoring server 100 in advance. If the NG consecutive counter exceeds the NG upper limit number, the determination processing unit 134 updates the monitoring status to “PingNG” and causes the result notification unit 134c to transmit notification information including “PingNG” ( Step S128). In the notification information, the IP address of the server management unit 210 is set as destination information. Note that, when the NG upper limit number exceeds the upper limit number, the monitoring processing unit 130 may stop transmitting the Ping request packet.

Ping結果確認部134bは、ステップS118、ステップS120、またはステップS128の処理後、Ping履歴ログ情報をPing結果情報リスト記憶部150に出力する(ステップS122)。Ping履歴ログ情報は、例えば、IPアドレス、Ping要求パケットの送信時刻、およびPing応答パケットの受信時刻等を含む。Ping履歴ログ情報は、例えば監視制御サーバ200により送信された読込命令に対して返信してもよい。   After the processing in step S118, step S120, or step S128, the ping result confirmation unit 134b outputs the ping history log information to the ping result information list storage unit 150 (step S122). Ping history log information includes, for example, an IP address, a transmission time of a Ping request packet, a reception time of a Ping response packet, and the like. The Ping history log information may be returned, for example, in response to a read command transmitted by the monitoring control server 200.

以下、本発明を適用した実施形態の回線監視サーバ100におけるPing要求パケットの送信処理を説明する。図7は、本発明を適用した実施形態の回線監視サーバ100におけるPing要求パケットの送信処理の処理手順を示すフローチャートである。図7の送信処理は、単一の送信処理スレッドによって所定の送信周期ごとに繰り返して起動される。   Hereinafter, transmission processing of a Ping request packet in the line monitoring server 100 of the embodiment to which the present invention is applied will be described. FIG. 7 is a flowchart illustrating a processing procedure for transmitting a Ping request packet in the line monitoring server 100 according to the embodiment to which the present invention is applied. The transmission processing in FIG. 7 is repeatedly started by a single transmission processing thread at a predetermined transmission cycle.

まずPing送信処理部110は、Ping送信用ソケットを開き(ステップS130)、Pingパケット生成部114は、送信キューとしてのPing送信情報を取得する(ステップS132)。送信キューとしてのPing送信情報が取得されたことに応じて、Pingパケット生成部114は、図5に示したIPアドレス、Ping送信時間およびシーケンス番号を含むPing要求パケットを生成し(ステップS138)、Pingパケット送信部116は、生成されたPing要求パケットを送信する(ステップS140)。なお、ステップS132において取得された送信キューは、当該取得されたタイミングにおいて送信メモリ部112から削除される。一方、送信キューが送信メモリ部112に格納されていない場合には、Ping送信処理部110はスリープ状態に遷移する(ステップS136)。   First, the Ping transmission processing unit 110 opens a Ping transmission socket (Step S130), and the Ping packet generation unit 114 acquires Ping transmission information as a transmission queue (Step S132). In response to the acquisition of the Ping transmission information as the transmission queue, the Ping packet generation unit 114 generates a Ping request packet including the IP address, the Ping transmission time, and the sequence number shown in FIG. 5 (Step S138), Ping packet transmitting section 116 transmits the generated Ping request packet (step S140). Note that the transmission queue acquired in step S132 is deleted from the transmission memory unit 112 at the acquired timing. On the other hand, when the transmission queue is not stored in the transmission memory unit 112, the ping transmission processing unit 110 transitions to the sleep state (step S136).

以下、本発明を適用した実施形態の回線監視サーバ100におけるPing応答パケットの受信処理を説明する。図8は、本発明を適用した実施形態の回線監視サーバ100におけるPing応答パケットの受信処理の処理手順を示すフローチャートである。図8の受信処理は、各受信処理スレッドが所定の受信周期ごとに起動されて、各受信処理スレッドにより実施される。   Hereinafter, a process of receiving a Ping response packet in the line monitoring server 100 according to the embodiment of the present invention will be described. FIG. 8 is a flowchart illustrating a processing procedure of a Ping response packet receiving process in the line monitoring server 100 according to the embodiment to which the present invention is applied. The receiving process of FIG. 8 is executed by each receiving process thread, with each receiving process thread being activated at a predetermined receiving cycle.

まずPing受信処理部120はPing受信用ソケットを開き(ステップS150)、Ping結果取得部124aはPing受信用ソケットからPing応答パケットを取得する(ステップS152)。Ping受信用ソケットからPing応答パケットが取得されたことに応じて、Ping結果分析部124bは、Ping応答パケットを分析する(ステップS158)。このとき、Ping結果分析部124bは、Ping応答パケットからIPアドレス、シーケンス番号、およびPing送信時間を取得する。Ping結果分析部124bは、現在時刻からPing送信時間を差し引いて、Ping応答時間(Round-Trip Time;RTT)を算出する。   First, the Ping reception processing unit 120 opens the Ping reception socket (Step S150), and the Ping result acquisition unit 124a acquires a Ping response packet from the Ping reception socket (Step S152). In response to the Ping response packet being obtained from the Ping receiving socket, the Ping result analysis unit 124b analyzes the Ping response packet (Step S158). At this time, the ping result analysis unit 124b acquires the IP address, the sequence number, and the ping transmission time from the ping response packet. The ping result analysis unit 124b calculates a ping response time (Round-Trip Time; RTT) by subtracting the ping transmission time from the current time.

Ping結果登録部124cは、Ping応答時間がPingタイムアウト時間を超えているか否かを判定し(ステップS160)、Ping応答時間がPingタイムアウト時間を超えている場合には登録処理をせずにステップS152に処理を戻す。このとき、Ping結果登録部124cは、タイムアウトのエラーログを監視対象リスト記憶部140に記憶させてもよい。   The ping result registration unit 124c determines whether or not the ping response time exceeds the ping timeout time (step S160). If the ping response time exceeds the ping timeout time, the ping result registration unit 124c performs no registration processing and proceeds to step S152. Return to processing. At this time, the ping result registration unit 124c may cause the monitoring target list storage unit 140 to store a timeout error log.

Ping結果登録部124cは、Ping応答時間がPingタイムアウト時間を超えていない場合には、図4に示したIPアドレス、Ping応答時間、およびシーケンス番号を含むPing結果情報を監視対象リスト記憶部140に登録する(ステップS162)。   If the Ping response time does not exceed the Ping timeout time, the Ping result registration unit 124c stores the Ping result information including the IP address, the Ping response time, and the sequence number shown in FIG. It is registered (step S162).

以上説明したように、本発明を適用した実施形態における回線監視サーバ100によれば、監視周期内における送信周期ごとに各監視対象装置300にPing要求パケットを送信すると共に、送信周期とは独立した受信周期ごとにPing応答パケットを取得するので、送信処理と受信処理とを独立したものとすることができる。この結果、回線監視サーバ100によれば、要求パケットの送信時刻と応答パケットの受信時刻との期間において処理が占有されることがないので、より多くの監視対象装置300を監視することができる。すなわち、多数の監視対象装置300を複数の回線監視サーバ100間で分担して監視するシステムであっても、少ない回線監視サーバ100で、より多くの監視対象装置300を監視することができる。   As described above, according to the line monitoring server 100 in the embodiment to which the present invention is applied, the Ping request packet is transmitted to each monitoring target device 300 for each transmission cycle within the monitoring cycle, and is independent of the transmission cycle. Since a Ping response packet is acquired for each reception cycle, transmission processing and reception processing can be made independent. As a result, according to the line monitoring server 100, the process is not occupied during the period between the transmission time of the request packet and the reception time of the response packet, so that more monitoring target devices 300 can be monitored. That is, even in a system in which a large number of monitored devices 300 are shared among a plurality of line monitoring servers 100 and monitored, more monitored devices 300 can be monitored by a small number of line monitoring servers 100.

また、回線監視サーバ100によれば、監視対象リスト140aを記憶する監視対象リスト記憶部140とPing結果情報リスト150aを記憶するPing結果情報リスト記憶部150とを区分したので、情報の読込処理が干渉することを抑制することができ、より高速に監視処理部130により監視対象リスト140aを読み込み、監視処理部130によって送信周期に従ってPing送信処理部110によりPing要求パケットを送信させることができる。   According to the line monitoring server 100, the monitoring target list storage unit 140 storing the monitoring target list 140a and the ping result information list storage unit 150 storing the ping result information list 150a are divided, so that the information reading process is performed. The interference can be suppressed, and the monitoring target list 140a can be read by the monitoring processing unit 130 at higher speed, and the ping request packet can be transmitted by the ping transmission processing unit 110 by the monitoring processing unit 130 according to the transmission cycle.

さらに、回線監視サーバ100によれば、Ping応答時間がPingタイムアウト時間を超えていない場合にPing結果情報をPing結果情報リスト記憶部150に記憶させるので、Ping要求パケットの送信時間からPingタイムアウト時間の経過後におけるPing結果情報の有無に基づいて監視対象装置300を監視することができる。これにより、回線監視サーバ100によれば、Ping要求パケットの送信後において常時Ping応答パケットを受信したか否かを監視する必要が無く、Ping要求パケットの送信処理を高速にすることができる。   Further, according to the line monitoring server 100, when the Ping response time does not exceed the Ping timeout time, the Ping result information is stored in the Ping result information list storage unit 150. The monitoring target device 300 can be monitored based on the presence or absence of the ping result information after the lapse. As a result, according to the line monitoring server 100, it is not necessary to constantly monitor whether or not a Ping response packet has been received after transmitting the Ping request packet, and the transmission processing of the Ping request packet can be performed at high speed.

図9は、本発明の実施形態の監視制御サーバ200における管理テーブルを示す図である。サーバ管理部210は、図9に示すように、回線監視サーバ100を識別するサーバIDに対応づけて、監視上限数および監視数を管理する。監視数は、回線監視サーバ100により監視されている監視対象装置300の数である。監視上限数は、回線監視サーバ100のリソースに基づいて設定され、回線監視サーバ100により送信された監視ステータスに基づいて調整される。   FIG. 9 is a diagram illustrating a management table in the monitoring control server 200 according to the embodiment of this invention. As shown in FIG. 9, the server management unit 210 manages the upper limit number of monitoring and the number of monitoring in association with the server ID for identifying the line monitoring server 100. The monitoring number is the number of the monitoring target devices 300 monitored by the line monitoring server 100. The monitoring upper limit number is set based on the resources of the line monitoring server 100, and is adjusted based on the monitoring status transmitted by the line monitoring server 100.

サーバ管理部210は、サーバIDに対応づけて、回線監視サーバ100におけるPing結果情報リスト150aと同期されたPing結果情報リストを記憶する。サーバ管理部210は、ある回線監視サーバ100により送信された監視ステータスが「PingNG」である場合、当該回線監視サーバ100の監視数を削減すると共に、削減され監視数を他の回線監視サーバ100に割り当てる。また、サーバ管理部210は、回線監視サーバ100間において監視対象の割り当てを変更し、各回線監視サーバ100において記憶しているPing結果情報リストを更新し、更新後の監視対象情報を各回線監視サーバ100に通知する。これにより、各回線監視サーバ100は、サーバ管理部210により送信された更新後の監視対象情報に基づいて、自装置のPing結果情報リスト150aを更新する。   The server management unit 210 stores the Ping result information list synchronized with the Ping result information list 150a in the line monitoring server 100 in association with the server ID. When the monitoring status transmitted by a certain line monitoring server 100 is “PingNG”, the server management unit 210 reduces the number of monitoring of the line monitoring server 100 and sends the reduced monitoring number to another line monitoring server 100. assign. The server management unit 210 changes the assignment of the monitoring target between the line monitoring servers 100, updates the ping result information list stored in each line monitoring server 100, and updates the updated monitoring target information to each line monitoring server. Notify the server 100. Thereby, each line monitoring server 100 updates the Ping result information list 150a of its own device based on the updated monitoring target information transmitted by the server management unit 210.

上述した実施形態における回線監視サーバ100をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、FPGA(Field Programmable Gate Array)等のプログラマブルロジックデバイスを用いて実現されるものであってもよい。   The line monitoring server 100 in the above embodiment may be realized by a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on this recording medium may be read and executed by a computer system. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage device such as a hard disk built in a computer system. Further, a "computer-readable recording medium" refers to a communication line for transmitting a program via a network such as the Internet or a communication line such as a telephone line, and dynamically holds the program for a short time. Such a program may include a program that holds a program for a certain period of time, such as a volatile memory in a computer system serving as a server or a client in that case. The program may be for realizing a part of the functions described above, or may be a program that can realize the functions described above in combination with a program already recorded in a computer system. It may be realized using a programmable logic device such as an FPGA (Field Programmable Gate Array).

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   As described above, the embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiments and includes a design and the like within a range not departing from the gist of the present invention.

1 回線監視システム
100 回線監視サーバ
110 送信処理部
112 送信メモリ部
114 パケット生成部
116 パケット送信部
120 受信処理部
122 受信メモリ部
124 受信結果処理部
124a 結果取得部
124b 結果分析部
124c 結果登録部
130 監視処理部
132 監視対象情報取得部
134 判定処理部
134a 送信部
134b 結果確認部
134c 結果通知部
140 監視対象リスト記憶部
140a 監視対象リスト
150 結果情報リスト記憶部
150a 結果情報リスト
200 監視制御サーバ
210 サーバ管理部
300 監視対象装置
1 line monitoring system 100 line monitoring server 110 transmission processing unit 112 transmission memory unit 114 packet generation unit 116 packet transmission unit 120 reception processing unit 122 reception memory unit 124 reception result processing unit 124a result acquisition unit 124b result analysis unit 124c result registration unit 130 Monitoring processing unit 132 monitoring target information acquisition unit 134 determination processing unit 134a transmission unit 134b result confirmation unit 134c result notification unit 140 monitoring target list storage unit 140a monitoring target list 150 result information list storage unit 150a result information list 200 monitoring control server 210 server Management unit 300 Monitored device

Claims (4)

監視対象装置の監視に関する情報を記憶する監視対象情報記憶部と、
前記監視対象装置からの受信結果を前記監視対象装置に対応付けて記憶する受信結果情報記憶部と、
前記監視対象情報記憶部に記憶された情報に基づいて、所定の監視周期において自装置に割り当てられた複数の監視対象装置に監視要求パケットを少なくとも1回送信する送信部と、
前記送信部の動作に依存しないタイミングで前記各監視対象装置により送信された監視応答パケットを受信して取得し、前記監視応答パケットを取得したことに応じて前記受信結果を更新する受信部と、
前記受信結果情報記憶部に記憶された受信結果に基づいて、前記各監視対象装置を監視する監視部と、を備える回線監視装置であって、前記監視部における前記監視対象装置の監視結果を送信する回線監視装置を複数備え、
前記回線監視装置により送信された監視結果に基づいて、前記回線監視装置に割り当てる前記監視対象装置の監視数を調整するサーバ管理部と、
を備える回線監視システム。
A monitoring target information storage unit that stores information regarding monitoring of the monitoring target device;
A reception result information storage unit that stores a reception result from the monitored device in association with the monitored device,
A transmitting unit configured to transmit a monitoring request packet at least once to a plurality of monitoring target devices assigned to the own device in a predetermined monitoring cycle based on information stored in the monitoring target information storage unit;
A receiving unit that receives and acquires a monitoring response packet transmitted by each of the monitored devices at a timing independent of the operation of the transmitting unit, and updates the reception result in response to acquiring the monitoring response packet;
A monitoring unit that monitors each of the monitoring target devices based on the reception result stored in the reception result information storage unit, and transmits a monitoring result of the monitoring target device in the monitoring unit. Multiple line monitoring devices,
Based on the monitoring result transmitted by the line monitoring device, a server management unit that adjusts the monitoring number of the monitoring target device allocated to the line monitoring device,
Line monitoring system equipped with
前記監視対象情報記憶部には、複数の前記監視対象装置の監視に関する情報をリスト化した監視対象リストが記憶され、
前記監視部は、前記監視対象リストに含まれる各情報を繰り返して取得して前記送信部の送信メモリに記憶させ、
前記送信部は、前記監視周期内の所定の送信周期ごとに前記各監視対象装置に前記監視要求パケットを送信し、
前記受信部は、前記監視周期および前記送信周期とは独立した受信周期ごとに前記監視応答パケットを取得する、
ことを特徴とする請求項1に記載の回線監視システム。
The monitoring target information storage unit stores a monitoring target list that lists information on monitoring of the plurality of monitoring target devices,
The monitoring unit repeatedly acquires each piece of information included in the monitoring target list and stores it in the transmission memory of the transmission unit,
The transmitting unit transmits the monitoring request packet to each of the monitoring target devices for each predetermined transmission cycle in the monitoring cycle,
The receiving unit acquires the monitoring response packet for each receiving period independent of the monitoring period and the transmission period,
The line monitoring system according to claim 1, wherein:
前記受信部は、前記監視応答パケットに含まれる前記監視要求パケットの送信時刻に基づいて前記監視応答パケットの応答時間を算出し、前記応答時間が閾値を超えていない場合には前記受信結果を前記受信結果情報記憶部に登録し、
前記監視部は、前記受信結果情報記憶部における受信結果の有無に基づいて前記各監視対象装置を監視する、
ことを特徴とする請求項1または2に記載の回線監視システム。
The receiving unit calculates a response time of the monitoring response packet based on a transmission time of the monitoring request packet included in the monitoring response packet, and when the response time does not exceed a threshold, the reception result is calculated. Register in the reception result information storage unit,
The monitoring unit monitors each of the monitoring target devices based on the presence or absence of a reception result in the reception result information storage unit.
The line monitoring system according to claim 1 or 2, wherein:
監視対象装置の監視に関する情報を記憶する監視対象情報記憶部と、
前記監視対象装置からの受信結果を前記監視対象装置に対応付けて記憶する受信結果情報記憶部と、を備える複数の回線監視装置と、サーバ管理部と、を含む回線監視システムにおける回線監視方法であって、
各回線監視装置のコンピュータが、
前記監視対象情報記憶部に記憶された情報に基づいて、所定の監視周期において自装置に割り当てられた複数の監視対象装置に監視要求パケットを少なくとも1回送信する送信処理を行うと共に、前記送信処理の動作に依存しないタイミングで前記各監視対象装置により送信された監視応答パケットを受信して取得し、前記監視応答パケットを取得したことに応じて前記受信結果を更新する受信処理を行い、
前記受信結果情報記憶部に記憶された受信結果に基づいて、前記各監視対象装置を監視し、
記監視対象装置の監視結果を送信し、
前記サーバ管理部のコンピュータが、
前記回線監視装置により送信された監視結果に基づいて、前記回線監視装置に割り当てる前記監視対象装置の監視数を調整する
ことを特徴とする回線監視方法。
A monitoring target information storage unit that stores information regarding monitoring of the monitoring target device;
A line monitoring method in a line monitoring system including: a plurality of line monitoring devices including: a reception result information storage unit that stores reception results from the monitoring target devices in association with the monitoring target devices; and a server management unit. So,
The computer of each line monitoring device
Based on the information stored in the monitoring target information storage unit, performing a transmission process of transmitting a monitoring request packet at least once to a plurality of monitoring target devices assigned to the own device in a predetermined monitoring cycle, and performing the transmission process Receiving and acquiring the monitoring response packet transmitted by each of the monitoring target devices at a timing independent of the operation of performing the receiving process of updating the reception result in response to acquiring the monitoring response packet,
Based on the reception result stored in the reception result information storage unit, monitors each of the monitoring target devices,
Send the monitoring results of the previous Symbol monitoring target device,
Computer of the server management unit,
A line monitoring method, comprising: adjusting a monitoring number of the monitoring target device to be allocated to the line monitoring device based on a monitoring result transmitted by the line monitoring device.
JP2015052513A 2015-03-16 2015-03-16 Line monitoring system and line monitoring method Active JP6659226B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015052513A JP6659226B2 (en) 2015-03-16 2015-03-16 Line monitoring system and line monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015052513A JP6659226B2 (en) 2015-03-16 2015-03-16 Line monitoring system and line monitoring method

Publications (2)

Publication Number Publication Date
JP2016173672A JP2016173672A (en) 2016-09-29
JP6659226B2 true JP6659226B2 (en) 2020-03-04

Family

ID=57008244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015052513A Active JP6659226B2 (en) 2015-03-16 2015-03-16 Line monitoring system and line monitoring method

Country Status (1)

Country Link
JP (1) JP6659226B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694711A (en) * 2020-06-10 2020-09-22 浪潮商用机器有限公司 Server equipment monitoring method, device, equipment and readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3737460B2 (en) * 2002-07-09 2006-01-18 株式会社東京三菱銀行 Computer system
JP5686027B2 (en) * 2011-04-07 2015-03-18 富士通株式会社 Network failure detection method, apparatus, and program in virtual machine environment

Also Published As

Publication number Publication date
JP2016173672A (en) 2016-09-29

Similar Documents

Publication Publication Date Title
EP3503503B1 (en) Health status monitoring for services provided by computing devices
JP6492707B2 (en) Packet detection program, packet detection apparatus, and packet detection method
US7743129B2 (en) Methods and arrangements to detect a failure in a communication network
US9787764B2 (en) Server health monitoring for traffic load balancer
JP2006338666A (en) Distributed kernel operating system
US8850056B2 (en) Method and system for managing client-server affinity
US9736235B2 (en) Computer system, computer, and load balancing method
US10205775B2 (en) Server selection in a highly available network
JP2006340354A (en) Distributed kernel operating system
US9160791B2 (en) Managing connection failover in a load balancer
CN106797330B (en) Method, Traffic Monitor (TM), Request Router (RR) and system for monitoring a Content Delivery Network (CDN)
WO2018003031A1 (en) Virtualization management program, virtualization management device, and virtualization management method
JP6659226B2 (en) Line monitoring system and line monitoring method
US9847927B2 (en) Information processing device, method, and medium
US20100293266A1 (en) System and method for dynamic control of network management traffic loads
US9250841B2 (en) Print server, control method of print server, and storage medium
JP2017174038A (en) Information processing system, information processing method, and program
US20160261476A1 (en) Message system for avoiding processing-performance decline
JP6593137B2 (en) Packet storage device and packet storage method
JP2013114623A (en) Storage device, storage control program, and storage control method
US20160301757A1 (en) Computer work distribution system and method
US10148585B2 (en) Communication control method, information processing apparatus, and storage medium
US8521701B2 (en) Reducing data transfer for matching patterns
JP2011164918A (en) Database management apparatus, database management method, and program
CN111448780B (en) Method for handling traffic in a communication network and traffic handling unit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150317

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190806

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200206

R150 Certificate of patent or registration of utility model

Ref document number: 6659226

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250