JP2012212341A - Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program - Google Patents

Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program Download PDF

Info

Publication number
JP2012212341A
JP2012212341A JP2011077998A JP2011077998A JP2012212341A JP 2012212341 A JP2012212341 A JP 2012212341A JP 2011077998 A JP2011077998 A JP 2011077998A JP 2011077998 A JP2011077998 A JP 2011077998A JP 2012212341 A JP2012212341 A JP 2012212341A
Authority
JP
Japan
Prior art keywords
polling
group
time
monitored
pool
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.)
Withdrawn
Application number
JP2011077998A
Other languages
Japanese (ja)
Inventor
Takayuki Nojo
孝之 野条
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2011077998A priority Critical patent/JP2012212341A/en
Publication of JP2012212341A publication Critical patent/JP2012212341A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a polling monitoring system or the like for executing polling to a monitoring object machine whose priority is high by an interval which is as close to setting as possible, and for executing polling to all the monitoring object machines including those whose priority is low without omission.SOLUTION: A polling monitoring server 10 includes: an in-group polling execution unit 102 configured to, when polling is executable within a group-based assigned time, execute polling to each monitoring object machine in the order of high priority, and to, when polling becomes not-executable within the group-based assigned time, add a surplus group-based assigned time to a pool time; and a pool time confirmation unit 103 configured to, after the end of the polling within the group-based assigned time, execute polling to the monitoring object machine whose execution frequency of polling in the past is the smallest when the polling is executable within the pool time.

Description

本発明はポーリング監視システム、ポーリング監視サーバ、ポーリング監視方法、およびその監視プログラムに関し、特に全ての監視対象マシンに対して漏れなくポーリングを実行することを可能とするポーリング監視システム等に関する。   The present invention relates to a polling monitoring system, a polling monitoring server, a polling monitoring method, and a monitoring program thereof, and more particularly to a polling monitoring system and the like that can execute polling without omission for all monitored machines.

コンピュータネットワークで相互に接続された各々のコンピュータの動作を確認するために、監視専用のサーバを接続して、このサーバが各々のコンピュータに対して1台ずつ、一定の周期で(処理要求の有無などのような)動作について照会するというものがある。このようなサーバを、本明細書ではポーリング監視サーバという。また、このようなポーリング監視サーバを導入したネットワークを、本明細書ではポーリング監視システムという。   In order to confirm the operation of each computer connected to each other via a computer network, a dedicated monitoring server is connected, and one server is connected to each computer at regular intervals (whether there is a processing request. Inquiries about behavior). Such a server is referred to as a polling monitoring server in this specification. A network in which such a polling monitoring server is introduced is referred to as a polling monitoring system in this specification.

図9は、既存技術に係るポーリング監視システム901のネットワーク構成について示す説明図である。ポーリング監視システム901は、ポーリング監視サーバ910と、監視対象マシン920a〜920eとが、ネットワーク930を介して相互に接続されて構成される。監視対象マシン920a〜920eは全て同じ構成を有するので、以後総称して監視対象マシン920という。監視対象マシン920の台数には特に制限はないが、図9では例として5台の監視対象マシン920a〜920eを示している。これら5台は、各々A〜Eという識別子を持つ。   FIG. 9 is an explanatory diagram showing the network configuration of the polling monitoring system 901 according to the existing technology. The polling monitoring system 901 includes a polling monitoring server 910 and monitored machines 920a to 920e that are connected to each other via a network 930. Since all of the monitoring target machines 920a to 920e have the same configuration, they are collectively referred to as a monitoring target machine 920 hereinafter. The number of monitored machines 920 is not particularly limited, but FIG. 9 shows five monitored machines 920a to 920e as an example. These five units have identifiers A to E, respectively.

ポーリング監視サーバ910は、各々の監視対象マシン920a〜920eに対して、ポーリングを行うことによってこれらの監視対象マシン920の動作の確認および記録を行う。その際、ポーリングを行う間隔(周期)および各監視対象マシン920の優先度についてあらかじめ与えられた設定データを持ち、その設定データでの指定に基づいてポーリングを行う。   The polling monitoring server 910 confirms and records the operations of the monitoring target machines 920 by polling each of the monitoring target machines 920a to 920e. At that time, setting data given in advance for the polling interval (cycle) and the priority of each monitoring target machine 920 is provided, and polling is performed based on the designation in the setting data.

これに関連する特許文献として、以下の各々がある。その中でも特許文献1には、各監視対象マシンに対してあらかじめ優先度を設定して、優先度の低い監視対象マシンをポーリングの対象から除外して、優先度の高い監視対象マシンに対して設定通りの周期でポーリングを行うというポーリング遅延回避方式が記載されている。特許文献2には、受信したデータ量に応じてポーリングの優先度を変更するという情報収集装置について記載されている。   Patent documents related to this include the following. Among them, in Patent Document 1, priority is set in advance for each monitored machine, and monitored machines with low priority are excluded from polling targets and set for monitored machines with high priority. A polling delay avoidance method is described in which polling is performed at a given cycle. Patent Document 2 describes an information collection device that changes the priority of polling according to the amount of received data.

特許文献3には、周期的なコマンドの送信周期を調整して、そのコマンドの空き時間に他のデータやコマンドを送信するというポーリング方法について記載されている。特許文献4には、写真データに付属する音声データの録音で、変更の要求が最も少ないターゲット(画素)を変更するというデジタルカメラについて記載されている。   Patent Document 3 describes a polling method in which a periodic command transmission cycle is adjusted, and other data and commands are transmitted during idle time of the command. Patent Document 4 describes a digital camera that changes a target (pixel) that requires the least change in recording audio data attached to photo data.

特許文献5には、過去のポーリング回数に応じてポーリングの優先度を更新するというネットワークシステムについて記載されている。特許文献6には、周期的に実行されるプロセスに対して、これらのプロセスの実行のためのCPU割り当て時間が互いに衝突しないように調整するというスケジューリング方法について記載されている。   Patent Document 5 describes a network system that updates the priority of polling according to the number of past polling. Patent Document 6 describes a scheduling method that adjusts CPU allocation times for periodically executing processes so that they do not collide with each other.

特開平10−294049号公報(特許第3104221号)Japanese Patent Laid-Open No. 10-294049 (Patent No. 3104221) 特開2001−333071号公報JP 2001-333071 A 特開2006−340207号公報JP 2006-340207 A 特開2009−081842号公報JP 2009-081842 A 特開平08−037540号公報Japanese Patent Application Laid-Open No. 08-037540 特開平09−319597号公報JP 09-319597 A

図9に示した既存技術のポーリング監視システム901では、ポーリング監視サーバ910は、ポーリングを行う間隔(周期)および各監視対象マシン920の優先度についてあらかじめ与えられた設定データに基づいてポーリングの動作を行う。しかしながら、この設定が必ずしも適切に行われているとは限らない。   In the polling monitoring system 901 of the existing technology shown in FIG. 9, the polling monitoring server 910 performs the polling operation based on the setting data given in advance for the polling interval (cycle) and the priority of each monitored machine 920. Do. However, this setting is not always performed appropriately.

たとえば、全ての監視対象マシン920に対してポーリングを行うための所要時間より短い周期が設定されている場合もありうる。これは単なる設定ミスであるとは限らず、ネットワーク管理の都合などでそのような設定が必要とされる場合がある。   For example, there may be a case where a cycle shorter than the time required for polling all the monitoring target machines 920 is set. This is not necessarily just a setting mistake, and such a setting may be required for convenience of network management.

図10は、図9に示したポーリング監視システム901で、1台だけの監視対象マシン920a(A)に対してポーリングを行った状態について示す説明図である。図11は、5台の監視対象マシン920a〜920eに対して同時にポーリングを行った状態について示す説明図である。ちなみに図10〜12は、いずれも、その時間で行われるポーリングの対象となる監視対象マシン920の識別子(A〜E)を四角の中に示している。   FIG. 10 is an explanatory diagram showing a state in which polling is performed on only one monitoring target machine 920a (A) in the polling monitoring system 901 shown in FIG. FIG. 11 is an explanatory diagram illustrating a state in which polling is simultaneously performed on five monitored machines 920a to 920e. Incidentally, FIGS. 10 to 12 all show the identifiers (A to E) of the monitoring target machine 920 to be polled at that time in squares.

図10〜11では、ポーリング監視サーバ910が1台の監視対象マシン920にポーリングを実行したときのポーリング処理時間を2とし、ポーリング間隔を6とし、全体の周期を8としたという例について説明している。5台の監視対象マシン920a〜920eの全てに対してポーリングを行うには、1台あたりのポーリング処理時間2×5台=10の処理時間が必要である。即ち、この所要時間よりも短い8という周期を設定した例を、図10〜11では示している。   10 to 11, an example in which the polling processing time when the polling monitoring server 910 polls one monitored machine 920 is 2, the polling interval is 6, and the total cycle is 8 will be described. ing. In order to perform polling for all of the five monitored machines 920a to 920e, polling processing time per unit 2 × 5 = 10 processing times are required. That is, an example in which a period of 8 shorter than the required time is set is shown in FIGS.

この状態でこれらの監視対象マシンに対してポーリングを行うと、図11に示すように、監視対象マシンA,B,C,Dに対するポーリングが完了した時点で周期8は経過する。次に監視対象マシンEに対してポーリングを行うと、その次に監視対象マシンAに対してポーリングを開始する時点で遅延時間2が発生する。このようなポーリングの動作を繰り返して続けると、その遅延時間は拡大していく。   If polling is performed on these monitored machines in this state, the period 8 elapses when polling on the monitored machines A, B, C, and D is completed as shown in FIG. Next, when polling is performed on the monitoring target machine E, a delay time 2 occurs when polling is started on the monitoring target machine A next time. If such a polling operation is repeated, the delay time increases.

図12は、図9に示したポーリング監視システム901に特許文献1に記載の技術を適用した場合に、図11と同様に5台の監視対象マシン920a〜920eに対して同時にポーリングを行った状態の動作について示す説明図である。特許文献1に記載の技術では、各々の監視対象マシンに対して「優先度」を設定し、優先度の低い監視対象マシンをポーリングの対象から除外し、優先度の高い順に各監視対象マシンに対して設定通りの間隔(周期)でポーリングを行う。しかしながら、この技術では、設定が変更されない限り、低い優先度に設定された監視対象マシンに対してポーリングは実行されない。   12 shows a state in which polling is simultaneously performed on five monitored machines 920a to 920e as in FIG. 11 when the technique described in Patent Document 1 is applied to the polling monitoring system 901 shown in FIG. It is explanatory drawing shown about no operation | movement. In the technology described in Patent Document 1, “priority” is set for each monitored machine, monitored machines with low priority are excluded from polling targets, and each monitored machine is ordered in descending order of priority. On the other hand, polling is performed at an interval (cycle) as set. However, in this technique, unless the setting is changed, polling is not executed for a monitoring target machine set to a low priority.

図12に示した動作の例では、監視対象マシンA,B,C,Dまでポーリングを行った時点で周期8が経過したので、優先度の最も低い監視対象マシンEに対するポーリングを省略して、監視対象マシンAに戻ってそこからまた順番にポーリングを継続している。この動作では、設定が変更されない限り、監視対象マシンEに対するポーリングが実行されないまま動作が継続されることになる。   In the example of the operation shown in FIG. 12, since the period 8 has elapsed when polling is performed to the monitored machines A, B, C, and D, polling for the monitored machine E having the lowest priority is omitted, Returning to the monitored machine A, the polling is continued from there again. In this operation, unless the setting is changed, the operation is continued without performing polling for the monitored machine E.

従って、全ての監視対象マシンに対して確実にポーリングを実行することが必要となる場合には、この技術では対応できない。たとえば、当該ネットワークにワームが侵入した場合などでは、ポーリングを行った際のログを全ての監視対象マシンに対して調査して、優先度などに関係なく、全ての監視対象マシンの正常な動作を確認する必要がある。しかしながら、優先度についての設定を変更しない限り、この技術ではポーリングが実行されない監視対象マシンが出現する危険性がある。   Therefore, this technique cannot cope with the case where it is necessary to reliably perform polling for all monitored machines. For example, if a worm has entered the network, check the logs when polling is performed on all monitored machines to ensure normal operation of all monitored machines regardless of priority. It is necessary to confirm. However, unless the setting for priority is changed, there is a risk that a monitored machine that is not polled by this technique appears.

特に、ポーリングの対象となる監視対象マシンの台数が多くなると、ポーリング間隔の設定が難しくなり、全ての監視対象マシンに対して設定通りのポーリング間隔でポーリングを行うこと自体が事実上不可能な場合もある。このような場合でも、優先度の高い監視対象マシンに対してなるべく設定に近い間隔でポーリングを行いつつ、優先度の低い監視対象マシンに対してもポーリングが実行されないものが出現しないようにすることが望ましいが、特許文献1に記載の技術ではそのようなポーリングを行うことが不可能である。   Especially when the number of monitored machines to be polled increases, it becomes difficult to set the polling interval, and it is practically impossible to poll all monitored machines at the same polling interval. There is also. Even in such a case, polling the monitored machine with a high priority at an interval as close as possible to the setting so that nothing that is not polled for the monitored machine with a low priority does not appear. However, the technique described in Patent Document 1 cannot perform such polling.

残る特許文献2〜6に記載の技術は、そもそもこの問題を解決することを目的とはしておらず、またその目的に利用可能なものでもない。特許文献2および5には「場合に応じて優先度を変更する」という技術は記載されているが、優先度についての設定を変更することなくこの問題を解決するものではない。即ち、特許文献1〜6に記載の技術を全て組み合わせても、この問題は解決されない。   The remaining techniques described in Patent Documents 2 to 6 are not intended to solve this problem in the first place and are not available for that purpose. Patent Documents 2 and 5 describe a technique of “changing priority according to circumstances”, but this does not solve this problem without changing the setting of priority. That is, even if all the techniques described in Patent Documents 1 to 6 are combined, this problem cannot be solved.

本発明の目的は、優先度の高い監視対象マシンに対してはなるべく設定に近い間隔でポーリングを実行しつつ、優先度の低いものを含めた全ての監視対象マシンに対して漏れなくポーリングを実行することを可能とするポーリング監視システム、ポーリング監視サーバ、ポーリング監視方法、およびその監視プログラムを提供することにある。   The object of the present invention is to perform polling for all monitored machines including those with low priority while performing polling for monitored machines with high priority at intervals as close to the setting as possible. A polling monitoring system, a polling monitoring server, a polling monitoring method, and a monitoring program thereof are provided.

上記目的を達成するため、本発明に係るポーリング監視システムは、複数の監視対象マシンとポーリング監視サーバとが相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視システムであって、ポーリング監視サーバが、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、ポーリングがグループ別割当て時間内に実行可能な場合に各監視対象マシンに対して優先度の高い順にポーリングを行うと共に、ポーリングがグループ別割当て時間内に実行不可能となった場合には余ったグループ別割当て時間を記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、グループ別割当て時間内のポーリングの終了後、ポーリングがプール時間内に実行可能な場合に、過去におけるポーリングの実行回数の最も少ない監視対象マシンに対してポーリングを行うプール時間確認部とを備えることを特徴とする。   In order to achieve the above object, a polling monitoring system according to the present invention is a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other to check and record the operation of each monitored machine. The polling monitoring server stores in advance the group to which each monitored machine belongs, the monitored machine data indicating the priority of each group, and the allocation time for each group given for polling each monitored machine for each group. When storage means and polling can be executed within the allocation time for each group, polling is performed for each monitored machine in order of priority, and when polling becomes impossible within the allocation time for each group Is the pool time stored in the storage means for the remaining allocation time by group When the polling within the group to be added and the polling within the allocated time for each group are completed, and the polling can be performed within the pool time, polling is performed for the monitored machine with the smallest number of polling in the past. And a pool time confirmation unit.

上記目的を達成するため、本発明に係るポーリング監視サーバは、複数の監視対象マシンと相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視サーバであって、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、ポーリングがグループ別割当て時間内に実行可能な場合に各監視対象マシンに対して優先度の高い順にポーリングを行うと共に、ポーリングがグループ別割当て時間内に実行不可能となった場合には余ったグループ別割当て時間を記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、グループ別割当て時間内のポーリングの終了後、プール時間内にポーリングが実行可能な場合に、過去におけるポーリングの実行回数の最も少ない監視対象マシンに対してポーリングを行うプール時間確認部とを備えることを特徴とする。   In order to achieve the above object, a polling monitoring server according to the present invention is a polling monitoring server that is mutually connected to a plurality of monitored machines, and that confirms and records the operation of each monitored machine. Storage means for preliminarily storing the group to which the group belongs, the monitoring target machine data indicating the priority of each group, and the allocation time for each group given for polling each monitoring target machine, and the polling is the allocation time for each group When it is possible to execute the polling, polling is performed for each monitored machine in the order of priority, and when the polling becomes impossible to execute within the allocation time for each group, the remaining allocation time for each group is stored. In-group polling execution unit to be added to the pool time stored in And a pool time confirmation unit that polls a monitored machine with the smallest number of polling executions in the past when polling can be executed within the pool time after the end of polling within the time. To do.

上記目的を達成するため、本発明に係るポーリング監視方法は、複数の監視対象マシンとポーリング監視サーバとが相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめポーリング監視サーバの記憶手段に記憶し、グループ別割当て時間内にポーリングが実行可能か否かをポーリング監視サーバのグループ内ポーリング実行部が判断し、ポーリングがグループ別割当て時間内に実行可能である場合、各監視対象マシンに対して優先度の高い順にポーリング監視サーバのグループ内ポーリング実行部がポーリングを行い、ポーリングがグループ別割当て時間内に実行不可能となった場合、余ったグループ別割当て時間を、ポーリング監視サーバのグループ内ポーリング実行部が記憶手段に記憶されたプール時間に加算し、グループ別割当て時間内のポーリングの終了後、プール時間内にポーリングが実行可能か否かを、ポーリング監視サーバのプール時間確認部が判断し、ポーリングがプール時間内に実行可能である場合、過去におけるポーリングの実行回数の最も少ない監視対象マシンに対してポーリング監視サーバのプール時間確認部がポーリングを行うことを特徴とする。   In order to achieve the above object, a polling monitoring method according to the present invention is a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded. The group to which each monitored machine belongs, the monitored machine data indicating the priority of each group, and the allocation time for each group assigned for polling each monitored machine for each group are stored in the storage means of the polling monitoring server in advance. If the polling execution unit of the polling monitoring server determines whether or not polling can be executed within the allocation time for each group, and polling can be executed within the allocation time for each group, Polling monitoring server group polls in descending order of priority When the polling execution unit performs polling and polling becomes impossible within the allocation time for each group, the remaining allocation time for each group is indicated as the pool time stored in the storage means by the in-group polling execution unit of the polling monitoring server. After the polling within the allocation time for each group is completed, the pool time confirmation unit of the polling monitoring server determines whether or not the polling can be performed within the pool time, and the polling can be performed within the pool time. The pool time confirmation unit of the polling monitoring server polls the monitored machine having the smallest number of polling executions in the past.

上記目的を達成するため、本発明に係るポーリング監視プログラムは、複数の監視対象マシンとポーリング監視サーバとが相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、ポーリング監視サーバが備える、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶したコンピュータに、ポーリングがグループ別割当て時間内に実行可能か否かを判断する手順、ポーリングがグループ別割当て時間内に実行可能である場合、各監視対象マシンに対して優先度の高い順にポーリングを行う手順、グループ別割当て時間内にポーリングが実行不可能となった場合、余ったグループ別割当て時間を記憶されたプール時間に加算する手順、グループ別割当て時間内のポーリングの終了後、プール時間内にポーリングが実行可能か否かを判断する手順、およびポーリングがプール時間内に実行可能である場合、過去におけるポーリングの実行回数の最も少ない監視対象マシンに対してポーリングを行う手順を実行させることを特徴とする。   In order to achieve the above object, a polling monitoring program according to the present invention is a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded. The polling monitoring server includes a group to which each monitored machine belongs, monitored machine data indicating the priority of each group, and an allocation time for each group given for polling each monitored machine for each group. To determine whether or not polling can be performed within the allocation time for each group. If polling can be performed within the allocation time for each group, poll each monitored machine in descending order of priority. Procedure to be performed, polling is executed within the allocation time by group Procedure for adding surplus group allocation time to stored pool time when possible, Procedure for determining whether polling can be performed within pool time after polling within group allocation time is completed, When the polling can be performed within the pool time, a procedure for polling a monitored machine having the smallest number of polling executions in the past is executed.

本発明は、上述したように、優先度の高い順に各監視対象マシンに対してポーリングを行って余った時間をプール時間として蓄積し、このプール時間でポーリングの実行回数の最も少ない監視対象マシンに対してポーリングを行うように構成したので、ポーリングが実行されていない監視対象マシンが発生することがなくなる。   As described above, the present invention accumulates the time remaining after polling each monitored machine in descending order of priority as the pool time, and the monitored machine with the smallest number of polling executions in this pool time. Since the configuration is such that polling is performed, there is no occurrence of a monitored machine that has not been polled.

これによって、優先度の高い監視対象マシンに対してはなるべく設定に近い間隔でポーリングを実行しつつ、優先度の低いものを含めた全ての監視対象マシンに対して漏れなくポーリングを実行することが可能であるという優れた特徴を持つポーリング監視システム、ポーリング監視サーバ、ポーリング監視方法、およびその監視プログラムを提供することができる。   As a result, polling can be performed for all monitored machines including those with low priority while performing polling for monitored machines with high priority at intervals as close as possible to the setting. It is possible to provide a polling monitoring system, a polling monitoring server, a polling monitoring method, and a monitoring program thereof having an excellent feature of being possible.

図2で示したポーリング監視サーバの構成をより詳しく示す説明図である。It is explanatory drawing which shows in more detail the structure of the polling monitoring server shown in FIG. 本発明の実施形態に係るポーリング監視システムの構成を示す説明図である。It is explanatory drawing which shows the structure of the polling monitoring system which concerns on embodiment of this invention. 図1に示した全体処理実行部の動作について示すフローチャートである。It is a flowchart shown about operation | movement of the whole process execution part shown in FIG. 図1に示したグループ内ポーリング実行部の、図3のステップS202として示した動作について示すフローチャートである。FIG. 4 is a flowchart illustrating an operation of the intra-group polling execution unit shown in FIG. 図1に示したプール時間確認部の、図3のステップS205として示した動作について示すフローチャートである。FIG. 4 is a flowchart showing the operation of the pool time confirmation unit shown in FIG. 1 shown as step S205 in FIG. 本実行例で図1に示した外部記憶手段に記憶された各データの記憶内容の一例について示す説明図である。It is explanatory drawing shown about an example of the memory content of each data memorize | stored in the external storage means shown in FIG. 1 in this execution example. 本実行例で図2および図6に示した5台の監視対象マシンに対して1周期目のポーリングを行った時の状態について示す説明図である。It is explanatory drawing shown about the state when polling of the 1st period is performed with respect to the five monitoring object machines shown to FIG. 2 and FIG. 6 in this execution example. 本実行例で図2および図6に示した5台の監視対象マシンに対して2周期目までのポーリングを行った時の状態について示す説明図である。It is explanatory drawing shown about the state when polling to the 2nd period is performed with respect to the five monitoring object machines shown to FIG. 2 and FIG. 6 in this execution example. 既存技術に係るポーリング監視システムのネットワーク構成について示す説明図である。It is explanatory drawing shown about the network structure of the polling monitoring system which concerns on the existing technique. 図9に示したポーリング監視システムで、1台だけの監視対象マシンに対してポーリングを行った状態の動作について示す説明図である。FIG. 10 is an explanatory diagram illustrating an operation in a state where polling is performed on only one monitored machine in the polling monitoring system illustrated in FIG. 9. 図9に示したポーリング監視システムで、5台の監視対象マシンに対して同時にポーリングを行った状態の動作について示す説明図である。FIG. 10 is an explanatory diagram illustrating an operation in a state where polling is simultaneously performed on five monitored machines in the polling monitoring system illustrated in FIG. 9. 図9に示したポーリング監視システムに特許文献1に記載の技術を適用した場合に、図11と同様に5台の監視対象マシンに対して同時にポーリングを行った状態の動作について示す説明図である。FIG. 10 is an explanatory diagram illustrating an operation in a state where polling is simultaneously performed on five monitored machines in the same manner as in FIG. 11 when the technique described in Patent Document 1 is applied to the polling monitoring system illustrated in FIG. 9. .

(実施形態)
以下、本発明の実施形態の構成について添付図1〜2に基づいて説明する。
最初に、本実施形態の基本的な内容について説明し、その後でより具体的な内容について説明する。
本実施形態に係るポーリング監視システム1は、複数の監視対象マシン20とポーリング監視サーバ10とが相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視システムである。ポーリング監視サーバ10は、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータ123およびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間(グループ別割当て時間データ125)をあらかじめ記憶する記憶手段(外部記憶手段13)と、グループ別割当て時間内にポーリングが実行可能な場合に各監視対象マシンに対して優先度の高い順にポーリングを行うと共にグループ別割当て時間内にポーリングが実行不可能となった場合に余ったグループ別割当て時間を記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部102と、グループ別割当て時間内のポーリングの終了後、プール時間内にポーリングが実行可能な場合に過去におけるポーリングの実行回数の最も少ない各監視対象マシンに対してポーリングを行うプール時間確認部103とを備える。
(Embodiment)
Hereinafter, the configuration of an embodiment of the present invention will be described with reference to FIGS.
First, the basic content of the present embodiment will be described, and then more specific content will be described.
The polling monitoring system 1 according to the present embodiment is a polling monitoring system in which a plurality of monitoring target machines 20 and a polling monitoring server 10 are connected to each other and check and record the operation of each monitoring target machine. The polling monitoring server 10 includes a group to which each monitored machine belongs, monitored machine data 123 indicating the priority for each group, and an allocation time for each group given for polling each monitored machine for each group (by group). Storage unit (external storage unit 13) for storing allocation time data 125) in advance, and when polling can be executed within the allocation time for each group, each monitored machine is polled in descending order of priority and for each group In-group polling execution unit 102 for adding the remaining group-specific allocation time to the pool time stored in the storage means when polling becomes impossible within the allocation time, and after polling within the group-specific allocation time In the past if polling can be performed within the pool time Kicking and a pool time confirmation unit 103 polls the fewest each monitored machine execution times of polling.

また、記憶手段13が、各監視対象マシンの過去におけるポーリングの実行回数を示すポーリング実行回数(ポーリング実行回数データ122)を記憶し、グループ内ポーリング実行部102およびプール時間確認部103が、ポーリングを実行した直後にその対象の監視対象マシンに対してポーリング実行回数を加算する。   The storage unit 13 stores the number of polling executions (polling execution number data 122) indicating the number of polling executions in the past for each monitored machine, and the in-group polling execution unit 102 and the pool time confirmation unit 103 perform polling. Immediately after execution, the polling execution count is added to the monitored machine.

さらに、プール時間確認部103が、過去におけるポーリングの実行回数の最も少ない監視対象マシンが複数台存在する場合に、監視対象マシンデータに設定された優先度の高い順にポーリングの実行対象となる監視対象マシンを決定する。   Furthermore, when there are a plurality of monitoring target machines with the smallest number of polling executions in the past, the pool time confirmation unit 103 is a monitoring target that is subject to polling in descending order of priority set in the monitoring target machine data. Determine the machine.

そして、グループ内ポーリング実行部102およびプール時間確認部103が、ポーリングを実行した直後にその対象の監視対象マシンに対する次回のポーリングの実行時刻を算出してこれを記憶手段に記憶する。   Then, the intra-group polling execution unit 102 and the pool time confirmation unit 103 calculate the next polling execution time for the target monitored machine immediately after executing the polling, and store this in the storage means.

以上の構成を備えることにより、ポーリング監視システム1は、優先度の高い監視対象マシンに対してはなるべく設定に近い間隔でポーリングを実行しつつ、優先度の低いものを含めた全ての監視対象マシンに対して漏れなくポーリングを実行することが可能となる。
以下、これをより詳細に説明する。
By having the above configuration, the polling monitoring system 1 performs polling on a monitoring target machine with a high priority at intervals as close as possible to all the monitoring target machines including those with a low priority. Polling can be executed without omission.
Hereinafter, this will be described in more detail.

図2は、本発明の実施形態に係るポーリング監視システム1の構成を示す説明図である。ポーリング監視システム1は、ポーリング監視サーバ10と、監視対象マシン20a〜20eとが、ネットワーク30を介して相互に接続されて構成される。監視対象マシン20a〜20eは全て共通した構成を有するので、以後総称して監視対象マシン20という。監視対象マシン20の台数には特に制限はないが、図2では例として5台の監視対象マシン20a〜20eを示している。これら5台は、各々A〜Eという識別子を持つ。   FIG. 2 is an explanatory diagram showing the configuration of the polling monitoring system 1 according to the embodiment of the present invention. The polling monitoring system 1 is configured by connecting a polling monitoring server 10 and monitoring target machines 20 a to 20 e to each other via a network 30. Since all the monitoring target machines 20a to 20e have a common configuration, they will be collectively referred to as monitoring target machines 20 hereinafter. The number of monitored machines 20 is not particularly limited, but FIG. 2 shows five monitored machines 20a to 20e as an example. These five units have identifiers A to E, respectively.

図1は、図2で示したポーリング監視サーバ10の構成をより詳しく示す説明図である。ポーリング監視サーバ10は、ネットワーク30を介して監視対象マシン20にポーリングを行うことによってこれらの監視対象マシン20の動作の確認および記録を行うコンピュータ装置であり、一般的なコンピュータとしての構成を備えるものである。   FIG. 1 is an explanatory diagram showing the configuration of the polling monitoring server 10 shown in FIG. 2 in more detail. The polling monitoring server 10 is a computer device that confirms and records the operations of the monitored machines 20 by polling the monitored machines 20 via the network 30, and has a configuration as a general computer. It is.

即ち、ポーリング監視サーバ10は、コンピュータプログラムとして記述された各種処理を実行する主体である主演算制御手段(CPU: Central Processing Unit)11と、主演算制御手段11によって処理中のデータを一時的に記憶する一時記憶手段(RAM: Random Access Memory)12と、多量のデータを記憶する外部記憶手段13(ハードディスクなど)と、ネットワーク30に接続して他のコンピュータとの間でデータ通信を行う通信手段14とを有する。   That is, the polling monitoring server 10 temporarily stores a main processing control unit (CPU: Central Processing Unit) 11 that is a main body that executes various processes described as a computer program and data being processed by the main processing control unit 11. Random access memory (RAM) 12 for storing, external storage means 13 (such as a hard disk) for storing a large amount of data, and communication means for communicating data with other computers connected to the network 30 14.

主演算制御手段11は、ポーリング監視プログラムが動作することにより、全体処理実行部101、グループ内ポーリング実行部102、プール時間確認部103の各々の機能部として動作する。これらの機能部の各々の動作内容については後述する。   The main arithmetic control unit 11 operates as a functional unit of the overall processing execution unit 101, the in-group polling execution unit 102, and the pool time confirmation unit 103 by the operation of the polling monitoring program. The operation contents of each of these functional units will be described later.

また、一時記憶手段12にはスケジュールデータ111が記憶されており、外部記憶手段13にはポーリング間隔データ121、ポーリング実行回数データ122、監視対象マシンデータ123、次回ポーリング実行時間データ124、グループ別割当て時間データ125、プール時間データ126の各々が記憶されている。これらのデータの各々の記憶内容についても後述する。   The temporary storage means 12 stores schedule data 111, and the external storage means 13 includes polling interval data 121, polling execution count data 122, monitored machine data 123, next polling execution time data 124, and allocation by group. Each of time data 125 and pool time data 126 is stored. The contents stored in each of these data will also be described later.

ポーリング間隔データ121には、ポーリング監視サーバ10が各々の監視対象マシン20にポーリングを実行するポーリング間隔と、1回のポーリングの所要時間(ポーリング処理時間)とが記憶される。ポーリング間隔+ポーリング処理時間=ポーリング周期となる。即ち、各々の監視対象マシン20に対してのポーリング間隔は、ユーザ(システム管理者)があらかじめ設定する。   The polling interval data 121 stores a polling interval at which the polling monitoring server 10 polls each monitored machine 20 and a time required for one polling (polling processing time). Polling interval + polling processing time = polling cycle. That is, the polling interval for each monitored machine 20 is set in advance by the user (system administrator).

ポーリング実行回数データ122には、ポーリング監視サーバ10が各々の監視対象マシン20に対してポーリングを実行した回数が、監視対象マシン20の識別子ごとに記憶される。   In the polling execution count data 122, the number of times the polling monitoring server 10 performs polling on each monitoring target machine 20 is stored for each identifier of the monitoring target machine 20.

監視対象マシンデータ123には、ポーリング監視サーバ10がポーリングを実行する対象である監視対象マシン20を判別する識別子が優先度に応じてN個のグループごとに分けられ、各グループは優先度の高いものから順に並べて記憶される。グループの数、そして各々のグループにどの監視対象マシン20を含めるかは、ユーザが優先度に応じあらかじめ設定する。   In the monitoring target machine data 123, an identifier for determining the monitoring target machine 20 that is a target to be polled by the polling monitoring server 10 is divided into N groups according to priority, and each group has a high priority. They are stored side by side in order. The number of groups and which monitored machines 20 are included in each group are set in advance by the user according to the priority.

次回ポーリング実行時間データ124には、各監視対象マシン20の識別子ごとに次回ポーリングを実行する予定の時間が格納される。1回目は全ての監視対象マシン20に対して「0」が初期値として設定され、監視対象マシンのポーリングを実行した後に次回ポーリング実行時間を計算した値が格納される。   The next polling execution time data 124 stores the time when the next polling is scheduled to be performed for each identifier of each monitored machine 20. In the first time, “0” is set as an initial value for all the monitoring target machines 20, and a value obtained by calculating the next polling execution time after polling the monitoring target machine is stored.

グループ別割当て時間データ125には、各グループに割当られたポーリングを実行する時間が格納される。時間の設定はユーザが行うが、優先度の高い監視対象マシンを含むグループがポーリングを実行する機会が多くなるよう割当てるように設定する。   The group-specific allocation time data 125 stores the time for performing polling allocated to each group. Although the time is set by the user, it is set so that the group including the monitoring target machine having a high priority is assigned so as to increase the opportunity to execute polling.

プール時間データ126には、後述するグループ内ポーリング実行部102の処理において、グループ別割当て時間のうちポーリング実行の処理で使用されなかった時間をプール時間として追加する。プール時間はプール時間確認部103内の処理でポーリング処理時間を満たした場合に、ポーリング実行の処理で使用される。   In the pool time data 126, a time that is not used in the polling execution process among the group allocation time in the process of the intra-group polling execution unit 102 described later is added as the pool time. The pool time is used in the polling execution process when the polling process time is satisfied by the process in the pool time confirmation unit 103.

スケジュールデータ111には、全体処理実行部101内の処理でグループに含まれる監視対象マシンの識別子と対応する次回ポーリング実行時間が一時的に記憶される。スケジュールデータ111に記憶されるデータは、次回ポーリング実行時間データ124と同一である。   The schedule data 111 temporarily stores the next polling execution time corresponding to the identifier of the monitoring target machine included in the group in the processing in the overall processing execution unit 101. The data stored in the schedule data 111 is the same as the next polling execution time data 124.

図3は、図1に示した全体処理実行部101の動作について示すフローチャートである。全体処理実行部101は、監視対象マシンデータ123で設定された各グループに対して後述するグループ内ポーリング実行部102およびプール時間確認部103を動作させる処理を繰り返す動作を行う。   FIG. 3 is a flowchart showing the operation of the overall process execution unit 101 shown in FIG. The overall process execution unit 101 performs an operation of repeating the process of operating the intra-group polling execution unit 102 and the pool time confirmation unit 103 described later for each group set in the monitoring target machine data 123.

より具体的には、動作を開始した全体処理実行部101は、まずカウンタiに初期値「1」を設定し(ステップS201)、設定されたN個のグループのうち、監視対象マシンデータ123に指定された優先度の高いものからi番目のグループNiに含まれる監視対象マシンの識別子を監視対象マシンデータ123から取得し、取得した監視対象マシンの識別子に対応する次回ポーリング実行時間を次回ポーリング実行時間データ124より取得して、このグループNiに対してグループ内ポーリング実行部102を動作させる(ステップS202)。   More specifically, the overall process execution unit 101 that has started the operation first sets an initial value “1” in the counter i (step S201), and in the set N groups, the monitoring target machine data 123 is set. The identifier of the monitored machine included in the i-th group Ni from the designated high priority is acquired from the monitored machine data 123, and the next polling execution time corresponding to the acquired monitored machine identifier is next polled. Obtained from the time data 124, the in-group polling execution unit 102 is operated for this group Ni (step S202).

この時、全体処理実行部101は、次回ポーリング実行時間が早い監視対象マシンから順に識別子と対応する次回ポーリング実行時間と合わせてスケジュールデータ111に記憶させる。   At this time, the overall process execution unit 101 stores the schedule data 111 together with the next polling execution time corresponding to the identifier in order from the monitoring target machine with the next next polling execution time being earlier.

続いて全体処理実行部101は、カウンタiの値を1つ増加させ(ステップS203)、カウンタの値iがグループ数Nを超えるかを判定する(ステップS204)。カウンタの値iがグループ数Nを越えなければ(ステップS204がノー)ステップS202〜204の処理をくり返す。カウンタの値iがグループ数Nを超えれば(ステップS204がイエス)、プール時間確認部103を動作させて(ステップS205)、ステップS201からまた処理を繰り返す。   Subsequently, the overall process execution unit 101 increments the value of the counter i by 1 (step S203), and determines whether the counter value i exceeds the number of groups N (step S204). If the counter value i does not exceed the number of groups N (No in step S204), the processes in steps S202 to S204 are repeated. If the counter value i exceeds the number N of groups (Yes in Step S204), the pool time confirmation unit 103 is operated (Step S205), and the process is repeated from Step S201.

図4は、図1に示したグループ内ポーリング実行部102の、図3のステップS202として示した動作について示すフローチャートである。グループ内ポーリング実行部102は、全体処理実行部101から指定されたi番目のグループNiに対し、グループNiに割当られたポーリングを実行する時間内で、まずポーリングを実行する残り時間がポーリング処理時間以上であるか否かを確認する。   FIG. 4 is a flowchart showing the operation shown as step S202 in FIG. 3 of the intra-group polling execution unit 102 shown in FIG. The in-group polling execution unit 102 first performs the polling processing time for the i-th group Ni designated by the overall processing execution unit 101 within the time for performing polling assigned to the group Ni. Check if this is the case.

そして、ポーリングを実行する残り時間がポーリング処理時間以上である場合には、現在時刻が監視対象マシン20の次回ポーリング実行時間を過ぎているかをチェックし、過ぎていたときはポーリングを実行する。全ての監視対象マシン20に対するこのチェックを完了するか、ポーリング処理時間がポーリングを実行する残り時間を超える場合、監視対象マシン20のポーリングを実行せず、ポーリングを実行する残り時間をプール時間として記憶する。   If the remaining time for executing polling is equal to or longer than the polling processing time, it is checked whether the current time has passed the next polling execution time of the monitored machine 20, and if it has passed, polling is executed. When this check for all the monitoring target machines 20 is completed or when the polling processing time exceeds the remaining time for performing the polling, the monitoring target machine 20 is not polled and the remaining time for the polling is stored as the pool time. To do.

より具体的には、図3のステップS202で全体処理実行部101からグループNiを指定されて動作を開始したグループ内ポーリング実行部102は、グループ別割当て時間データ125よりi番目のグループNiに設定されたグループ別割り当て時間をポーリング実行残り時間Tとして(ステップS301)、グループNiに含まれる監視対象マシン20の数をカウントするカウンタjに初期値「1」を設定する(ステップS302)。   More specifically, the intra-group polling execution unit 102 that has started operation by designating the group Ni from the overall processing execution unit 101 in step S202 of FIG. 3 sets the i-th group Ni from the group-specific allocation time data 125. The assigned time by group is set as the polling execution remaining time T (step S301), and an initial value “1” is set to a counter j that counts the number of monitored machines 20 included in the group Ni (step S302).

次にグループ内ポーリング実行部102は、ポーリング実行残り時間Tがポーリング処理時間以上であるか否かを判定し(ステップS303)、ポーリング実行残り時間Tがポーリング処理時間以下(ステップS303がノー)なら後述のステップS310に進む。ポーリング実行残り時間Tがポーリング処理時間以上(ステップS303がイエス)であれば、引き続いて現在時刻がj番目の監視対象マシン20の次回ポーリング実行時間を過ぎているか否かを判定する(ステップS304)。過ぎていなければ(ステップS304がノー)後述のステップS308に進む。   Next, the in-group polling execution unit 102 determines whether or not the remaining polling execution time T is equal to or longer than the polling processing time (step S303), and if the remaining polling execution time T is less than or equal to the polling processing time (step S303 is no). Proceed to step S310 to be described later. If the remaining polling execution time T is equal to or longer than the polling processing time (Yes in step S303), it is subsequently determined whether or not the current polling time of the j-th monitored machine 20 has passed the next polling execution time (step S304). . If not (NO in step S304), the process proceeds to step S308 described later.

現在時刻がj番目の監視対象マシンの次回ポーリング実行時間を過ぎていれば(ステップS304がイエス)、グループ内ポーリング実行部102はその監視対象マシン20にポーリングを実行して(ステップS305)、ステップS305で実行したポーリングの所要時間とポーリング間隔データ121から取得したj番目の監視対象マシンのポーリング間隔とを現在時刻に加算して、その監視対象マシン20の次回ポーリング実行時間を算出し(ステップS306)、そしてポーリング実行残り時間Tから監視対象マシン20のポーリングの所要時間を減算する(ステップS307)。   If the current time has passed the next polling execution time of the j-th monitored machine (Yes in step S304), the in-group polling execution unit 102 performs polling on the monitored machine 20 (step S305), and the step The time required for polling executed in S305 and the polling interval of the jth monitored machine acquired from the polling interval data 121 are added to the current time to calculate the next polling execution time of the monitored machine 20 (step S306). Then, the time required for polling the monitored machine 20 is subtracted from the remaining polling execution time T (step S307).

そしてグループ内ポーリング実行部102は、カウンタjの値を1つ増加させ(ステップS308)、このカウンタjの値がグループNiの監視対象マシン数Miを超えるか否かを判定する(ステップS309)。カウンタjの値がMiを超えていなければ(ステップS309がノー)、ステップS303に戻って処理を繰り返す。カウンタjの値がMiを超えていれば(ステップS309がイエス)、プール時間データ126に記憶されたプール時間データ126に余ったポーリング実行残り時間Tの値を加算して(ステップS310)処理を終了する。   The intra-group polling execution unit 102 increments the value of the counter j by 1 (step S308), and determines whether or not the value of the counter j exceeds the number of monitored machines Mi of the group Ni (step S309). If the value of the counter j does not exceed Mi (No in step S309), the process returns to step S303 and the process is repeated. If the value of the counter j exceeds Mi (Yes in step S309), the remaining polling execution remaining time T is added to the pool time data 126 stored in the pool time data 126 (step S310). finish.

図5は、図1に示したプール時間確認部103の、図3のステップS205として示した動作について示すフローチャートである。プール時間確認部103は、全体処理実行部101から呼び出されて動作し、蓄積されたプール時間がポーリング処理時間以上の場合、現在時刻が次回ポーリング実行時間を過ぎている監視対象マシン20のうち、ポーリング実行回数が最も少ない監視対象マシン20を選択してポーリングを実行する。ポーリングを実行した後はプール時間からポーリング処理にかかった時間を減算した後、最初に戻ってポーリング処理時間がプール時間を超える場合まで処理を繰り返す。   FIG. 5 is a flowchart showing the operation shown as step S205 in FIG. 3 by the pool time confirmation unit 103 shown in FIG. The pool time confirmation unit 103 is called from the overall processing execution unit 101 and operates. When the accumulated pool time is equal to or longer than the polling processing time, the current time of the monitored machines 20 whose next polling execution time has passed are: The monitoring target machine 20 having the smallest number of polling executions is selected and polled. After executing the polling, after subtracting the time required for the polling process from the pool time, the process returns to the beginning and the process is repeated until the polling process time exceeds the pool time.

より具体的には、図3のステップS205で全体処理実行部101から呼び出されたプール時間確認部103は、まずプール時間データ126に記憶されたプール時間がポーリング処理にかかる時間以上であるか否か、即ちこのプール時間でポーリング処理を行うことが可能であるかについて判定する(ステップS401)。記憶されたプール時間でポーリング処理を行うことが不可能なら(ステップS401がノー)、そこで処理を終了する。   More specifically, the pool time confirmation unit 103 called from the overall process execution unit 101 in step S205 of FIG. 3 first determines whether or not the pool time stored in the pool time data 126 is equal to or longer than the time required for the polling process. That is, it is determined whether the polling process can be performed in this pool time (step S401). If the polling process cannot be performed in the stored pool time (No in step S401), the process ends there.

記憶されたプール時間でポーリング処理を行うことが可能であれば(ステップS401がイエス)、プール時間確認部103は監視対象マシン20の中で現在時刻が次回ポーリング実行時間を過ぎているものを次回ポーリング実行時間データ124から抽出し(ステップS402)、そこで抽出した監視対象マシン20の各々についてポーリング実行回数データ122からポーリング実行回数を確認して、これらの監視対象マシン20の中でポーリング実行回数が最も少ないものに対してポーリングを実行する(ステップS403)。ここで、ポーリング実行回数が同じ監視対象マシン20が複数存在した場合、監視対象マシンが属しているグループで優先度が高い方を選択してポーリングを実行する。   If it is possible to perform the polling process with the stored pool time (Yes in step S401), the pool time confirmation unit 103 next selects the monitored machine 20 whose current time has passed the next polling execution time. Extracted from the polling execution time data 124 (step S402), the number of polling executions is confirmed from the polling execution number data 122 for each of the monitored machines 20 extracted there. Polling is executed for the smallest number (step S403). Here, when there are a plurality of monitoring target machines 20 having the same number of polling executions, the higher priority is selected in the group to which the monitoring target machine belongs and polling is executed.

そしてプール時間確認部103は、ポーリング実行回数データ122で、ポーリングを実行したその監視対象マシン20のポーリング実行回数を1つ増加する(ステップS404)。そしてプール時間確認部103はステップS403でポーリングを実行した監視対象マシン20の次回ポーリング実行時間を、ポーリング間隔データ121から取得した該監視対象マシンのポーリング間隔と該監視対象マシンのポーリングの実際の所要時間との合計から計算し(ステップS405)、プール時間からステップS403のポーリング処理の実際の所要時間を減算する(ステップS406)。この後はステップS401に戻って判断を繰り返す。   Then, the pool time confirmation unit 103 increases the polling execution count of the monitored machine 20 that has performed polling by one in the polling execution count data 122 (step S404). Then, the pool time confirmation unit 103 sets the next polling execution time of the monitored machine 20 that has been polled in step S403, the polling interval of the monitored machine acquired from the polling interval data 121, and the actual required polling of the monitored machine. The total time is calculated (step S405), and the actual required time for the polling process in step S403 is subtracted from the pool time (step S406). Thereafter, the process returns to step S401 to repeat the determination.

(本実施形態の具体的な実行例)
以上で説明した本実施形態を具体的に実行した例について、以下に示す。
(Specific execution example of this embodiment)
An example in which the present embodiment described above is specifically executed will be described below.

図6は、本実行例で図1に示した外部記憶手段13に記憶された各データの記憶内容の一例について示す説明図である。ポーリング間隔データ121には、図10〜12と同様に、1台の監視対象マシン20にポーリングを実行したときのポーリング処理時間を2とし、ポーリング間隔を6とし、合わせたポーリング周期を8とするという旨のデータがあらかじめ記憶されている。   FIG. 6 is an explanatory diagram showing an example of the storage contents of each data stored in the external storage unit 13 shown in FIG. 1 in this execution example. In the polling interval data 121, as in FIGS. 10 to 12, the polling processing time when polling is performed on one monitored machine 20 is 2, the polling interval is 6, and the combined polling cycle is 8. Is stored in advance.

監視対象マシンデータ123にあらかじめ記憶されたデータでは、5台の監視対象マシン20a〜20eを各々A〜Eの識別子でいい、監視対象マシンAおよびBを「グループ1」、CおよびDを「グループ2」、Eを「グループ3」という3つのグループに分け、「グループ1」に最も高い優先度「3」、「グループ2」に優先度「2」、「グループ3」最も低い優先度「1」が設定されている。   In the data stored in the monitoring target machine data 123 in advance, the five monitoring target machines 20a to 20e can be respectively identified by the identifiers A to E, the monitoring target machines A and B are “group 1”, and C and D are “group”. 2 ”and E are divided into three groups“ Group 3 ”,“ Group 1 ”has the highest priority“ 3 ”,“ Group 2 ”has the priority“ 2 ”, and“ Group 3 ”has the lowest priority“ 1 ”. "Is set.

そして、グループ別割当て時間データ125にあらかじめ記憶されたデータでは、このグループ1〜3の各々に対して4、3、1というポーリング実行時間を割り当てている。ポーリング間隔データ121、監視対象マシンデータ123、およびグループ別割当て時間データ125は、あらかじめ与えられた設定を示す固定値であり、設定の変更がない限りこれらの値は保持される。   In the data stored in advance in the group-specific allocation time data 125, polling execution times of 4, 3, and 1 are allocated to the groups 1 to 3, respectively. The polling interval data 121, the monitoring target machine data 123, and the group allocation time data 125 are fixed values indicating settings given in advance, and these values are held unless the settings are changed.

ポーリング実行回数データ122は、監視対象マシン20a〜20e(A〜E)の全てに対して「0」の初期値が定義されている。次回ポーリング実行時間データ124およびスケジュールデータ111の初期値は、監視対象マシン20a〜20e(A〜E)の全てに対して空欄である。プール時間データ126の初期値も「0」である。   In the polling execution count data 122, an initial value of “0” is defined for all of the monitoring target machines 20a to 20e (A to E). The initial values of the next polling execution time data 124 and the schedule data 111 are blank for all the monitoring target machines 20a to 20e (A to E). The initial value of the pool time data 126 is also “0”.

ポーリングが実行されるたびに、その対象となった監視対象マシン20a〜20e(A〜E)で、ポーリング実行回数データ122の実行回数が1ずつ増加され、また次回ポーリング実行時間データ124の次回ポーリング実行時間が算出される。プール時間データ126も、後述するように実行状況に応じて増減される値である。   Each time polling is performed, the number of executions of the polling execution count data 122 is incremented by 1 in the monitored machines 20a to 20e (AE) that are the targets, and the next polling execution time data 124 is polled next time. The execution time is calculated. The pool time data 126 is also a value that is increased or decreased according to the execution status, as will be described later.

図7は、本実行例で図2および図6に示した5台の監視対象マシン20a〜20e(A〜E)に対して1周期目のポーリングを行った時の状態について示す説明図である。まずは、全体処理実行部101が、グループ1に属する監視対象マシンAおよびBに対してグループ内ポーリング実行部102を動作させる(図3・ステップS202)。   FIG. 7 is an explanatory diagram illustrating a state when polling of the first cycle is performed on the five monitoring target machines 20a to 20e (AE) illustrated in FIGS. 2 and 6 in the present execution example. . First, the overall process execution unit 101 operates the in-group polling execution unit 102 for the monitoring target machines A and B belonging to the group 1 (step S202 in FIG. 3).

グループ内ポーリング実行部102は、このグループ1のグループ別割当て時間が4であり、監視対象マシン1台あたりのポーリングの所要時間が2であるので、監視対象マシンAおよびBに対してそのままポーリングを実行し、それら監視対象マシンAおよびBのポーリング実行回数データ122の値を1だけ増加させて「1」とする(図4・ステップS301〜309)。   The intra-group polling execution unit 102 performs the polling on the monitoring target machines A and B as they are because the group allocation time of the group 1 is 4 and the polling time per monitoring target machine is 2. And the value of the polling execution count data 122 of the monitored machines A and B is increased by 1 to “1” (FIG. 4, steps S301 to S309).

監視対象マシンAおよびBに対してポーリングを実行するとグループ別割当て時間と同じ4だけ時間が経過するので、プール時間データ126に記憶されたプール時間に加算される時間の値は0である(図4・ステップS310)。   When polling is performed on the monitoring target machines A and B, the same 4 times as the allocation time by group elapses, so the value of the time added to the pool time stored in the pool time data 126 is 0 (FIG. 4. Step S310).

続いて、全体処理実行部101が、グループ2に属する監視対象マシンCおよびDに対してグループ内ポーリング実行部102を動作させる(図3・ステップS202)。   Subsequently, the overall process execution unit 101 operates the in-group polling execution unit 102 for the monitoring target machines C and D belonging to the group 2 (step S202 in FIG. 3).

ここでグループ内ポーリング実行部102は、このグループ2のグループ別割当て時間が3であり、監視対象マシン1台あたりのポーリングの所要時間が2であるので、監視対象マシンCに対してポーリングを実行してポーリング実行回数データ122の値を1だけ増加させて「1」とすると、グループ別割当て時間の残りが「1」となる(図4・ステップS301〜309)。   Here, the intra-group polling execution unit 102 performs the polling on the monitoring target machine C because the group-specific allocation time of the group 2 is 3, and the time required for polling per monitoring target machine is 2. Then, when the value of the polling execution count data 122 is increased by 1 to “1”, the remaining allocation time for each group becomes “1” (FIG. 4, steps S301 to S309).

そのため、監視対象マシンDに対するポーリングを実行することはできないので、この残り時間=「1」をプール時間に加算し、プール時間=「1」をプール時間データ126として記憶する(図4・ステップS310)。   Therefore, since polling cannot be executed for the monitored machine D, the remaining time = "1" is added to the pool time, and the pool time = "1" is stored as the pool time data 126 (FIG. 4, step S310). ).

さらに引き続いて、全体処理実行部101が、グループ3に属する監視対象マシンEに対してグループ内ポーリング実行部102を動作させる(図3・ステップS202)。ここでグループ内ポーリング実行部102は、このグループ3のグループ別割当て時間が1であり、監視対象マシン1台あたりのポーリングの所要時間が2であるので、監視対象マシンEに対するポーリングを実行せずに(図4・ステップS301〜309)、この残り時間=「1」をプール時間に加算し、プール時間=「2」をプール時間データ126として記憶する(ステップS310)。   Subsequently, the overall process execution unit 101 operates the in-group polling execution unit 102 for the monitoring target machine E belonging to the group 3 (step S202 in FIG. 3). Here, the intra-group polling execution unit 102 does not execute the polling for the monitoring target machine E because the allocation time for each group of the group 3 is 1 and the time required for polling per monitoring target machine is 2. (FIG. 4, steps S301 to S309), the remaining time = "1" is added to the pool time, and the pool time = "2" is stored as the pool time data 126 (step S310).

これでプール時間=2となり、監視対象マシン1台分のポーリングが可能な時間となる。と同時に、全てのグループに対してグループ内ポーリング実行部102の動作が終了したので、プール時間確認部103による動作が開始される(図3・ステップS205)。プール時間確認部103は、現在のプール時間(=2)でポーリングが可能であることを確認してから(図5・ステップS401)、現在時刻が次回ポーリング実行時間を過ぎているものを次回ポーリング実行時間データ124から抽出して、監視対象マシンDおよびEに対してまだポーリングが実行されていないことを確認する(図5・ステップS402)。   As a result, the pool time = 2, and the time for polling of one monitored machine is possible. At the same time, since the operation of the intra-group polling execution unit 102 has been completed for all groups, the operation by the pool time confirmation unit 103 is started (step S205 in FIG. 3). The pool time confirmation unit 103 confirms that polling is possible at the current pool time (= 2) (FIG. 5, step S401), and next polls the current time that has passed the next polling execution time. It is extracted from the execution time data 124 and it is confirmed that the monitoring target machines D and E are not yet polled (step S402 in FIG. 5).

そしてプール時間確認部103は、これらの監視対象マシンDおよびEはいずれもポーリング実行回数データ122に登録されたポーリング実行回数が「0」であることを確認するが、優先度は監視対象マシンデータ123でグループ2に属する監視対象マシンDの方が高いので、監視対象マシンDに対してポーリングを実行する(図5・ステップS403)。これでプール時間は0となる(図5・ステップS406)ので、プール時間確認部103による処理は終了する。   Then, the pool time confirmation unit 103 confirms that the number of polling executions registered in the polling execution number data 122 is “0” for each of the monitoring target machines D and E, but the priority is monitored machine data. In 123, since the monitored machine D belonging to the group 2 is higher, polling is executed for the monitored machine D (step S403 in FIG. 5). Since the pool time is now 0 (FIG. 5, step S406), the processing by the pool time confirmation unit 103 ends.

以上で1周期目の処理が終了し、2周期目も同様に処理が実行される。監視対象マシンA,B,Cに対するポーリングは1周期目と同様に実行されるが、プール時間=「2」となってプール時間確認部103が監視対象マシン1台分のポーリングを行う段階で、今度は監視対象マシンEだけがまだポーリング実行回数が「0」である、即ちポーリングが実行されていないので、プール時間確認部103は監視対象マシンEに対してポーリングを実行する(図5・ステップS402〜403)。   Thus, the process for the first cycle is completed, and the process is similarly performed for the second cycle. Polling for the monitoring target machines A, B, and C is executed in the same manner as in the first cycle. However, when the pool time = “2” and the pool time confirmation unit 103 performs polling for one monitoring target machine, This time, only the monitoring target machine E has the polling execution count of “0”, that is, polling has not been executed, so the pool time confirmation unit 103 performs polling on the monitoring target machine E (step in FIG. 5). S402-403).

図8は、本実行例で図2および図6に示した5台の監視対象マシン20a〜20e(A〜E)に対して2周期目までのポーリングを行った時の状態について示す説明図である。以上で説明したように、本実行例では監視対象マシンA→B→C→D→A→B→C→Eの順でポーリングが実行されている。3周期目以降も、1〜2周期目の動作が継続される。   FIG. 8 is an explanatory diagram showing a state when polling up to the second cycle is performed on the five monitored machines 20a to 20e (AE) shown in FIGS. 2 and 6 in this execution example. is there. As described above, in this execution example, polling is executed in the order of the monitoring target machine A → B → C → D → A → B → C → E. The operations in the first and second cycles are continued after the third cycle.

即ち、優先度の高いグループ1に属する監視対象マシンAおよびBについては、設定した周期=8から遅れることなくポーリングが実行されている。また、その他の監視対象マシンC〜Eについても、漏れることなくポーリングが実行されている。   That is, polling is executed for the monitored machines A and B belonging to the group 1 with high priority without delay from the set cycle = 8. In addition, polling is executed for the other monitored machines C to E without leaking.

(実施形態の全体的な動作)
次に、上記の実施形態の全体的な動作について説明する。本実施形態に係るポーリング監視方法は、複数の監視対象マシン20とポーリング監視サーバ10とが相互に接続され、各監視対象マシンの動作の確認および記録を行うポーリング監視システム1にあって、各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよびグループごとに各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめポーリング監視サーバの記憶手段に記憶し、グループ別割当て時間内にポーリングが実行可能か否かをポーリング監視サーバのグループ内ポーリング実行部が判断し(図4・ステップS303)、グループ別割当て時間内にポーリングが実行可能である場合、各監視対象マシンに対して優先度の高い順にポーリング監視サーバのグループ内ポーリング実行部がポーリングを行い(図4・ステップS304〜309)、グループ別割当て時間内にポーリングが実行不可能となった場合、余ったグループ別割当て時間をポーリング監視サーバのグループ内ポーリング実行部が記憶手段に記憶されたプール時間に加算し(図4・ステップS310)、グループ別割当て時間内のポーリングの終了後、プール時間内にポーリングが実行可能か否かをポーリング監視サーバのプール時間確認部が判断し(図5・ステップS401)、プール時間内にポーリングが実行可能である場合、過去におけるポーリングの実行回数の最も少ない監視対象マシンに対してポーリング監視サーバのプール時間確認部がポーリングを行う(図5・ステップS403)。
(Overall operation of the embodiment)
Next, the overall operation of the above embodiment will be described. The polling monitoring method according to the present embodiment is a polling monitoring system 1 in which a plurality of monitoring target machines 20 and a polling monitoring server 10 are connected to each other, and check and record the operation of each monitoring target machine. Storing in the storage means of the polling monitoring server in advance the group to which the target machine belongs and the monitoring target machine data indicating the priority for each group and the group-by-group allocation time given for polling each monitoring target machine; The intra-group polling execution unit of the polling monitoring server determines whether or not polling can be performed within the group-specific allocation time (step S303 in FIG. 4). The polling monitoring server in descending order of priority for the target machine When the in-loop polling execution part performs polling (FIG. 4, steps S304 to S309), when polling becomes impossible to execute within the group allocation time, the remaining group allocation time is polled within the group of the polling monitoring server. Is added to the pool time stored in the storage means (step S310 in FIG. 4), and after polling within the allocation time for each group, whether or not polling can be executed within the pool time is determined by the pool time of the polling monitoring server When the confirmation unit determines (step S401 in FIG. 5) and the polling can be executed within the pool time, the polling monitoring server pool time confirmation unit polls the monitored machine having the smallest number of polling executions in the past. (FIG. 5, step S403).

ここで、上記各動作ステップについては、これをコンピュータで実行可能にプログラム化し、これらを前記各ステップを直接実行するコンピュータであるポーリング監視サーバ10に実行させるようにしてもよい。本プログラムは、非一時的な記録媒体、例えば、DVD、CD、フラッシュメモリ等に記録されてもよい。その場合、本プログラムは、記録媒体からコンピュータによって読み出され、実行される。
この動作により、本実施形態は以下のような効果を奏する。
Here, about each said operation step, this may be programmed so that execution is possible with a computer, and you may make it perform the polling monitoring server 10 which is a computer which performs each said step directly. The program may be recorded on a non-transitory recording medium, such as a DVD, a CD, or a flash memory. In this case, the program is read from the recording medium by a computer and executed.
By this operation, this embodiment has the following effects.

本実施形態によれば、優先度の高い監視対象マシンに対しては、その優先度の順にポーリングを行うので、設定通りの間隔、もしくはそれに近い間隔でポーリングを実行可能である。その一方で、優先度の高い監視対象マシンに対するポーリングの実行で余った時間をプール時間として蓄積し、このプール時間でポーリングの実行回数の最も少ない監視対象マシンに対してポーリングを行うので、優先度の低い監視対象マシンについてもポーリングが実行される。   According to the present embodiment, the monitoring target machines with high priority are polled in the order of the priorities, so that the polling can be executed at an interval as set or close thereto. On the other hand, the remaining time for polling execution of high-priority monitored machines is accumulated as pool time, and polling is performed for the monitored machine with the least number of polling times during this pool time. Polling is also performed on monitored machines with low values.

その際、ポーリング実行回数データを基準とし、過去における実行回数の最も少ない監視対象マシンから順にポーリングを実行するので、この動作を繰り返し継続することにより、ポーリングが行われない監視対象マシンが発生することがなくなる。   At that time, polling is executed in order from the monitored machine with the smallest number of executions in the past, based on the polling execution count data, and by repeating this operation repeatedly, there will be a monitored machine that is not polled. Disappears.

これまで本発明について図面に示した特定の実施形態をもって説明してきたが、本発明は図面に示した実施形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができる。   The present invention has been described with reference to the specific embodiments shown in the drawings. However, the present invention is not limited to the embodiments shown in the drawings, and any known hitherto provided that the effects of the present invention are achieved. Even if it is a structure, it is employable.

上述した実施形態について、その新規な技術内容の要点をまとめると、以下のようになる。なお、上記実施形態の一部または全部は、新規な技術として以下のようにまとめられるが、本発明は必ずしもこれに限定されるものではない。   Regarding the embodiment described above, the main points of the new technical contents are summarized as follows. In addition, although part or all of the said embodiment is summarized as follows as a novel technique, this invention is not necessarily limited to this.

(付記1) 複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムであって、
前記ポーリング監視サーバが、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、
前記ポーリングが前記グループ別割当て時間内に実行可能な場合に前記各監視対象マシンに対して前記優先度の高い順にポーリングを行うと共に、前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合には余った前記グループ別割当て時間を前記記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、
前記グループ別割当て時間内のポーリングの終了後、前記ポーリングが前記プール時間内に実行可能な場合に、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行うプール時間確認部と
を備えることを特徴とするポーリング監視システム。
(Appendix 1) A polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and confirm and record the operation of each monitored machine,
The polling monitoring server is
Storage means for preliminarily storing a group to which each monitored machine belongs, monitored machine data indicating a priority for each group, and an allocation time for each group given for polling each monitored machine for each group; ,
When the polling can be performed within the allocation time for each group, the respective machines to be monitored are polled in the descending order of priority, and the polling cannot be performed within the allocation time for each group. In this case, an intra-group polling execution unit that adds the remaining allocation time by group to the pool time stored in the storage unit;
A pool time confirmation unit that polls the monitored machine with the smallest number of polling executions in the past when the polling can be performed within the pool time after the polling within the group allocation time is completed. And a polling monitoring system.

(付記2) 前記記憶手段が、前記各監視対象マシンの過去における前記ポーリングの実行回数を示すポーリング実行回数を記憶していると共に、
前記グループ内ポーリング実行部および前記プール時間確認部が、前記ポーリングを実行した直後にその対象の前記監視対象マシンに対して前記ポーリング実行回数を加算する機能を有することを特徴とする、付記1に記載のポーリング監視システム。
(Additional remark 2) While the said memory | storage means has memorize | stored the polling execution frequency which shows the execution frequency of the said polling in the past of each said monitoring object machine,
The supplementary note 1 is characterized in that the in-group polling execution unit and the pool time confirmation unit have a function of adding the number of polling executions to the monitored machine immediately after the polling is executed. The polling monitoring system described.

(付記3) 前記プール時間確認部が、前記過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンが複数台存在する場合に、前記監視対象マシンデータに設定された前記優先度の高い順に前記ポーリングの実行対象となる前記監視対象マシンを決定する機能を有することを特徴とする、付記1に記載のポーリング監視システム。 (Supplementary Note 3) When there are a plurality of the monitoring target machines with the smallest number of executions of the polling in the past, the pool time confirmation unit, in the descending order of the priority set in the monitoring target machine data The polling monitoring system according to appendix 1, characterized by having a function of determining the monitoring target machine to be polled.

(付記4) 前記グループ内ポーリング実行部および前記プール時間確認部が、前記ポーリングを実行した直後にその対象の前記監視対象マシンに対する次回のポーリングの実行時刻を算出してこれを前記記憶手段に記憶する機能を有することを特徴とする、付記1に記載のポーリング監視システム。 (Supplementary Note 4) Immediately after executing the polling, the in-group polling execution unit and the pool time confirmation unit calculate the next polling execution time for the target monitored machine and store it in the storage unit. The polling monitoring system according to appendix 1, characterized by having a function of:

(付記5) 複数の監視対象マシンと相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視サーバであって、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、
前記ポーリングが前記グループ別割当て時間内に実行可能な場合に前記各監視対象マシンに対して前記優先度の高い順にポーリングを行うと共に、前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合には余った前記グループ別割当て時間を前記記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能な場合に、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行うプール時間確認部と
を備えることを特徴とするポーリング監視サーバ。
(Supplementary Note 5) A polling monitoring server that is mutually connected to a plurality of monitored machines and that checks and records the operation of each monitored machine,
Storage means for preliminarily storing a group to which each monitored machine belongs, monitored machine data indicating a priority for each group, and an allocation time for each group given for polling each monitored machine for each group; ,
When the polling can be performed within the allocation time for each group, the respective machines to be monitored are polled in the descending order of priority, and the polling cannot be performed within the allocation time for each group. In this case, an intra-group polling execution unit that adds the remaining allocation time by group to the pool time stored in the storage unit;
Pool time confirmation unit that polls the monitored machine with the smallest number of polling executions in the past when the polling can be performed within the pool time after the polling within the group allocation time is completed. And a polling monitoring server.

(付記6) 複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ前記ポーリング監視サーバの記憶手段に記憶し、
前記グループ別割当て時間内に前記ポーリングが実行可能か否かを前記ポーリング監視サーバのグループ内ポーリング実行部が判断し、
前記ポーリングが前記グループ別割当て時間内に実行可能である場合、前記各監視対象マシンに対して前記優先度の高い順に前記ポーリング監視サーバの前記グループ内ポーリング実行部がポーリングを行い、
前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合、余ったグループ別割当て時間を、前記ポーリング監視サーバのグループ内ポーリング実行部が前記記憶手段に記憶されたプール時間に加算し、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能か否かを、前記ポーリング監視サーバのプール時間確認部が判断し、
前記ポーリングが前記プール時間内に実行可能である場合、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対して前記ポーリング監視サーバの前記プール時間確認部がポーリングを行う
ことを特徴とするポーリング監視方法。
(Supplementary Note 6) In a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded,
The group to which each monitored machine belongs and the monitored machine data indicating the priority of each group and the allocation time for each group given for polling each monitored machine for each group are set in advance in the polling monitoring server. Memorize it in the memory means,
The in-group polling execution unit of the polling monitoring server determines whether or not the polling can be executed within the allocation time for each group,
When the polling can be executed within the allocation time by group, the in-group polling execution unit of the polling monitoring server performs polling in order of the priority for each monitored machine,
When the polling becomes impossible to execute within the allocation time for each group, the remaining allocation time for each group is added to the pool time stored in the storage means by the in-group polling execution unit of the polling monitoring server,
After completion of polling within the group allocation time, the pool time confirmation unit of the polling monitoring server determines whether or not the polling can be executed within the pool time,
When the polling can be performed within the pool time, the pool time confirmation unit of the polling monitoring server polls the monitored machine with the smallest number of polling executions in the past. Polling monitoring method.

(付記7) 複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、
前記ポーリング監視サーバが備える、前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶したコンピュータに、
前記ポーリングが前記グループ別割当て時間内に実行可能か否かを判断する手順、
前記ポーリングが前記グループ別割当て時間内に実行可能である場合、前記各監視対象マシンに対して前記優先度の高い順にポーリングを行う手順、
前記グループ別割当て時間内に前記ポーリングが実行不可能となった場合、余ったグループ別割当て時間を記憶されたプール時間に加算する手順、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能か否かを判断する手順、
および前記ポーリングが前記プール時間内に実行可能である場合、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行う手順
を実行させることを特徴とするポーリング監視プログラム。
(Supplementary note 7) In a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded,
The polling monitoring server has a group to which each monitored machine belongs, monitored machine data indicating the priority of each group, and an allocation time for each group given for polling each monitored machine for each group On a computer that stores
A procedure for determining whether or not the polling can be performed within the allocation time for each group;
When the polling can be executed within the group allocation time, a procedure for polling the monitored machines in order of the priority,
A step of adding the remaining group allocation time to the stored pool time when the polling becomes impossible within the group allocation time;
A procedure for determining whether or not the polling can be executed within the pool time after the polling within the group-specific allocation time is completed;
When the polling can be performed within the pool time, a polling monitoring program that causes the monitoring target machine having the smallest number of polling executions in the past to be executed is executed.

本発明は、コンピュータネットワークに対して適用することができる。   The present invention can be applied to a computer network.

1 ポーリング監視システム
10 ポーリング監視サーバ
11 主演算制御手段
12 一時記憶手段
13 外部記憶手段
14 通信手段
20、20a〜e、A〜E 監視対象マシン
30 ネットワーク
101 全体処理実行部
102 グループ内ポーリング実行部
103 プール時間確認部
111 スケジュールデータ
121 ポーリング間隔データ
122 ポーリング実行回数データ
123 監視対象マシンデータ
124 次回ポーリング実行時間データ
125 グループ別割当て時間データ
126 プール時間データ
DESCRIPTION OF SYMBOLS 1 Polling monitoring system 10 Polling monitoring server 11 Main operation control means 12 Temporary storage means 13 External storage means 14 Communication means 20, 20a-e, AE Monitoring target machine 30 Network 101 Overall processing execution part 102 In-group polling execution part 103 Pool time confirmation unit 111 Schedule data 121 Polling interval data 122 Polling execution count data 123 Monitored machine data 124 Next polling execution time data 125 Group allocation time data 126 Pool time data

Claims (7)

複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムであって、
前記ポーリング監視サーバが、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、
前記ポーリングが前記グループ別割当て時間内に実行可能な場合に前記各監視対象マシンに対して前記優先度の高い順にポーリングを行うと共に、前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合には余った前記グループ別割当て時間を前記記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、
前記グループ別割当て時間内のポーリングの終了後、前記ポーリングが前記プール時間内に実行可能な場合に、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行うプール時間確認部と
を備えることを特徴とするポーリング監視システム。
A polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded.
The polling monitoring server is
Storage means for preliminarily storing a group to which each monitored machine belongs, monitored machine data indicating a priority for each group, and an allocation time for each group given for polling each monitored machine for each group; ,
When the polling can be performed within the allocation time for each group, the respective machines to be monitored are polled in the descending order of priority, and the polling cannot be performed within the allocation time for each group. In this case, an intra-group polling execution unit that adds the remaining allocation time by group to the pool time stored in the storage unit;
A pool time confirmation unit that polls the monitored machine with the smallest number of polling executions in the past when the polling can be performed within the pool time after the polling within the group allocation time is completed. And a polling monitoring system.
前記記憶手段が、前記各監視対象マシンの過去における前記ポーリングの実行回数を示すポーリング実行回数を記憶していると共に、
前記グループ内ポーリング実行部および前記プール時間確認部が、前記ポーリングを実行した直後にその対象の前記監視対象マシンに対して前記ポーリング実行回数を加算する機能を有することを特徴とする、請求項1に記載のポーリング監視システム。
The storage means stores a polling execution count indicating the polling execution count in the past of each monitored machine,
The in-group polling execution unit and the pool time confirmation unit have a function of adding the number of polling executions to the monitoring target machine immediately after the polling is executed. Polling monitoring system described in 1.
前記プール時間確認部が、前記過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンが複数台存在する場合に、前記監視対象マシンデータに設定された前記優先度の高い順に前記ポーリングの実行対象となる前記監視対象マシンを決定する機能を有することを特徴とする、請求項1に記載のポーリング監視システム。   When there are a plurality of monitored machines with the smallest number of polling executions in the past, the pool time confirmation unit performs the polling execution targets in descending order of priority set in the monitored machine data The polling monitoring system according to claim 1, further comprising: a function for determining the monitoring target machine. 前記グループ内ポーリング実行部および前記プール時間確認部が、前記ポーリングを実行した直後にその対象の前記監視対象マシンに対する次回のポーリングの実行時刻を算出してこれを前記記憶手段に記憶する機能を有することを特徴とする、請求項1に記載のポーリング監視システム。   The in-group polling execution unit and the pool time confirmation unit have a function of calculating the next polling execution time for the target monitored machine immediately after executing the polling and storing this in the storage means The polling monitoring system according to claim 1, wherein: 複数の監視対象マシンと相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視サーバであって、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶する記憶手段と、
前記ポーリングが前記グループ別割当て時間内に実行可能な場合に前記各監視対象マシンに対して前記優先度の高い順にポーリングを行うと共に、前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合には余った前記グループ別割当て時間を前記記憶手段に記憶されたプール時間に加算するグループ内ポーリング実行部と、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能な場合に、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行うプール時間確認部と
を備えることを特徴とするポーリング監視サーバ。
A polling monitoring server that is mutually connected to a plurality of monitored machines and that checks and records the operation of each monitored machine,
Storage means for preliminarily storing a group to which each monitored machine belongs, monitored machine data indicating a priority for each group, and an allocation time for each group given for polling each monitored machine for each group; ,
When the polling can be performed within the allocation time for each group, the respective machines to be monitored are polled in the descending order of priority, and the polling cannot be performed within the allocation time for each group. In this case, an intra-group polling execution unit that adds the remaining allocation time by group to the pool time stored in the storage unit;
Pool time confirmation unit that polls the monitored machine with the smallest number of polling executions in the past when the polling can be performed within the pool time after the polling within the group allocation time is completed. And a polling monitoring server.
複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、
前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ前記ポーリング監視サーバの記憶手段に記憶し、
前記グループ別割当て時間内に前記ポーリングが実行可能か否かを前記ポーリング監視サーバのグループ内ポーリング実行部が判断し、
前記ポーリングが前記グループ別割当て時間内に実行可能である場合、前記各監視対象マシンに対して前記優先度の高い順に前記ポーリング監視サーバの前記グループ内ポーリング実行部がポーリングを行い、
前記ポーリングが前記グループ別割当て時間内に実行不可能となった場合、余ったグループ別割当て時間を、前記ポーリング監視サーバのグループ内ポーリング実行部が前記記憶手段に記憶されたプール時間に加算し、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能か否かを、前記ポーリング監視サーバのプール時間確認部が判断し、
前記ポーリングが前記プール時間内に実行可能である場合、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対して前記ポーリング監視サーバの前記プール時間確認部がポーリングを行う
ことを特徴とするポーリング監視方法。
In a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded,
The group to which each monitored machine belongs and the monitored machine data indicating the priority of each group and the allocation time for each group given for polling each monitored machine for each group are set in advance in the polling monitoring server. Memorize it in the memory means,
The in-group polling execution unit of the polling monitoring server determines whether or not the polling can be executed within the allocation time for each group,
When the polling can be executed within the allocation time by group, the in-group polling execution unit of the polling monitoring server performs polling in order of the priority for each monitored machine,
When the polling becomes impossible to execute within the allocation time for each group, the remaining allocation time for each group is added to the pool time stored in the storage means by the in-group polling execution unit of the polling monitoring server,
After completion of polling within the group allocation time, the pool time confirmation unit of the polling monitoring server determines whether or not the polling can be executed within the pool time,
When the polling can be performed within the pool time, the pool time confirmation unit of the polling monitoring server polls the monitored machine with the smallest number of polling executions in the past. Polling monitoring method.
複数の監視対象マシンとポーリング監視サーバとが相互に接続され、前記各監視対象マシンの動作の確認および記録を行うポーリング監視システムにあって、
前記ポーリング監視サーバが備える、前記各監視対象マシンの属するグループと該グループごとの優先度を示す監視対象マシンデータおよび前記グループごとに前記各監視対象マシンに対するポーリングのために与えられたグループ別割当て時間をあらかじめ記憶したコンピュータに、
前記ポーリングが前記グループ別割当て時間内に実行可能か否かを判断する手順、
前記ポーリングが前記グループ別割当て時間内に実行可能である場合、前記各監視対象マシンに対して前記優先度の高い順にポーリングを行う手順、
前記グループ別割当て時間内に前記ポーリングが実行不可能となった場合、余ったグループ別割当て時間を記憶されたプール時間に加算する手順、
前記グループ別割当て時間内のポーリングの終了後、前記プール時間内に前記ポーリングが実行可能か否かを判断する手順、
および前記ポーリングが前記プール時間内に実行可能である場合、過去における前記ポーリングの実行回数の最も少ない前記監視対象マシンに対してポーリングを行う手順
を実行させることを特徴とするポーリング監視プログラム。
In a polling monitoring system in which a plurality of monitored machines and a polling monitoring server are connected to each other, and the operation of each monitored machine is confirmed and recorded,
The polling monitoring server has a group to which each monitored machine belongs, monitored machine data indicating the priority of each group, and an allocation time for each group given for polling each monitored machine for each group On a computer that stores
A procedure for determining whether or not the polling can be performed within the allocation time for each group;
When the polling can be executed within the group allocation time, a procedure for polling the monitored machines in order of the priority,
A step of adding the remaining group allocation time to the stored pool time when the polling becomes impossible within the group allocation time;
A procedure for determining whether or not the polling can be executed within the pool time after the polling within the group-specific allocation time is completed;
When the polling can be performed within the pool time, a polling monitoring program that causes the monitoring target machine having the smallest number of polling executions in the past to be executed is executed.
JP2011077998A 2011-03-31 2011-03-31 Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program Withdrawn JP2012212341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011077998A JP2012212341A (en) 2011-03-31 2011-03-31 Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011077998A JP2012212341A (en) 2011-03-31 2011-03-31 Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program

Publications (1)

Publication Number Publication Date
JP2012212341A true JP2012212341A (en) 2012-11-01

Family

ID=47266230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011077998A Withdrawn JP2012212341A (en) 2011-03-31 2011-03-31 Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program

Country Status (1)

Country Link
JP (1) JP2012212341A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014131247A (en) * 2012-12-28 2014-07-10 Mitsubishi Heavy Ind Ltd Communication system and apparatus
WO2017094194A1 (en) * 2015-12-04 2017-06-08 株式会社日立製作所 Computer system and device management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014131247A (en) * 2012-12-28 2014-07-10 Mitsubishi Heavy Ind Ltd Communication system and apparatus
WO2017094194A1 (en) * 2015-12-04 2017-06-08 株式会社日立製作所 Computer system and device management method

Similar Documents

Publication Publication Date Title
CN113238838B (en) Task scheduling method and device and computer readable storage medium
EP3129880B1 (en) Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system
JP5608222B2 (en) Application efficiency engine
CN106155780B (en) node election method and device based on time
JP6490913B2 (en) Task execution by idle resources of grid computing system
US20150074178A1 (en) Distributed processing method
US20140019987A1 (en) Scheduling map and reduce tasks for jobs execution according to performance goals
JP6191691B2 (en) Abnormality detection apparatus, control method, and program
CN102541661B (en) Realize the method and apparatus of wait on address synchronization interface
WO2020172852A1 (en) Computing resource scheduling method, scheduler, internet of things system, and computer readable medium
CN111813524B (en) Task execution method and device, electronic equipment and storage medium
CN110659147B (en) Self-repairing method and system based on module self-checking behavior
JP2012212341A (en) Polling monitoring system, polling monitoring server, polling monitoring method, and polling monitoring program
CN111143063B (en) Task resource reservation method and device
JP5969340B2 (en) Resource management system, resource management method, and resource management program
CN104572036B (en) Event processing method and device
CN111708799A (en) Spark task processing method and device, electronic equipment and storage medium
CN108228328B (en) Stream task implementation method and device and electronic equipment
JP6729430B2 (en) Electronic control unit
CN111158886A (en) Method and device for optimizing task scheduling of operating system and intelligent equipment
CN110618863A (en) Operation scheduling method based on Raft algorithm
CN116069471B (en) Deterministic scheduling method and device for tasks and electronic equipment
US20220391241A1 (en) Information processing system
CN114546279B (en) IO request prediction method and device, storage node and readable storage medium
CN112019423B (en) Method and device for processing message

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140603