JPH08307431A - Lan monitoring method and device - Google Patents

Lan monitoring method and device

Info

Publication number
JPH08307431A
JPH08307431A JP7114942A JP11494295A JPH08307431A JP H08307431 A JPH08307431 A JP H08307431A JP 7114942 A JP7114942 A JP 7114942A JP 11494295 A JP11494295 A JP 11494295A JP H08307431 A JPH08307431 A JP H08307431A
Authority
JP
Japan
Prior art keywords
monitoring
lan
terminal device
terminal
operating state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7114942A
Other languages
Japanese (ja)
Other versions
JP3088636B2 (en
Inventor
Tsutomu Yamamura
努 山村
Hideki Nanba
秀企 難波
Haruhiko Nitta
晴彦 新田
Kazuhisa Kinugawa
一久 衣川
Takahiro Kayaba
孝博 萱場
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.)
Hitachi Electronics Services Co Ltd
Original Assignee
Hitachi Electronics Services Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Electronics Services Co Ltd filed Critical Hitachi Electronics Services Co Ltd
Priority to JP07114942A priority Critical patent/JP3088636B2/en
Publication of JPH08307431A publication Critical patent/JPH08307431A/en
Application granted granted Critical
Publication of JP3088636B2 publication Critical patent/JP3088636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: To provide a LAN monitoring method and device which can properly monitor even such a system that stops its operation at night an on holidays by deciding a system state based on a schedule information. CONSTITUTION: The LAN working schedule information is previously stored in a storage, and LAN monitoring device 1 connected to a LAN periodically issues the monitoring commands to the terminal equipments 4 and 5 to be monitored to check whether both terminal equipments are operating and also to check based on the schedule information whether both terminal equipments should be operating at present. Based on these check results, the occurrence of an error is reported to a host device when both equipments 4 and 5 are not operating state when they should be in operation state. Then no error report is given to the host device when it is decided that both equipments 4 and 5 are not in operating state at the points of time except the one when they should be in operating state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、LAN(ローカルエリ
アネットワーク)に係り、特に、LANに接続された端
末機器の運用状態を監視するLAN監視方法および装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a LAN (Local Area Network), and more particularly to a LAN monitoring method and apparatus for monitoring the operating status of terminal equipment connected to the LAN.

【0002】[0002]

【従来の技術】LANシステムにおいて、その運用は管
理者が運用時間を決めて行っている。LANシステムを
構成する各端末機器はその運用時間には、電源オンさ
れ、適正なLAN動作が可能な状態になっている必要が
ある。また、運用時以外には電源オンされている必要は
なく、むしろ、経済上もしくは保安上、電源オフされて
停止状態にあることが望ましい。したがって、LANシ
ステムを構成する端末機器が運用時間通りに動作または
停止していることを監視することは、LANシステム運
用上重要である。
2. Description of the Related Art In a LAN system, an administrator decides an operating time for its operation. It is necessary that each terminal device constituting the LAN system is turned on and is in a state capable of proper LAN operation during its operation time. In addition, it is not necessary that the power is turned on except during operation, but rather, it is desirable that the power is turned off and the operation is stopped for economic or security reasons. Therefore, it is important for the operation of the LAN system to monitor whether or not the terminal devices that make up the LAN system are operating or stopped on time.

【0003】[0003]

【発明が解決しようとする課題】しかし、各端末機器が
LANシステムの運用時にそのような動作状態にあるか
否かは必ずしも保証されない。特に、端末機器が個人ユ
ースの端末機器であるような場合には、その運用状態が
個人のスケジュールによって左右されるため、なおさら
である。このような問題に対して、従来、各端末機器の
運用状態をチェックするものとして、市販のネットワー
ク管理ツールがあるが、これは24時間・365日動作
しているシステムにしか適用できなかった。すなわち、
常時運用している状態が正常であるという前提の下に管
理を行うので、夜間・休日等に端末機器が停止状態にあ
る場合、異常と判定してしまうという問題があった。
However, it is not always guaranteed whether each terminal device is in such an operating state during operation of the LAN system. In particular, when the terminal device is a terminal device for personal use, the operating state thereof is influenced by the schedule of the individual, which is even more so. Conventionally, there is a commercially available network management tool for checking the operation status of each terminal device against such a problem, but this can be applied only to a system operating 24 hours a day, 365 days a year. That is,
Since the management is performed on the assumption that the state of always operating is normal, there is a problem that if the terminal device is in a stopped state at night or on holidays, it is determined to be abnormal.

【0004】本発明は、スケジュール機能に基づく判定
を行うことにより、夜間・休日等に停止するシステムに
ついても適正な監視が行えるLAN監視方法および装置
を提供することを目的とする。
It is an object of the present invention to provide a LAN monitoring method and apparatus capable of appropriately monitoring a system that is stopped at night or on holidays by making a determination based on a schedule function.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、複数の端末機器が接続されたLANの動
作状態を監視するLAN監視方法であって、予めLAN
が稼働するスケジュール情報を記憶装置に記憶してお
き、LANに接続されたLAN監視装置から監視対象の
端末機器に対して定期的に端末監視用コマンドを発行し
て当該端末機器が動作状態にあるか否かをチェックし、
前記スケジュール情報に基づき現時点において監視対象
の各端末機器が動作状態にあるべきか否かをチェック
し、両チェック結果に基づいて、監視対象の端末機器が
動作状態にあるべきときに動作状態にないと判定された
場合に前記LAN監視装置の上位装置に対してエラー報
告を行い、当該端末機器が動作状態にあるべきとき以外
の時点で動作状態にないと判定された場合にはエラー報
告を行わないことを特徴とするLAN監視方法を提供す
るものである。また、本発明は、複数の端末機器が接続
されたLANの動作状態を監視するLAN監視装置であ
って、前記複数の端末機器の定義情報を格納する手段
と、LANのスケジュール情報を格納する手段と、前記
定義情報に基づき監視対象の端末機器に対して端末監視
用コマンドを定期的に発行し当該端末機器が動作状態に
あるか否かをチェックするとともに、前記スケジュール
情報に基づき現時点において監視対象の各端末機器が動
作状態にあるべきか否かをチェックし、両チェック結果
に基づいて、監視対象の端末機器が動作状態にあるべき
ときに動作状態にないと判定された場合に前記LAN監
視装置の上位装置に対してエラー報告を行い、当該端末
機器が動作状態にあるべきとき以外の時点で動作状態に
ないと判定された場合にはエラー報告を行わない監視手
段と、を備えたLAN監視装置を提供するものである。
In order to achieve the above object, the present invention is a LAN monitoring method for monitoring the operating state of a LAN to which a plurality of terminal devices are connected.
Is stored in the storage device, the LAN monitoring device connected to the LAN issues a terminal monitoring command to the terminal device to be monitored periodically, and the terminal device is in the operating state. Check whether or not
Based on the schedule information, it is checked whether or not each monitored terminal device should be in the operating state at the present time, and based on the both check results, the monitored terminal device is not in the operating state when it should be in the operating state. If it is determined that an error is reported to the host device of the LAN monitoring device, and if it is determined that the terminal device is not in operation at a time other than when it should be in operation, an error report is issued. The present invention provides a LAN monitoring method characterized by the absence thereof. Further, the present invention is a LAN monitoring device for monitoring the operating state of a LAN to which a plurality of terminal devices are connected, and means for storing definition information of the plurality of terminal devices and means for storing LAN schedule information. Then, the terminal monitoring command is periodically issued to the terminal device to be monitored based on the definition information to check whether or not the terminal device is in the operating state, and at the present time based on the schedule information, the monitoring target is monitored. It is checked whether or not each terminal device in step 1 should be in the operating state, and based on the results of both checks, the LAN monitoring is performed when it is determined that the terminal device to be monitored is not in the operating state when it should be in the operating state. An error report is sent to the higher-level device of the device, and if it is determined that the terminal device is not in the operating state except when it should be in the operating state, the error report is issued. The monitoring means is not performed, there is provided a LAN monitor device provided with a.

【0006】[0006]

【作用】本発明では、LANに接続されたLAN監視装
置から監視対象の端末機器に対して定期的に端末監視用
コマンドを発行して当該端末機器が動作状態にあるか否
かをチェックするとともに、スケジュール情報に基づき
現時点において監視対象の各端末機器が動作状態にある
べきか否かをチェックし、両チェック結果に基づいて、
監視対象の端末機器が動作状態にあるべきときに動作状
態にないと判定された場合に前記LAN監視装置の上位
装置に対してエラー報告を行い、当該端末機器が動作状
態にあるべきとき以外の時点で動作状態にないと判定さ
れた場合にはエラー報告を行わない。
According to the present invention, the LAN monitoring device connected to the LAN periodically issues a terminal monitoring command to the terminal device to be monitored to check whether the terminal device is in the operating state or not. Based on the schedule information, it is checked whether each terminal device to be monitored should be in the operating state at the present time, and based on both check results,
When it is determined that the terminal device to be monitored is not in the operating state when it should be in the operating state, an error report is sent to the host device of the LAN monitoring device, and the terminal device other than when the terminal device should be in the operating state If it is determined that the device is not in the operating state at that time, no error is reported.

【0007】このようにスケジュールに基づく判定を行
うことにより、夜間・休日等に停止するシステムについ
ても適正な監視が行える。すなわち、例えば営業時間内
では端末監視用コマンドに対する応答がなければエラー
報告を行うことができる。また、非営業時間に端末監視
用コマンドに対する応答があったときにもエラー報告を
行うことができる。
By performing the determination based on the schedule in this way, it is possible to properly monitor the system that is stopped at night, on holidays, or the like. That is, if there is no response to the terminal monitoring command during business hours, for example, an error report can be made. Further, it is possible to report an error even when there is a response to the terminal monitoring command during non-business hours.

【0008】端末監視用コマンドの発行およびこれに対
する応答の有無判定において、現実には、発行相手の端
末が正常な動作状態にあったとしても、種々の要因によ
り、1つの端末監視用コマンド発行に対して確実に応答
があるとは限らない。そこで、好ましくは、1台の端末
に対する1回の監視時に複数回端末監視用コマンドを発
行し、そのうち、1回でも応答が確認されたとき、当該
端末は正常な動作状態(オン状態)にあると判定する。
端末監視用コマンドを所定回数まで発行する前に、応答
が確認された場合には残りの端末監視用コマンドの発行
は省略してよい。
In the issuance of a terminal monitoring command and the determination as to whether or not there is a response thereto, in reality, even if the issuing terminal is in a normal operating state, one terminal monitoring command is issued due to various factors. There is no guarantee that there will be a response. Therefore, preferably, a terminal monitoring command is issued multiple times during one monitoring of one terminal, and when a response is confirmed even once, the terminal is in a normal operating state (on state). To determine.
If a response is confirmed before issuing the terminal monitoring command up to a predetermined number of times, the remaining terminal monitoring commands may be omitted.

【0009】この場合、過去の端末監視用コマンドの所
要発行回数を参酌して次回の発行回数を動的に決定する
ことにより、必要以上にコマンド発行回数を大きくする
ことを回避できる。その結果、端末動作状態にありなが
ら何らかの要因により応答が得られ難い場合に必要以上
に早く最終的な「応答なし」の結論を下す事態も回避し
つつ、全般的には「応答なし」の結論をより早く下し、
不必要に端末監視用コマンド発行によるトラフィックを
増大させないという効果が得られる。
In this case, it is possible to avoid increasing the number of command issuances more than necessary by dynamically determining the next number of issuances by taking into consideration the required number of issuances of the terminal monitoring command in the past. As a result, when the terminal is in an operating state and it is difficult to obtain a response due to some factor, it is possible to avoid making a final decision of "no response" more quickly than necessary, while generally concluding "no response". Faster,
The effect of not unnecessarily increasing the traffic by issuing the terminal monitoring command is obtained.

【0010】[0010]

【実施例】以下、本発明の好適な実施例について、図面
を参照しながら詳細に説明する。
Preferred embodiments of the present invention will be described in detail below with reference to the drawings.

【0011】まず、図1に本発明によるLAN監視装置
を有するLANシステムの概略構成を示す。このLAN
システムは、LAN通信媒体7を介して、LAN監視装
置1および端末機器4,5,6が相互に接続されてい
る。LAN監視装置1および各端末機器4,5,6は、
いずれも、ワークステーション(WS)またはパーソナ
ルコンピュータ(PC)により構成される。なお、この
例では、端末機器5はサーバを構成している。LAN監
視装置1は、公衆回線のごとき通信回線8を介して、集
中監視センタ3と接続されており、監視結果を集中監視
センタ3に通知し、あるいは集中監視センタ3からの問
い合わせに対して応答できるようになっている。
First, FIG. 1 shows a schematic configuration of a LAN system having a LAN monitoring device according to the present invention. This LAN
In the system, a LAN monitoring device 1 and terminal devices 4, 5, 6 are mutually connected via a LAN communication medium 7. The LAN monitoring device 1 and each terminal device 4, 5, 6
Each of them is composed of a workstation (WS) or a personal computer (PC). Note that in this example, the terminal device 5 constitutes a server. The LAN monitoring device 1 is connected to the centralized monitoring center 3 via a communication line 8 such as a public line, notifies the centralized monitoring center 3 of the monitoring result, or responds to an inquiry from the centralized monitoring center 3. You can do it.

【0012】LAN監視装置1は、LANの監視制御を
行うLAN監視部1a、およびLANの通信プロトコル
の制御を行うプロトコル部1b、および集中監視センタ
3との間の通信を行う通信部1cを有する。本実施例で
は、プロトコル部1bのプロトコルとして、TCP/I
P(Transmission Control Protocol/InternetProtocol)
を採用している。LAN監視装置1のハードウエア構成
は、特に図示はしないが、通常の計算機の構成と同様、
中央処理装置、各種動作プログラムおよびデータを格納
する内部メモリ(ROM,RAM等)、後述する各種フ
ァイル等を格納する外部記憶装置(ハードディスク
等)、キーボード等の入力装置、CRT等の表示装置、
LAN制御ボード、通信制御装置などから構成される。
LAN監視装置1からは、後述するようにTCP/IP
の端末監視用コマンドである”pingコマンド”を用
いて、予め設定されたスケジュール通りに監視対象の端
末機器4、5が稼働/停止しているか否かを監視し、異
常があれば集中監視センタ3にエラー報告する。このエ
ラー報告に対して、集中監視センタ3は、LANの稼働
状態を認識し、必要な措置を採ることができる。図で
は、端末機器6は監視対象から外れた例を示している。
The LAN monitoring device 1 has a LAN monitoring unit 1a for monitoring and controlling the LAN, a protocol unit 1b for controlling the communication protocol of the LAN, and a communication unit 1c for communicating with the centralized monitoring center 3. . In this embodiment, TCP / I is used as the protocol of the protocol unit 1b.
P (Transmission Control Protocol / Internet Protocol)
Has been adopted. The hardware configuration of the LAN monitoring device 1 is not particularly illustrated, but is the same as that of a normal computer.
Central processing unit, internal memory (ROM, RAM, etc.) for storing various operation programs and data, external storage device (hard disk, etc.) for storing various files to be described later, input device such as keyboard, display device such as CRT,
It is composed of a LAN control board and a communication control device.
From the LAN monitoring device 1, TCP / IP as described later
The terminal monitoring command "ping command" is used to monitor whether the monitored terminal devices 4 and 5 are operating / stopped according to a preset schedule, and if there is an abnormality, the centralized monitoring center Report an error to 3. In response to this error report, the centralized monitoring center 3 can recognize the operating state of the LAN and take necessary measures. The figure shows an example in which the terminal device 6 is not a monitoring target.

【0013】図2に、LAN監視装置1の内部のファイ
ル構成を示す。本実施例で用いるファイルとして、監視
条件ファイル12、スケジュールファイル13、LAN
内端末定義ファイル14、およびインフォメーション
(通報)ファイル15を有し、監視プログラム11がこ
れらを用いる。監視プログラム11は、一定時間間隔で
監視対象の各端末機器に対してpingコマンドを発行
する。pingコマンドは、自装置と相手端末機器とが
LANを介して通信可能に接続されているか否かを確認
するためのコマンドであり、具体的には、接続確認用の
パケットを送信して、相手端末機器から応答用のパケッ
トが返送されてくることを確認するものである。
FIG. 2 shows the internal file structure of the LAN monitoring device 1. As the files used in this embodiment, the monitoring condition file 12, the schedule file 13, the LAN
It has an internal terminal definition file 14 and an information (report) file 15, and the monitoring program 11 uses these. The monitoring program 11 issues a ping command to each terminal device to be monitored at regular time intervals. The ping command is a command for confirming whether or not the own device and the partner terminal device are communicably connected via a LAN. Specifically, the ping command transmits a connection confirmation packet to This is to confirm that a response packet is returned from the terminal device.

【0014】LAN内端末定義ファイル14は、LAN
内に接続されているすべての端末機器情報を設定するフ
ァイルである。スケジュールファイル13は、端末機器
または後述するグループ毎に監視外情報(年月日、曜
日)や監視時刻(開始−終了)および、時間外監視指定
オプションを設定するファイルである。これらの情報
は、LANの存在する部署のスケジュール(例えば、営
業日および営業時間)に基づいて設定される。監視条件
ファイル12は、pingコマンドを発行する際に指定
するパラメタ(データサイズ、送信回数)および、監視
間隔等を設定するファイルである。ここでいう「送信回
数」とは、次に示すようなpingコマンドの書式にお
いて指定されるパラメータの1つであり、1回のpin
gコマンド発行時に監視装置と監視対象端末(ホスト名
称)との間でデータの送受信を何回繰り返すかを示すも
のであり、後述するping発行回数とは区別すべきも
のである。
The LAN terminal definition file 14 is a LAN
This file is used to set information on all terminal devices connected to the inside. The schedule file 13 is a file for setting out-of-monitoring information (year, month, day, day of the week), monitoring time (start-end), and an overtime monitoring designation option for each terminal device or each group to be described later. These pieces of information are set based on the schedule (for example, business days and business hours) of the department in which the LAN exists. The monitoring condition file 12 is a file for setting parameters (data size, number of transmissions) specified when issuing a ping command, a monitoring interval, and the like. The “number of transmissions” here is one of the parameters specified in the format of the ping command as shown below, and is one pin
It shows how many times data transmission / reception is repeated between the monitoring device and the terminal to be monitored (host name) at the time of issuing the g command, and should be distinguished from the number of times of ping issuing described later.

【0015】pingコマンドの書式:ping ホス
ト名称 データサイズ 送信回数 タイムアウト時間 また、「タイムアウト時間」は、pingコマンドを発
行したとき応答が返されない場合に応答なしと判断して
強制的にそのpingコマンドを終了するための時間で
ある。
Format of ping command: ping host name data size number of transmissions timeout time In addition, the "timeout time" is such that if no response is returned when the ping command is issued, it is judged that there is no response and the ping command is forced. It's time to finish.

【0016】スケジュールファイル13は、LAN内端
末に共通に使用することができるが、端末毎に別のファ
イルを用意することも可能である。監視プログラム11
は、これらのファイルを入力・解析することにより、各
端末機器の動作許可時間が判別でき、それに従って端末
機器またはそのグループ毎に稼働/停止状態を確認し、
監視する。図1では示さなかったが、LAN監視装置1
からLAN内端末定義ファイル4およびインフォメーシ
ョンファイル15の内容は、通信プログラム2を介して
集中監視センタ3へ通知または通報する。
The schedule file 13 can be commonly used by the terminals in the LAN, but it is also possible to prepare a different file for each terminal. Monitoring program 11
By inputting / analyzing these files, the operation permission time of each terminal device can be determined, and according to that, the operating status of each terminal device or its group can be checked,
Monitor. Although not shown in FIG. 1, the LAN monitoring device 1
The contents of the LAN terminal definition file 4 and the information file 15 are notified or notified to the centralized monitoring center 3 via the communication program 2.

【0017】図3に、ファイル12〜15の各々の構成
例を示す。
FIG. 3 shows an example of the structure of each of the files 12-15.

【0018】LAN内端末定義ファイル14は、ターゲ
ット名称140を付された端末機器(以下、単に端末と
もいう)毎に、実行コマンド格納ファイルのフルパス1
41、ホスト名称142、ユーザID143、パスワー
ド144、グループID145、スケジュールファイル
名称146、拠点コード147、サイトコード148、
タイムアウト時間149の各項目を有する。ターゲット
名称140は、監視対象端末の機種形名とその製造番号
からなる。監視条件ファイル12は、pingコマンド
発行時に指定するオペランド情報を設定するための情報
を格納したファイルであり、データサイズ121、送信
回数122、監視間隔123、および回復通報指定12
4の各項目を有する。スケジュールファイル13は、端
末監視のスケジュール情報を格納するファイルであり、
時間外監視指定(監視指定オプション)131、監視外
情報132、および監視情報135を有する。監視外情
報132としては、監視外日付133および監視外曜日
134を含む。監視情報135は、開始時刻136およ
び終了時刻137を含む。インフォメーションファイル
15は、監視プログラム11が異常を検出した場合に作
成するものであり、ホスト名称151、場所情報15
2、異常内容153の各項目を有する。図の枠30で囲
んだ範囲が監視プログラム11の利用するデータの範囲
である。以下、これらの各ファイルの詳細について、順
次、図4〜図7により説明する。
The LAN internal terminal definition file 14 has a full path 1 of the execution command storage file for each terminal device (hereinafter, also simply referred to as a terminal) to which the target name 140 is assigned.
41, host name 142, user ID 143, password 144, group ID 145, schedule file name 146, site code 147, site code 148,
Each item of the timeout time 149 is included. The target name 140 consists of the model name of the monitored terminal and its serial number. The monitoring condition file 12 is a file that stores information for setting operand information specified when the ping command is issued, and has a data size 121, a transmission count 122, a monitoring interval 123, and a recovery notification specification 12
It has 4 items. The schedule file 13 is a file that stores schedule information for terminal monitoring,
It has an overtime monitoring designation (monitoring designation option) 131, non-monitoring information 132, and monitoring information 135. The non-monitoring information 132 includes a non-monitoring date 133 and a non-monitoring day 134. The monitoring information 135 includes a start time 136 and an end time 137. The information file 15 is created when the monitoring program 11 detects an abnormality, and includes the host name 151 and the location information 15
2. Each item has an abnormality content 153. A range surrounded by a frame 30 in the drawing is a range of data used by the monitoring program 11. Hereinafter, the details of each of these files will be sequentially described with reference to FIGS.

【0019】図4は、LAN内端末定義ファイル14の
内容を示す。図中、「MAX」はその項目の文字または
数値の最大桁数を示す。各ターゲット名称毎の項目デー
タは、図4(a)のレコード形式で格納される。図の
「CR」は改行コードを示す。各項目の内容は図4
(b)に示す通りである。すなわち、実行コマンド格納
ファイルフルパス141は、実行する保守コマンドまた
は収集するファイル名を設定しているファイルのフルパ
スである。ホスト名称142は、監視対象端末のホスト
名称またはIPアドレスである。ユーザID143は、
監視対象端末をログインする場合のユーザIDである。
パスワード144は、上記ログイン時に用いられるパス
ワードである。グループID145は、監視対象端末を
グループ化する場合のグループIDであり、同一のグル
ープの端末に対してA〜D、0〜9のいずれかを設定す
る。スペースが設定された場合には、当該端末がいずれ
のグループにも属さないことを示す。端末機器のグルー
プ化およびその意義については後述する。スケジュール
ファイル名称146は、pingコマンド(LAN内端
末監視コマンド)のスケジュール情報を設定したファイ
ルのフルパスを示し、これがスペース以外の場合には監
視対象の端末を示し、スペースの場合には監視対象でな
い端末を示す。本実施例では、拠点コード147は、監
視対象端末を有する顧客システムの保守を担当する保守
会社の拠点(支社等)に割り当てられた識別コードを示
す。サイトコード148は、監視対象端末を有する顧客
システムの存在する場所に割り当てられた識別コードを
示す。タイムアウト時間149は、前述したように監視
対象端末に対してpingコマンドを発行する際に指定
する無応答判定のためのタイムアウト時間である。
FIG. 4 shows the contents of the LAN terminal definition file 14. In the figure, "MAX" indicates the maximum number of digits of the character or numerical value of the item. Item data for each target name is stored in the record format of FIG. “CR” in the figure indicates a line feed code. Figure 4 shows the contents of each item
This is as shown in (b). That is, the execution command storage file full path 141 is the full path of the file in which the maintenance command to be executed or the file name to be collected is set. The host name 142 is the host name or IP address of the monitored terminal. The user ID 143 is
This is the user ID when logging in the monitored terminal.
The password 144 is a password used when logging in. The group ID 145 is a group ID for grouping the terminals to be monitored, and sets A to D or 0 to 9 for the terminals in the same group. When the space is set, it indicates that the terminal does not belong to any group. Grouping of terminal devices and their significance will be described later. The schedule file name 146 indicates the full path of the file in which the schedule information of the ping command (LAN terminal monitoring command) is set. If this is other than space, it indicates the terminal to be monitored, and if it is space, the terminal not to be monitored. Indicates. In the present embodiment, the base code 147 indicates an identification code assigned to the base (branch office or the like) of the maintenance company in charge of maintenance of the customer system having the terminal to be monitored. The site code 148 indicates an identification code assigned to the place where the customer system having the monitored terminal exists. The time-out time 149 is a time-out time for determining no response, which is specified when the ping command is issued to the monitored terminal as described above.

【0020】図5は、スケジュールファイル13の内容
を示す。この例では、スケジュールファイル13のレコ
ード形式として図5(a)に示すように、監視対象外日
の指定の別により、2通りの形式を示す。形式1は、監
視対象外日を年月日で指定する場合に対応し、形式2
は、監視対象外日を曜日で指定する場合に対応する。勿
論、両者を結合した1つの形式としてもよい。
FIG. 5 shows the contents of the schedule file 13. In this example, as the record format of the schedule file 13, as shown in FIG. 5A, there are two formats depending on the designation of the non-monitored days. Format 1 corresponds to the case where the non-monitored days are specified by date, and format 2
Corresponds to the case where a non-monitored day is designated by a day of the week. Of course, it is also possible to combine them into one form.

【0021】図5(b)にスケジュールファイル13の
内容説明を示す。時間外監視指定131は、pingコ
マンドによる監視を指定した時刻(動作許可時間)以外
にも行うか否かを指定するための情報であり、”y”で
監視する、”n”で監視しない(デフォルト)を示す。
「動作許可時間」とは、監視外日付および監視外曜日以
外の日における開始時刻から終了時刻までの時間であ
る。休日等の非営業日にも、各端末機器が停止状態にあ
るか否かを確認する場合には、時間外監視指定131
を”y”にしておく。監視外年月日133は、ping
コマンドによる監視を行わない年月日をyyymmdd
の形式で指定するものである。これが設定された年月日
には、原則としてpingコマンドによる監視を行わな
い。但し、時間外監視指定131に”y”が設定されて
いる場合には監視が行われる。監視外曜日134は、p
ingコマンドによる監視を行わない曜日を”Mo/T
u/We/Th/Fr/Sa/Su”のいずれかで指定
するものである。これが設定された曜日には、原則とし
てpingコマンドによる監視を行わない。但し、時間
外監視指定131に”y”が設定されている場合には監
視が行われる。開始時刻136および終了時刻137
は、監視対象日におけるpingコマンドによる監視を
開始する時刻および終了する時刻であり、hhmmss
の形式で指定する。
FIG. 5B shows an explanation of the contents of the schedule file 13. The overtime monitoring designation 131 is information for designating whether or not monitoring by the ping command is performed at times other than the designated time (operation permission time), and monitoring is performed with “y” and not monitored with “n” ( Default).
The “operation permission time” is the time from the start time to the end time on a day other than the non-monitoring date and the non-monitoring day. When checking whether each terminal device is in a stopped state even on non-business days such as holidays, the overtime monitoring designation 131
Is set to "y". Unmonitored date 133 is ping
Yyymmdd is the date when monitoring by command is not performed
Is specified in the format. As a general rule, monitoring by the ping command is not performed on the date when this is set. However, when "y" is set in the overtime monitoring designation 131, monitoring is performed. Outside monitoring day 134, p
Set the day of the week that is not monitored by the ing command to "Mo / T
u / We / Th / Fr / Sa / Su ”. In principle, monitoring is not performed by the ping command on the set day of the week. If "" is set, monitoring is performed. Start time 136 and end time 137.
Is the time to start and end the monitoring by the ping command on the monitoring target day, and hhmmss
Specify in the format.

【0022】例えば、土曜および日曜が非営業日で、平
日AM8:00〜PM5:00が営業時間であり、時間
外の監視を行う場合には、スケジュールファイル13
は、次のように設定する。
For example, when Saturday and Sunday are non-business days and weekdays AM 8:00 to PM 5:00 are business hours, and when monitoring after hours, the schedule file 13
Is set as follows.

【0023】y CR Sa,Su;CR 080000−170000;CR また、1995年1月の5、10、15、20、25、
30日が休日で、営業日はAM9:00〜PM8:00
が営業時間であり、時間外の監視を行わない場合、スケ
ジュールファイル13は、次のように設定する。
Y CR Sa, Su; CR 080000-170000; CR In addition, January 1995, 5, 10, 15, 20, 25,
The 30th is a holiday, and the business days are from 9:00 am to 8:00 pm
Is the business hours, and when the overtime monitoring is not performed, the schedule file 13 is set as follows.

【0024】n CR 199501/5,10,15,20,25,30;C
R 090000−200000;CR なお、本実施例では、監視外の日はまる1日監視外とし
たが、指定した時間帯は監視を行うようにすることも可
能である。そのためには、例えば、監視外曜日(あるい
は年月日)に対応して開始時刻および終了時刻を指定し
た場合には、その時間帯は監視を行うものとすることが
できる。
N CR 199501/5, 10, 15, 20, 25, 30; C
R 090000-200000; CR In the present embodiment, the non-monitoring days are set as the whole one-day monitoring, but it is also possible to monitor during the designated time zone. For that purpose, for example, when the start time and the end time are designated corresponding to the non-monitoring day (or the year, month, day), the time zone can be monitored.

【0025】次に、図6は、監視条件ファイル12の内
容を示す。これは、図6(a)の形式で設定される。図
6(b)に示すように、データサイズ121は、pin
gコマンド発行時のデータサイズを数字で指定したもの
である。本実施例ではこのデータサイズは特に重要では
なく任意の値でよい。送信回数122は、前述したとお
り、pingコマンド発行時における送信回数を数字で
指定するものである。ここでは、デフォルトで5、最大
10である。監視間隔123は、pingコマンドを発
行する間隔を分単位の数字で指定するものである。この
例では、デフォルトは30分、最大値は10080(1
週間)である。異常回復通報指定134は、異常が検出
された後に回復が検出された際に、回復の通報を行うか
否かを指定するものである。”y”で通報する、”n”
で通報しない(デフォルト)を表す。なお、このファイ
ル12は省略可能であり、その場合には監視プログラム
11に設定されているデフォルト値が利用される。
Next, FIG. 6 shows the contents of the monitoring condition file 12. This is set in the format of FIG. As shown in FIG. 6B, the data size 121 is pin
The data size at the time of issuing the g command is specified by a number. In this embodiment, this data size is not particularly important and may be any value. As described above, the number of transmissions 122 specifies the number of transmissions at the time of issuing the ping command with a number. Here, the default is 5 and the maximum is 10. The monitoring interval 123 specifies the interval at which the ping command is issued with a number in minutes. In this example, the default is 30 minutes and the maximum value is 10080 (1
Week). The abnormality recovery notification designation 134 is for designating whether or not to notify the recovery when the recovery is detected after the abnormality is detected. Report with "y", "n"
Indicates not to report (default). The file 12 can be omitted, in which case the default value set in the monitoring program 11 is used.

【0026】図7は、インフォメーションファイル7の
詳細な内容を示す。そのレコード形式は図7(a)に示
す通りである。図7(b)に示すように、ホスト名称1
51は、監視プログラム11で異常を検出した端末のホ
スト名称またはIPアドレスのいずれかである。場所情
報152は、監視プログラム11で異常を検出した端末
が設置されているサイトおよび拠点のコードである。異
常内容153は、接続契機、要因コード、CDATの固
定データ、およびリファレンスコードを含む。接続契機
とは、集中監視センタに接続した契機を表すものであ
り、”CINF=UF”は障害通報による接続を表す。
要因コードは接続の要因を表し、”DINF=01”は
監視プログラムによる監視異常を表す。CDATは、通
信プログラムと集中監視センタが通信するときに授受す
るデータを表す。リファレンスコードは、監視プログラ
ム11で検出した通報要因を表すコードであり、単独機
器/グループの別、時間内/時間外の別の4通りの組み
合わせ毎に別のコードが用意されている。
FIG. 7 shows the detailed contents of the information file 7. The record format is as shown in FIG. As shown in FIG. 7B, the host name 1
Reference numeral 51 is either the host name or the IP address of the terminal in which the abnormality is detected by the monitoring program 11. The location information 152 is a code of a site and a base where the terminal, which has detected an abnormality in the monitoring program 11, is installed. The abnormality content 153 includes a connection trigger, a cause code, fixed data of CDAT, and a reference code. The connection opportunity represents the opportunity to connect to the centralized monitoring center, and “CINF = UF” represents the connection due to the failure notification.
The cause code indicates the cause of connection, and “DINF = 01” indicates a monitoring abnormality by the monitoring program. CDAT represents data exchanged when the communication program and the centralized monitoring center communicate with each other. The reference code is a code representing a reporting factor detected by the monitoring program 11, and a different code is prepared for each of four combinations of individual device / group and in-time / out-of-time.

【0027】図8により、本実施例による監視処理の概
略フローを説明する。この処理は、LAN監視装置1の
プログラム11の起動により開始され、その後、常時、
実行状態にある。まず、LAN内端末定義ファイル14
を内部メモリに読み込み、LANを構成する端末の構成
を把握する(81)。次に、監視条件ファイル12を内
部メモリに読み込み、1回の監視時点のpingコマン
ドの送信回数および監視間隔等の情報を認識する(8
3)。次に、スケジュールファイル13を内部メモリに
読み込み、LAN内端末の監視に関するスケジュール情
報を認識する(85)。そこで、LAN内端末の監視処
理を実行する(87)。なお、ステップ81,83,8
5の各々の後にエラーチェックを行う(82,84,8
6)。
A schematic flow of the monitoring process according to this embodiment will be described with reference to FIG. This processing is started by the activation of the program 11 of the LAN monitoring device 1, and thereafter, always,
It is in a running state. First, the LAN terminal definition file 14
Is read into the internal memory and the configuration of the terminals that compose the LAN is grasped (81). Next, the monitoring condition file 12 is read into the internal memory, and information such as the number of times the ping command is transmitted at one monitoring point and the monitoring interval is recognized (8
3). Next, the schedule file 13 is read into the internal memory and the schedule information regarding the monitoring of the terminals in the LAN is recognized (85). Therefore, the monitoring process of the terminal in the LAN is executed (87). Note that steps 81, 83, 8
Error check is performed after each of 5 (82, 84, 8
6).

【0028】図9により、LAN内端末監視処理の詳細
フローを説明する。先ず、監視対象の端末の1つについ
て、スケジュールファイルの指定があるか否かをLAN
内端末定義ファイル14により、判定する(871)。
なければ、ステップ880へ飛ぶ。あれば、そのスケジ
ュール情報を読み、動作許可時間を求める(872)。
この動作許可時間は、前述のように、監視外日付および
監視外曜日以外の日における開始時刻から終了時刻まで
の時間である。次に、当該端末がいずれかのグループに
属しているか否かを判定する(872)。属していなけ
れば図10のステップ888へ飛ぶ。属していれば、同
一グループの端末をLAN内端末定義ファイルから検索
して把握する(874)。そこで、現在の年月日時刻を
監視装置の内部時計(図示せず)から取得する(87
5)。ついで、同一グループの端末に対して順次pin
gコマンドを発行する(876)。次に現時点が、動作
許可時間の範囲内であるか否かを判定する(878)。
範囲外であればステップ884へ進み、範囲内であれ
ば、ステップ879へ進む。
A detailed flow of the LAN terminal monitoring process will be described with reference to FIG. First, for one of the terminals to be monitored, it is determined whether or not the schedule file is specified by the LAN.
The determination is made based on the internal terminal definition file 14 (871).
If not, jump to step 880. If there is, the schedule information is read to obtain the operation permission time (872).
As described above, the operation permission time is the time from the start time to the end time on a day other than the non-monitoring date and the non-monitoring day. Next, it is determined whether the terminal belongs to any group (872). If it does not belong, the process jumps to step 888 in FIG. If it belongs, the terminal of the same group is searched and grasped from the terminal definition file in LAN (874). Therefore, the current date and time is acquired from the internal clock (not shown) of the monitoring device (87).
5). Then, the terminals in the same group are sequentially pinned.
The g command is issued (876). Next, it is determined whether or not the current time is within the range of the operation permission time (878).
If it is outside the range, the process proceeds to step 884, and if it is within the range, the process proceeds to step 879.

【0029】ステップ879では、pingコマンドに
対する応答があったか否かを判定する。なければステッ
プ882へ進む。あれば、当該端末が動作していること
が確認されるので、次の端末の処理に移るために、ステ
ップ871へ戻る。すべての端末の処理が終了すれば
(ステップ880yes)、インターバルタイマ(図示
せず)を起動して、監視条件ファイル12の監視間隔1
33に設定された時間だけ待機する(881)。この待
機期間中、端末監視装置1は、他の処理を実行すること
ができる。インターバルタイマーによるタイムアウト時
の割り込みに応じて、処理が続行される。ステップ88
2では、グループの端末すべてがオフ状態にあるか否か
を判定する。そうでなければステップ876に戻り、次
のグループ内端末の処理へ移る。グループ内端末の全て
のオフと判定された場合には、先に説明したインフォメ
ーションファイル15により集中監視センタへエラー報
告を行う(883)。但し、監視条件ファイル12の回
復通報指定134が”n”の場合には、この通報は行わ
ない。その後、ステップ880へ移行し、次の端末の処
理に移る。
In step 879, it is determined whether or not there is a response to the ping command. If not, the process proceeds to step 882. If there is, it is confirmed that the terminal is operating, and the process returns to step 871 to move to the processing of the next terminal. When the processing of all the terminals is completed (step 880yes), an interval timer (not shown) is started and the monitoring interval 1 of the monitoring condition file 12 is set.
It waits for the time set to 33 (881). During this waiting period, the terminal monitoring device 1 can execute other processing. The processing is continued in response to the interrupt when the interval timer times out. Step 88
At 2, it is determined whether all the terminals in the group are in the off state. If not, the process returns to step 876 to proceed to the processing of the next terminal in the group. If it is determined that all of the terminals in the group are off, an error report is made to the centralized monitoring center by the information file 15 described above (883). However, when the recovery notification designation 134 of the monitoring condition file 12 is "n", this notification is not issued. Then, the process proceeds to step 880 and the process of the next terminal is performed.

【0030】ステップ878で現時点が動作許可時間の
範囲外であると判定された場合、先ず、時間外監視指定
131を調べる(884)。指定なし(”n”)であれ
ば、pingコマンドに対する応答の有無を確認するこ
となくステップ880へ移行し、次の端末の処理に移
る。指定あり(”y”)であれば、pingコマンドの
応答があるか否かをチェックし(885)、この場合に
は応答があればエラー報告を行う(886)。これは、
監視時間外すなわち動作許可時間外に端末が動作状態に
あることをエラーとして報告するものである。ステップ
885で応答がない場合には、ステップ887でグルー
プの端末が全てオフ状態にあるか否かを調べ、そうでな
ければステップ876へ戻りグループ内の次の端末の処
理に移り、全てオフ状態にあると判定された場合にはス
テップ880へ移行し、次の端末の処理に移る。
If it is determined in step 878 that the current time point is outside the range of the operation permission time, first, the overtime monitoring designation 131 is checked (884). If there is no designation (“n”), the process proceeds to step 880 without confirming whether or not there is a response to the ping command, and the process of the next terminal is performed. If there is a designation (“y”), it is checked whether or not there is a response to the ping command (885). In this case, if there is a response, an error is reported (886). this is,
The fact that the terminal is in the operating state outside the monitoring time, that is, outside the operation permission time, is reported as an error. If there is no response in step 885, it is checked in step 887 whether all the terminals in the group are in the off state, and if not, the process returns to step 876 to proceed to the processing of the next terminal in the group, and all in the off state. If it is determined that there is, the process proceeds to step 880 and the process of the next terminal is performed.

【0031】ステップ873で、グループの指定がなか
った場合、図10に移り、現在の年月日時刻を取得し
(888)、当該端末に対してpingコマンドを発行
する(889)。次に、現時点が動作許可時間の範囲内
にあるかを調べ(890)、なければステップ893へ
移る。あれば、pingコマンドに対する応答があった
か否かを判定し(891)、なければエラー報告を行う
(892)。あればステップ880へ飛び、次の端末の
処理へ移行する。ステップ890で範囲外の場合には、
時間外監視の指定があるか否かを調べ(893)、なけ
れば応答の有無を確認することなくそのままステップ8
80へ飛び、次の端末の処理へ移行する。あれば、エラ
ー報告を行う(895)。
If no group is designated in step 873, the process moves to FIG. 10 to obtain the current date and time (888) and issues a ping command to the terminal (889). Next, it is checked whether or not the current time is within the range of the operation permission time (890), and if not, the process proceeds to step 893. If there is, a judgment is made as to whether or not there is a response to the ping command (891), and if not, an error is reported (892). If there is, it jumps to step 880 and shifts to the processing of the next terminal. If step 890 is out of range,
It is checked whether or not there is an overtime monitoring designation (893), and if there is no response, step 8 is performed without checking whether or not there is a response.
It jumps to 80 and shifts to the processing of the next terminal. If there is, an error is reported (895).

【0032】このように、時間外監視指定が”y”のと
き、動作許可時間内ではpingコマンドに対する応答
がなければエラー報告を行い、他方、動作許可時間外に
はpingコマンドに対する応答があったときにエラー
報告を行うことができる。
As described above, when the overtime monitoring designation is "y", an error is reported if there is no response to the ping command within the operation permission time, while there is a response to the ping command outside the operation permission time. Sometimes error reporting can be done.

【0033】pingコマンドの発行(ステップ87
6,889)、およびこれに対する応答の有無判定(ス
テップ879,885,891,894)において、現
実には、発行相手の端末が正常な動作状態にあったとし
ても、種々の要因により、1つのpingコマンド発行
に対して確実に応答があるとは限らない。そこで、本実
施例では、1台の端末に対する1回の監視時(監視間隔
133で決まる)において複数回pingコマンドを発
行し、そのうち、1回でも応答が確認されたとき、当該
端末は正常な動作状態(オン状態)にあると判定する。
pingコマンドを所定回数まで発行する前に、応答が
確認された場合には残りのpingコマンドの発行は省
略してよい。
Issuing a ping command (step 87)
6, 889) and the response presence / absence determination (steps 879, 885, 891, 894), in reality, even if the terminal of the issuing partner is in a normal operating state, one There is no guarantee that a ping command will be issued. Therefore, in this embodiment, a ping command is issued a plurality of times at one time of monitoring (determined by the monitoring interval 133) for one terminal, and when a response is confirmed even once, the terminal is normal. It is determined to be in the operating state (on state).
If a response is confirmed before issuing the ping command up to a predetermined number of times, issuing the remaining ping commands may be omitted.

【0034】図11に、本実施例における1台の端末に
対する1回の監視時の応答の有無(生死)のチェックの
具体的な処理フローを示す。これは、厳密には図9のフ
ローと対応していないが、図9のフローの中に組み込む
ことができることは当業者には明らかであろう。まず、
今回の応答があるまでのping発行回数mを1、応答
があるまでのping発行回数の合計値gを0、次回の
ping発行回数nを50に初期設定する(110〜1
12)。次に、pingコマンドを発行し(113)、
タイムアウト時間内に応答があるか否かをチェックする
(114)。応答があれば、変数gに今回の応答がある
までのping発行回数mを加算して更新し(11
5)、前回までの応答があるまでのping発行回数
(所要ping発行回数)の平均値pをp=g/(x+
1)により算出する(116)。ここに、変数xは、前
回までのping発行回数の更新回数(すなわち監視回
数)を示す。この平均値pを当該端末に対する次回のp
ing発行回数nとしてメモリに記憶しておく(11
7)。次いで、図9のフローでは、「応答あり」に続く
ステップへ移る。ステップ114において応答がない場
合には、今回の応答があるまでのping発行回数をカ
ウントアップして(118)、これが発行回数nを越え
たかを調べる(119)。越えてなければ、ステップ1
13に戻り、再度pingコマンドを発行する。越えて
いれば、今回の監視では応答がなかったと判定する。
FIG. 11 shows a specific processing flow for checking the presence / absence of a response (live / dead) at the time of one monitoring for one terminal in this embodiment. This does not correspond exactly to the flow of Figure 9, but it will be apparent to those skilled in the art that it can be incorporated into the flow of Figure 9. First,
Initially, the number of ping issuances m until the current response is 1, the total number g of ping issuances until the response is 0, and the next ping issuance number n is 50 (110 to 1).
12). Next, issue a ping command (113),
It is checked whether there is a response within the timeout time (114). If there is a response, the variable g is updated by adding the number of ping issuances m up to this response (11
5), p = g / (x +) is an average value p of the number of ping issuances (required number of pings) until there is a response up to the previous time.
It is calculated by 1) (116). Here, the variable x indicates the number of updates of the ping issuance count up to the previous time (that is, the monitoring count). This average value p is used as the next p for the terminal.
The ing issuance count n is stored in the memory (11
7). Then, in the flow of FIG. 9, the process proceeds to the step subsequent to “with response”. If there is no response at step 114, the number of ping issuances up to the current response is counted up (118), and it is checked whether or not this has exceeded the number of issuances n (119). If not, step 1
Return to 13 and issue the ping command again. If it exceeds, it is determined that there is no response in this monitoring.

【0035】例えば、図12に示すように、当該発行回
数を最初の監視時は50回とし、2回目以降の監視時は
過去の応答があるまでのping発行回数の平均値を求
め、この平均値を次回の監視時のping発行回数とす
ることにより、1回の監視時のping発行回数を回帰
的に変更することができる。なお、ping発行回数の
平均値pは、現時点に近い過去の所定個数のみの平均で
あってもよい。
For example, as shown in FIG. 12, the number of issuances is set to 50 at the first monitoring, and at the second and subsequent monitorings, the average value of the number of ping issuances until a past response is obtained, and this average is calculated. By setting the value to the number of ping issuances in the next monitoring, the number of pings issued in one monitoring can be recursively changed. Note that the average value p of the number of ping issuances may be the average of only a predetermined number in the past close to the present time.

【0036】このように過去のpingコマンドの所要
発行回数を参酌して次回の発行回数を動的に決定するこ
とにより、必要以上にコマンド発行回数を大きくするこ
とを回避できる。その結果、端末動作状態にありながら
何らかの要因により応答が得られ難い場合に必要以上に
早く最終的な「応答なし」の結論を下す事態を回避しつ
つ、全般的には「応答なし」の結論をより早く下し、不
必要にpingコマンド発行によるトラフィックを増大
させないという効果が得られる。
As described above, by dynamically determining the next issue count by taking into consideration the required issue count of the past ping command, it is possible to avoid increasing the command issue count more than necessary. As a result, while avoiding making a final "no response" conclusion faster than necessary when it is difficult to obtain a response due to some factor while the terminal is operating, the overall "no response" conclusion It is possible to obtain the effect of lowering the traffic faster and not unnecessarily increasing the traffic by issuing the ping command.

【0037】図13は、図12の処理の変形例を示す。
変数p,m,n,x,gは図12と同じである。この場
合、pingコマンドの最低発行回数oを導入し、これ
より小さい値にはならないように保証したものである。
これによって、少ない所要発行回数が連続した場合に続
いて、動作状態でありながらより多くの発行回数を要す
るような状況が発生した場合に、誤って応答なしと判断
する誤動作の可能性を低減することができる。
FIG. 13 shows a modification of the process of FIG.
The variables p, m, n, x and g are the same as in FIG. In this case, the minimum issuance number o of the ping command is introduced to ensure that the value is not smaller than this.
This reduces the possibility of an erroneous operation of erroneously determining that there is no response when a situation occurs that requires a larger number of issuances in the operating state after a small number of required issuances continues. be able to.

【0038】次に、監視対象端末のグループ化の意義お
よび具体例について説明する。今、図14に示したよう
に、監視装置1が自己の接続されたLAN内の端末を監
視するとともに、ルータB,Hを介して他のLAN内の
端末群も監視する場合を考える。また、4台の端末C〜
FがハブGの下位に接続され、これら4台が1つのグル
ープ(グループ1)に属するものとする。この場合のL
AN内端末定義ファイル14のグループID145およ
びスケジュールファイル名称146を図15に抜粋して
示している。ここでは、スケジュールファイル名称とし
て単にその有無を示しているが、実際にはファイル名称
が設定される。端末C〜FのグループID145に”
1”が設定され、これらが同一のグループに属すること
が分かる。図14に示したルータB,Hおよびサーバ
A,Iもpingコマンドに対する応答を返す機能を有
するので、これらに対してもpingコマンドを発行
し、その動作状態を確認することができる。しかし、ハ
ブGは、これがpingコマンドへの応答が可能か否か
に関わらず、ハブGの配下の端末C〜Fをすべてチェッ
クすることにより、これらの端末がいずれも動作してい
ないと判定されたときにその上位にあるハブGが異常
(非動作状態、電源オフ状態も含む)であると判定する
ことができる。したがって、ハブGのスケジュールファ
イル名称146にはファイル名称を設定せず、それに対
するpingコマンドの発行を省略することができる。
Next, the significance and specific example of grouping the terminals to be monitored will be described. Now, as shown in FIG. 14, let us consider a case where the monitoring device 1 monitors terminals in the LAN to which the monitoring apparatus 1 is connected, and also monitors terminals in other LANs via the routers B and H. Also, four terminals C to
It is assumed that F is connected to the lower level of the hub G and that these four units belong to one group (group 1). L in this case
The group ID 145 and the schedule file name 146 of the AN terminal definition file 14 are shown in FIG. Although the presence / absence of the schedule file is simply shown here, the file name is actually set. "Group ID 145 of terminals C to F"
1 "is set, and it can be seen that they belong to the same group. Since the routers B and H and the servers A and I shown in FIG. 14 also have a function of returning a response to the ping command, the ping command is also applied to them. However, the hub G can check all the terminals C to F under the control of the hub G regardless of whether or not the hub G can respond to the ping command. When it is determined that none of these terminals is operating, it is possible to determine that the hub G above it is abnormal (including the non-operating state and the power off state). It is possible to omit issuing the ping command for the schedule file name 146 without setting the file name.

【0039】上記の説明ではスケジュールファイル13
の設定は、人手で行うものであったが、これに加えて、
その設定を自動的に行うことも可能である。図16は、
スケジュールファイル13を自動更新する場合の説明図
である。例えば、マシンメンテナンス管理システム15
01が存在する場合、そのメンテナンス日程ファイル1
502に基づいて、スケジュールファイル13の更新デ
ータに変換するスケジュールファイル変換プログラム1
503を用いることにより、自動更新することが可能に
なる。これにより、突発的なあるいは不定期的なイベン
トに対して、自動的に対処することができる。
In the above description, the schedule file 13
The setting of was done manually, but in addition to this,
It is also possible to make the setting automatically. 16
It is explanatory drawing in the case of automatically updating the schedule file 13. For example, the machine maintenance management system 15
If 01 exists, its maintenance schedule file 1
Schedule file conversion program 1 for converting the update data of the schedule file 13 based on 502
By using 503, it is possible to automatically update. Thereby, it is possible to automatically deal with a sudden or irregular event.

【0040】最後に、図17により、監視装置1自体の
動作監視の方法について説明する。図示のごとく、集中
監視センタ3から定期的に監視装置1に対して、pin
gコマンドを送出し、その応答の有無により、監視装置
1自体が正常な動作状態にあるか否かを確認することが
できる。
Finally, a method of monitoring the operation of the monitoring device 1 itself will be described with reference to FIG. As shown in the figure, the central monitoring center 3 periodically sends a pin to the monitoring device 1.
It is possible to confirm whether or not the monitoring device 1 itself is in a normal operation state by transmitting the g command and checking whether or not there is a response.

【0041】以上、本発明の好適な実施例について説明
したが、本発明の範囲内で種々の変形を行うことが可能
である。例えば、上記説明では、1回の監視時に1台の
端末に対して複数回端末監視用コマンドを発行する際、
1台に対して応答があるまで(またはタイムアウトにな
るまで)連続してコマンドを発行したが、他の監視対象
端末に対するコマンド発行を優先するようにしてもよ
い。
The preferred embodiment of the present invention has been described above, but various modifications can be made within the scope of the present invention. For example, in the above description, when issuing a terminal monitoring command multiple times to one terminal during one monitoring,
The command is issued continuously until there is a response to one device (or until a timeout occurs), but the command issuance to other monitored terminals may be prioritized.

【0042】また、端末機器の動作状態を確認するため
に、特定の端末監視用コマンドを用いたが、相手端末機
器によっては、そのようなコマンドを用いる代わりに相
手アプリケーションとの直接的な交信により当該アプリ
ケーションの動作を含めてその端末機器の動作状態を確
認することも可能である。例えば、相手端末機器がメー
ルサーバである場合には、このメールサーバに対して自
宛のメールの有無を問い合わせ、その応答の有無を確認
することにより、当該メールサーバ端末機器のアプリケ
ーションの動作までの監視を行うことができる。
Although a specific terminal monitoring command is used to confirm the operating state of the terminal device, depending on the partner terminal device, instead of using such a command, direct communication with the partner application is used. It is also possible to confirm the operation state of the terminal device including the operation of the application. For example, when the partner terminal device is a mail server, the mail server asks the mail server if there is a mail addressed to it and confirms whether or not there is a response to the operation of the application of the mail server terminal device. Can be monitored.

【0043】[0043]

【発明の効果】本発明によれば、スケジュール機能に基
づく判定を行うことにより、夜間・休日等に停止するシ
ステムについても適正な監視が行えるLAN監視方法お
よび装置を提供することができる。
According to the present invention, it is possible to provide a LAN monitoring method and apparatus capable of appropriately monitoring a system that is stopped at night, on holidays, etc. by making a determination based on a schedule function.

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

【図1】本発明によるLAN監視装置を有するLANシ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a LAN system having a LAN monitoring device according to the present invention.

【図2】図1のLAN監視装置のファイル構成を説明す
るためのブロック図である。
FIG. 2 is a block diagram for explaining a file configuration of the LAN monitoring device of FIG.

【図3】図2に示した各ファイルの詳細構成を示す説明
図である。
FIG. 3 is an explanatory diagram showing a detailed configuration of each file shown in FIG.

【図4】図3に示したLAN内端末定義ファイルの説明
図である。
4 is an explanatory diagram of a LAN terminal definition file shown in FIG. 3. FIG.

【図5】図3に示したスケジュールファイルの説明図で
ある。
5 is an explanatory diagram of a schedule file shown in FIG.

【図6】図3に示した監視条件ファイルの説明図であ
る。
6 is an explanatory diagram of a monitoring condition file shown in FIG.

【図7】図3に示したインフォメーションファイルの説
明図である。
7 is an explanatory diagram of an information file shown in FIG.

【図8】本発明の実施例における監視処理の概略処理手
順を示すフローチャートである。
FIG. 8 is a flowchart showing a schematic processing procedure of monitoring processing in the embodiment of the present invention.

【図9】図8に示したLAN内監視処理の詳細処理手順
を示すフローチャートである。
9 is a flowchart showing a detailed processing procedure of the LAN monitoring processing shown in FIG.

【図10】図9の処理に続く処理手順のフローチャート
である。
10 is a flowchart of a processing procedure following the processing of FIG.

【図11】本実施例における端末機器の生死チェックの
具体例を示すフローチャートである。
FIG. 11 is a flowchart showing a specific example of the life / death check of the terminal device in the present embodiment.

【図12】図11の処理を説明するためのグラフであ
る。
12 is a graph for explaining the processing of FIG.

【図13】図11の処理の変形例を示すフローチャート
である。
13 is a flowchart showing a modified example of the processing of FIG.

【図14】実施例における端末機器のグループ化を説明
するためのシステム構成のブロック図である。
FIG. 14 is a block diagram of a system configuration for explaining grouping of terminal devices in the embodiment.

【図15】図14とともにグループ化の説明に供する説
明図である。
15 is an explanatory diagram for explaining the grouping together with FIG.

【図16】実施例におけるスケジュールファイルの自動
更新の説明図である。
FIG. 16 is an explanatory diagram of automatic update of a schedule file in the example.

【図17】実施例におけるLAN監視装置自体の監視の
説明図である。
FIG. 17 is an explanatory diagram of monitoring of the LAN monitoring device itself according to the embodiment.

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

1…LAN監視装置、2…遠隔マスタ、3…集中監視装
置、4,5,6…端末機器、7…LAN媒体、8…通信
回線、11…監視プログラム、12…監視条件ファイ
ル、13…スケジュールファイル、14…LAN内端末
定義ファイル、15…インフォメーションファイル。
1 ... LAN monitoring device, 2 ... Remote master, 3 ... Centralized monitoring device, 4, 5, 6 ... Terminal device, 7 ... LAN medium, 8 ... Communication line, 11 ... Monitoring program, 12 ... Monitoring condition file, 13 ... Schedule Files, 14 ... LAN terminal definition file, 15 ... Information file.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 衣川 一久 東京都千代田区内神田2丁目14番6号 日 立電子サービス株式会社内 (72)発明者 萱場 孝博 東京都千代田区内神田2丁目14番6号 日 立電子サービス株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuhisa Kinugawa 2-14-6 Kanda, Uchikanda, Chiyoda-ku, Tokyo Inside Ritsuden Electronic Service Co., Ltd. (72) Takahiro Kayaba 2-14, Uchikanda, Chiyoda-ku, Tokyo No. 6 Nitrate Electronic Service Co., Ltd.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】複数の端末機器が接続されたLANの動作
状態を監視するLAN監視方法であって、 予めLANが稼働するスケジュール情報を記憶装置に記
憶しておき、 LANに接続されたLAN監視装置から監視対象の端末
機器に対して定期的に端末監視用コマンドを発行して当
該端末機器が動作状態にあるか否かをチェックし、 前記スケジュール情報に基づき現時点において監視対象
の各端末機器が動作状態にあるべきか否かをチェック
し、 両チェック結果に基づいて、監視対象の端末機器が動作
状態にあるべきときに動作状態にないと判定された場合
に前記LAN監視装置の上位装置に対してエラー報告を
行い、当該端末機器が動作状態にあるべきとき以外の時
点で動作状態にないと判定された場合にはエラー報告を
行わないことを特徴とするLAN監視方法。
1. A LAN monitoring method for monitoring an operating state of a LAN to which a plurality of terminal devices are connected, wherein schedule information of LAN operation is stored in a storage device in advance, and LAN monitoring connected to the LAN is performed. The device periodically issues a terminal monitoring command to the terminal device to be monitored to check whether the terminal device is in the operating state, and based on the schedule information, each terminal device to be monitored currently It is checked whether or not it should be in the operating state, and based on the results of both checks, if it is determined that the terminal device to be monitored is not in the operating state when it should be in the operating state, the above-mentioned higher-level device of the LAN monitoring device is The error report is sent to the terminal device, and if it is determined that the terminal device is not in the operating state except when it should be in the operating state, the error report is not made. LAN monitoring method to collect.
【請求項2】請求項1記載のLAN監視方法において、
前記両チェック結果に基づいて、監視対象の端末機器が
動作状態にあるべきとき以外の時点で動作状態にあると
判定された場合に、前記LAN監視装置の上位装置に対
してエラー報告を行うことを特徴とするLAN監視方
法。
2. The LAN monitoring method according to claim 1, wherein
An error report is sent to a host device of the LAN monitoring device when it is determined that the terminal device to be monitored is in the operating state at a time other than when it should be in the operating state, based on both the check results. LAN monitoring method characterized by:
【請求項3】請求項1または2記載のLAN監視方法に
おいて、複数の端末機器が上位の端末機器の配下に接続
されている場合、当該複数の端末機器のいずれもが動作
していないと判定されたとき、当該上位の端末機器も動
作していないと判定することにより、当該上位の端末機
器に対する前記端末監視用コマンドの発行を省略するL
AN監視方法。
3. The LAN monitoring method according to claim 1, wherein when a plurality of terminal devices are connected under the superordinate terminal device, it is determined that none of the plurality of terminal devices is operating. When it is determined that the upper terminal device is not operating, the issuance of the terminal monitoring command to the upper terminal device is omitted.
AN monitoring method.
【請求項4】請求項1、2または3記載のLAN監視方
法において、1台の端末機器の動作状態を前記端末監視
用コマンドの発行によりチェックする際、応答があるま
で当該コマンドを所定の複数回まで発行し、当該端末機
器からの応答があったとき、当該端末機器は動作状態に
あると判定するLAN監視方法。
4. The LAN monitoring method according to claim 1, 2 or 3, wherein when the operating state of one terminal device is checked by issuing the terminal monitoring command, a predetermined plurality of commands are issued until a response is received. A LAN monitoring method in which the terminal device is issued up to twice and the terminal device determines that the terminal device is in an operating state when there is a response from the terminal device.
【請求項5】請求項4記載のLAN監視方法において、
前記所定の複数回は、当該端末機器に対する過去の所要
コマンド発行回数に応じて動的に変更するLAN監視方
法。
5. The LAN monitoring method according to claim 4,
The LAN monitoring method in which the predetermined plurality of times is dynamically changed according to the number of past required command issuances to the terminal device.
【請求項6】請求項5記載のLAN監視方法において、
前記所定の複数回を動的に変更する際に最低の発行回数
を保証するLAN監視方法。
6. The LAN monitoring method according to claim 5,
A LAN monitoring method for guaranteeing the minimum number of issuances when dynamically changing the predetermined number of times.
【請求項7】複数の端末機器が接続されたLANの動作
状態を監視するLAN監視装置であって、 前記複数の端末機器の定義情報を格納する手段と、 LANのスケジュール情報を格納する手段と、 前記定義情報に基づき監視対象の端末機器に対して端末
監視用コマンドを定期的に発行し当該端末機器が動作状
態にあるか否かをチェックするとともに、前記スケジュ
ール情報に基づき現時点において監視対象の各端末機器
が動作状態にあるべきか否かをチェックし、両チェック
結果に基づいて、監視対象の端末機器が動作状態にある
べきときに動作状態にないと判定された場合に前記LA
N監視装置の上位装置に対してエラー報告を行い、当該
端末機器が動作状態にあるべきとき以外の時点で動作状
態にないと判定された場合にはエラー報告を行わない監
視手段と、 を備えたLAN監視装置。
7. A LAN monitoring device for monitoring an operating state of a LAN to which a plurality of terminal devices are connected, comprising means for storing definition information of the plurality of terminal devices and means for storing LAN schedule information. The terminal monitoring command is periodically issued to the monitoring target terminal device based on the definition information to check whether the terminal device is in the operating state, and based on the schedule information, the monitoring target terminal device is currently monitored. It is checked whether or not each terminal device should be in the operating state, and based on both check results, when it is determined that the terminal device to be monitored is not in the operating state when it should be in the operating state, the LA is executed.
N monitoring means for reporting an error to the host device of the monitoring device and not reporting an error when it is determined that the terminal device is not in the operating state at a time other than when the terminal device should be in the operating state. LAN monitoring device.
【請求項8】請求項7記載のLAN監視装置において、
前記監視手段は、1台の端末機器の動作状態を前記端末
監視用コマンドの発行によりチェックする際、応答があ
るまで当該コマンドを所定の複数回まで発行し、当該端
末機器からの応答があったとき、当該端末機器は動作状
態にあると判定するLAN監視装置。
8. The LAN monitoring device according to claim 7,
When checking the operating state of one terminal device by issuing the terminal monitoring command, the monitoring means issues the command up to a predetermined number of times until a response is received, and there is a response from the terminal device. At this time, the LAN monitoring device determines that the terminal device is in the operating state.
【請求項9】請求項8記載のLAN監視装置において、
前記監視手段は、前記所定の複数回を、当該端末機器に
対する過去の所要コマンド発行回数に応じて動的に変更
するLAN監視装置。
9. The LAN monitoring device according to claim 8, wherein
The monitoring unit is a LAN monitoring device that dynamically changes the predetermined number of times in accordance with the number of past required commands issued to the terminal device.
【請求項10】請求項9記載のLAN監視装置におい
て、前記監視手段は、前記所定の複数回を動的に変更す
る際に最低の発行回数を保証するLAN監視装置。
10. The LAN monitoring apparatus according to claim 9, wherein the monitoring unit guarantees a minimum number of issuances when the predetermined plurality of times are dynamically changed.
【請求項11】請求項1〜6のいずれかに記載のLAN
監視方法において、前記端末監視用コマンドとして、T
CP/IPのpingコマンドのような予め用意されて
いるコマンドを用いる代わりに、相手端末機器のアプリ
ケーションとの直接的な交信により、アプリケーション
の動作状態までの監視を行うLAN監視方法。
11. The LAN according to any one of claims 1 to 6.
In the monitoring method, as the terminal monitoring command, T
A LAN monitoring method in which the operating state of an application is monitored by direct communication with the application of the partner terminal device instead of using a prepared command such as a CP / IP ping command.
JP07114942A 1995-05-12 1995-05-12 LAN monitoring method and apparatus Expired - Lifetime JP3088636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07114942A JP3088636B2 (en) 1995-05-12 1995-05-12 LAN monitoring method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07114942A JP3088636B2 (en) 1995-05-12 1995-05-12 LAN monitoring method and apparatus

Publications (2)

Publication Number Publication Date
JPH08307431A true JPH08307431A (en) 1996-11-22
JP3088636B2 JP3088636B2 (en) 2000-09-18

Family

ID=14650473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07114942A Expired - Lifetime JP3088636B2 (en) 1995-05-12 1995-05-12 LAN monitoring method and apparatus

Country Status (1)

Country Link
JP (1) JP3088636B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2296316A1 (en) 2009-09-15 2011-03-16 Ricoh Company, Ltd. Device management apparatus, device management system, device management program, and storage medium
JP2012517126A (en) * 2009-02-02 2012-07-26 エヌイーシー ヨーロッパ リミテッド Tracking system and method for tracking the position of a device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004109407A1 (en) * 2003-06-02 2004-12-16 Sharp Kabushiki Kaisha Sheet feeding-device, image-forming device, image-forming system, method of installing peripheral device, and method of connecting devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012517126A (en) * 2009-02-02 2012-07-26 エヌイーシー ヨーロッパ リミテッド Tracking system and method for tracking the position of a device
US8676228B2 (en) 2009-02-02 2014-03-18 Nec Europe Ltd. Tracking system and a method for tracking the position of a device
EP2296316A1 (en) 2009-09-15 2011-03-16 Ricoh Company, Ltd. Device management apparatus, device management system, device management program, and storage medium

Also Published As

Publication number Publication date
JP3088636B2 (en) 2000-09-18

Similar Documents

Publication Publication Date Title
US7051244B2 (en) Method and apparatus for managing incident reports
US7110919B2 (en) Field panel trending on event in a building control system
US5796633A (en) Method and system for performance monitoring in computer networks
AU659101B2 (en) Network management system using model-based intelligence
US9900226B2 (en) System for managing a remote data processing system
US5832503A (en) Method and apparatus for configuration management in communications networks
US5261044A (en) Network management system using multifunction icons for information display
EP1358532B1 (en) Remotely managing a data processing system via a communications network
US20110197080A1 (en) Remote power control system with tickle capability
WO2001080032A1 (en) A system and method for managing computing devices within a data communications network from a remotely located console
JP2004021549A (en) Network monitoring system and program
US20050038888A1 (en) Method of and apparatus for monitoring event logs
US7120633B1 (en) Method and system for automated handling of alarms from a fault management system for a telecommunications network
US6286111B1 (en) Retry mechanism for remote operation failure in distributed computing environment
JPH08307431A (en) Lan monitoring method and device
WO2002037880A1 (en) Remote controlling system and method
US7254627B2 (en) Method, service agent and network management system for operating a telecommunications network
JPH09274596A (en) Automatic operation information possessing and reporting method for distributed processing system
JP3029415B2 (en) Database maintenance management system
AU735348B2 (en) Management of computer workstations
JP2001265623A (en) Monitoring device
GB2357169A (en) An automatic monitoring system for software installation in computers on a production line
WO2006079040A2 (en) Shared data center monitor
JP2514277B2 (en) Method for automating selected processes in a data processing system
JP2002132540A (en) Method of support service for system monitoring and operating

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20140714

Year of fee payment: 14

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term