JP2015088007A - Failure-information notification system - Google Patents

Failure-information notification system Download PDF

Info

Publication number
JP2015088007A
JP2015088007A JP2013226738A JP2013226738A JP2015088007A JP 2015088007 A JP2015088007 A JP 2015088007A JP 2013226738 A JP2013226738 A JP 2013226738A JP 2013226738 A JP2013226738 A JP 2013226738A JP 2015088007 A JP2015088007 A JP 2015088007A
Authority
JP
Japan
Prior art keywords
contact
mail
mail server
failure
notification
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.)
Pending
Application number
JP2013226738A
Other languages
Japanese (ja)
Inventor
正憲 長井
Masanori Nagai
正憲 長井
岡本 陽児
Yoji Okamoto
陽児 岡本
一樹 谷本
Kazuki Tanimoto
一樹 谷本
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 Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2013226738A priority Critical patent/JP2015088007A/en
Publication of JP2015088007A publication Critical patent/JP2015088007A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To construct a failure-information notification system capable of suppressing introduction cost without the need to place a monitoring device near a monitoring target device.SOLUTION: A failure-information notification system includes: a monitoring target device to be monitored; a converter connected to the monitoring target device, and receiving a contact signal; and a mail server connected to the converter. The converter generates notification data and transmits the notification data to the mail server if detecting a failure state of the monitoring target device on the basis of the contact signal received from the monitoring target device. The mail server notifies a maintenance person or the like of the failure state of the monitoring target device over an email on the basis of the received notification data.

Description

本発明は、被監視装置に障害が生じた際、その障害を接点情報により検知し、通知するシステムに関する。   The present invention relates to a system for detecting and notifying a failure by contact information when a failure occurs in a monitored apparatus.

従来から、監視対象である被監視装置の状態を接点情報により検知し、通知先へ伝送する障害情報通知システムがある。このような障害情報通知システムでは、被監視装置の障害情報は、伝送距離の制約などから被監視装置を含むシステム内のローカル表示部へ通知することが多かった。したがって、被監視装置の状態を確認するためには装置本体やローカル表示部の近くに来るしかないため、移動時間を要し、また、ローカル表示部の追加などによりコストが掛かり、効率的ではなかった。   2. Description of the Related Art Conventionally, there is a failure information notification system that detects the state of a monitored device that is a monitoring target based on contact information and transmits it to a notification destination. In such a failure information notification system, failure information of a monitored device is often notified to a local display unit in the system including the monitored device due to transmission distance restrictions and the like. Therefore, since the only way to check the status of the monitored device is to come close to the main unit or local display, it takes time to move, and the addition of a local display increases costs and is not efficient. It was.

そこで、特許文献1のように被監視装置の接点情報を監視装置へ伝送し、監視装置の制御に従って電話又は電子メールにより保守担当員へ通知するシステムが用いられている。これにより、保守担当員が遠隔地にいても電話又は電子メールを受信できる装置があれば被監視装置の状態をリアルタイムで確認することができる。   Therefore, as in Patent Document 1, a system is used in which contact information of a monitored device is transmitted to the monitoring device and notified to a maintenance staff by telephone or e-mail according to the control of the monitoring device. As a result, the status of the monitored device can be confirmed in real time if there is a device that can receive a telephone or e-mail even if the maintenance staff is in a remote place.

特願2004−167221Japanese Patent Application No. 2004-167221

ところが、特許文献1のように電話又は電子メールによる通知を行うためには、専用の監視装置内に電話又は電子メールを送受信するための通信部や通知先を判定する制御部などが必要となるため、監視装置のコストが増加してしまう。
また、このような障害情報通知のための専用の監視装置を設置するには占有面積、配線、費用などの問題で監視装置の設置箇所の制限や導入コストが掛かることが課題となる。
However, in order to perform notification by telephone or e-mail as in Patent Document 1, a communication unit for transmitting / receiving a telephone or e-mail or a control unit for determining a notification destination is required in a dedicated monitoring device. This increases the cost of the monitoring device.
In addition, when installing such a dedicated monitoring device for notifying failure information, there is a problem that the installation location of the monitoring device is limited and the introduction cost is increased due to problems such as occupied area, wiring, and cost.

そこで、本発明は、簡易な構成で被監視装置の障害情報を通知するシステムを構築し、導入コストを抑えることができるようにすることを目的とする。   Therefore, an object of the present invention is to construct a system for notifying failure information of a monitored apparatus with a simple configuration so that the introduction cost can be suppressed.

上述した目的を達成するために、本発明に係る障害情報通知システムは、監視対象である被監視装置と、前記被監視装置と接続され接点信号を検出するコンバータと、前記コンバータに接続されたメールサーバとを有するシステムにであって、前記コンバータは、前記被監視装置から検出した接点信号に基づいて前記被監視装置の障害状態を検知すると、通知データを生成して前記メールサーバへ送信し、前記メールサーバは、受信した前記通知データに基づいて前記被監視装置の障害状態のメール通知を行う、ことを特徴としている。   In order to achieve the above-described object, a fault information notification system according to the present invention includes a monitored device that is a monitoring target, a converter that is connected to the monitored device and detects a contact signal, and a mail that is connected to the converter. A system having a server, wherein the converter detects a failure state of the monitored device based on a contact signal detected from the monitored device, generates notification data and transmits the notification data to the mail server, The mail server is characterized in that a mail notification of a failure state of the monitored device is performed based on the received notification data.

なお、前記コンバータは、前記通知データとして少なくとも自身のIPアドレスと接点の状態を示す情報を前記メールサーバに送信し、前記メールサーバは、前記コンバータの前記IPアドレスと前記接点の状態に応じたメールアドレスと文書テキストを予め保持しており、前記受信した前記通知データを解析し、その解析結果に基づいてメールを作成して送信することが好ましい。   The converter transmits at least information indicating its own IP address and the contact state to the mail server as the notification data, and the mail server sends a mail corresponding to the IP address of the converter and the contact state. It is preferable that an address and document text are held in advance, the received notification data is analyzed, and mail is created and transmitted based on the analysis result.

また、前記コンバータと前記メールサーバとの間に中継装置を備え、前記中継装置に複数の前記コンバータが接続され、前記メールサーバは、複数の前記被監視装置の障害状態のメール通知を行うことが好ましい。   In addition, a relay device may be provided between the converter and the mail server, a plurality of the converters may be connected to the relay device, and the mail server may perform a mail notification of a failure state of the plurality of monitored devices. preferable.

本発明によれば、コンバータが被監視装置の接点信号に基づいて通知データを生成してメールサーバへ送信し、メールサーバが受信した通知データに基づいて被監視装置の障害状態のメール通知を行うので、従来のように専用の監視装置が不要になり、障害通知の導入コストを抑えることができる。   According to the present invention, the converter generates notification data based on the contact signal of the monitored device, transmits the notification data to the mail server, and performs mail notification of the failure state of the monitored device based on the notification data received by the mail server. As a result, a dedicated monitoring device is not required as in the prior art, and the introduction cost of failure notification can be reduced.

本発明の第1実施形態に係る障害情報通知システムの構成を示すブロック図である。It is a block diagram which shows the structure of the failure information notification system which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る障害情報通知システムを構成する接点/LANコンバータにおける接点状態変化の誤認識防止方法を説明するための図である。It is a figure for demonstrating the misrecognition prevention method of the contact state change in the contact / LAN converter which comprises the failure information notification system which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る障害情報通知システムを構成するメールサーバの機能を示す図である。It is a figure which shows the function of the mail server which comprises the failure information notification system which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る障害情報通知システムにおけるFTPサーバ、FTPクライアント間のセッションシーケンスを示す図である。It is a figure which shows the session sequence between the FTP server and FTP client in the failure information notification system which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る障害情報通知システムにおけるFTP通信失敗時のセッションシーケンスを示す図である。It is a figure which shows the session sequence at the time of FTP communication failure in the failure information notification system which concerns on 1st Embodiment of this invention. 本発明に係る障害情報通知システムのメールサーバが保持する通知データのファイル名とメール通知先との対応関係の一例を示す図である。It is a figure which shows an example of the correspondence of the file name of the notification data which the mail server of the failure information notification system concerning this invention hold | maintains, and a mail notification destination. 本発明の第1実施形態に係る障害情報通知システムのメールサーバが保持するメール文章のテンプレートファイルの一例を示す図である。It is a figure which shows an example of the template file of the mail text hold | maintained by the mail server of the failure information notification system which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係る障害情報通知システムの構成を示すブロック図である。It is a block diagram which shows the structure of the failure information notification system which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る障害情報通知システムにおけるメール本文の例を示す図である。It is a figure which shows the example of the mail text in the failure information notification system which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る障害情報通知システムのメールサーバが保持する通知データのファイル名とメール通知先との対応関係の一例を示す図である。It is a figure which shows an example of the correspondence of the file name of the notification data which the mail server of the failure information notification system concerning 2nd Embodiment of this invention hold | maintains, and a mail notification destination.

以下、本発明に係る障害情報通知システムを実施するための形態について、図面を参照して説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for implementing a failure information notification system according to the present invention will be described with reference to the drawings.

〔1〕本発明の第1実施形態について
図1は本発明の第1実施形態としての障害情報通知システムの構成を示すブロック図である。図1に示す障害情報通知システムは、被監視装置11と、この被監視装置11と接続され、被監視装置11からの接点信号をIP(Internet Protocol)データに変換する接点/LAN(Local Area Network)コンバータ(コンバータ)12と、この接点/LANコンバータ12とIPネットワークで接続され、IP変換されたデータを解析し、被監視装置11の障害情報をメールで通知するメールサーバ13を有している。
被監視装置11は、監視対象の装置であり、例えばパーソナルコンピュータ、各種制御装置、無線通信装置である。なお、本発明において被監視装置11は限定されるものはない。
接点/LANコンバータ12は被監視装置11からの接点信号を一定の間隔で監視しており、接点信号がOFFからON及びONからOFFとなる変化を検出し、検出した接点信号の状態変化をIPデータに変換して通知データとしてメールサーバ13へ伝送する。ここで、接点/LANコンバータ12の入力部は接点による物理的な動作であるため、チャタリングの影響で誤認識する可能性がある。
[1] First Embodiment of the Present Invention FIG. 1 is a block diagram showing a configuration of a failure information notification system as a first embodiment of the present invention. The failure information notification system shown in FIG. 1 is connected to a monitored device 11 and a contact / LAN (Local Area Network) that is connected to the monitored device 11 and converts a contact signal from the monitored device 11 into IP (Internet Protocol) data. ) A converter (converter) 12 and a mail server 13 that is connected to the contact / LAN converter 12 via an IP network, analyzes IP-converted data, and notifies failure information of the monitored device 11 by mail. .
The monitored device 11 is a device to be monitored, such as a personal computer, various control devices, or a wireless communication device. In the present invention, the monitored device 11 is not limited.
The contact / LAN converter 12 monitors the contact signal from the monitored device 11 at regular intervals, detects changes in the contact signal from OFF to ON, and from ON to OFF, and detects the change in the state of the detected contact signal as IP. The data is converted to data and transmitted to the mail server 13 as notification data. Here, since the input part of the contact / LAN converter 12 is a physical operation by the contact, there is a possibility of erroneous recognition due to chattering.

図2は接点/LANコンバータ12のチャタリングによる誤認識を防止するための動作を示す図であり、図2(a)は接点がOFFからONに変化した場合の動作を示し、図2(b)は接点がONからOFFに変化した場合の動作を示す。接点/LANコンバータ12は、例えば10ms間隔で被監視装置11からの接点信号を監視しており、接点信号の変化を検出後、5回連続で変化後の接点信号の状態と一致した場合に接点信号が変化したと確定させる。つまり、接点/LANコンバータ12は最初の接点信号の変化検出から50ms後に接点信号が変化したか否かを確定させる。これによりチャタリングによる瞬間的な接点信号の変化による誤認識を防ぐことができる。接点/LANコンバータ12は接点信号の監視間隔及び接点が変化したと確定させる判定回数は変更可能であり、監視環境に応じた設定を行うことができる。   FIG. 2 is a diagram showing an operation for preventing erroneous recognition due to chattering of the contact / LAN converter 12, and FIG. 2 (a) shows an operation when the contact changes from OFF to ON, and FIG. 2 (b). Indicates the operation when the contact changes from ON to OFF. The contact / LAN converter 12 monitors the contact signal from the monitored device 11 at intervals of 10 ms, for example, and detects a contact signal change when it matches the state of the contact signal after the change five times after detecting the contact signal change. Confirm that the signal has changed. That is, the contact / LAN converter 12 determines whether or not the contact signal has changed 50 ms after the first change detection of the contact signal. This prevents erroneous recognition due to instantaneous contact signal changes due to chattering. The contact / LAN converter 12 can change the monitoring interval of the contact signal and the number of determinations for determining that the contact has changed, and can perform setting according to the monitoring environment.

メールサーバ13は、図3に示すように接点/LANコンバータ12からIPネットワークを通して伝送された通知データ(ファイル)の解析と、その解析結果に基づいて被監視装置11の障害情報を予め設定された通知先に対して自動でメール通知するメール配信予約機能を有している。なお、データ解析及びメール通知については後に詳述する。 As shown in FIG. 3, the mail server 13 analyzes the notification data (file) transmitted from the contact / LAN converter 12 through the IP network, and sets failure information of the monitored device 11 based on the analysis result. It has a mail delivery reservation function that automatically notifies the notification destination of mail. Data analysis and mail notification will be described in detail later.

接点/LANコンバータ12とメールサーバ13間は、IP変換されたデータが伝送されるため、Ethernet(登録商標)ケーブルを用いて接続する。こうすると、例えば複数の被監視装置11を監視したい場合は、接点/LANコンバータ12とメールサーバ13間にネットワークスイッチ等の中継装置を挟むことにより、それぞれの接点情報を1つのメールサーバ13に伝送することができる。この実施例については後に詳述する。   Since the IP-converted data is transmitted between the contact / LAN converter 12 and the mail server 13, they are connected using an Ethernet (registered trademark) cable. In this way, for example, when a plurality of monitored devices 11 are to be monitored, a relay device such as a network switch is interposed between the contact / LAN converter 12 and the mail server 13 to transmit each contact information to one mail server 13. can do. This embodiment will be described in detail later.

なお、障害情報通知システムではIPネットワークを構築すれば良いので、有線接続ではなく無線接続にすることも可能であり、無線接続にすることにより伝送距離や設置場所の制限を更に緩和することができる。また、接点/LANコンバータ12とメールサーバ13はIPネットワークで接続していれば良いので、被監視装置11の近くにメールサーバ13を設置する必要は無く、接点/LANコンバータ12のみで良いため、設置場所の制約が小さくなる。   In addition, since it is sufficient to construct an IP network in the failure information notification system, it is possible to make a wireless connection instead of a wired connection, and the restriction on the transmission distance and the installation location can be further relaxed by making the wireless connection. . Further, since the contact / LAN converter 12 and the mail server 13 only need to be connected by an IP network, it is not necessary to install the mail server 13 near the monitored device 11 and only the contact / LAN converter 12 is required. The restrictions on the installation location are reduced.

接点/LANコンバータ12とメールサーバ13間を流れるデータは、例えばFTP(File Transfer Protocol)を用いることで伝送することができる。その場合、接点/LANコンバータ12にはFTPクライアントソフトをインストールし、メールサーバ13はFTPサーバとして動作させる。   Data flowing between the contact / LAN converter 12 and the mail server 13 can be transmitted using, for example, FTP (File Transfer Protocol). In that case, FTP client software is installed in the contact / LAN converter 12, and the mail server 13 is operated as an FTP server.

図4はFTPクライアント(接点/LANコンバータ12)とFTPサーバ(メールサーバ13)間のセッションシーケンスを示す図である。まず、FTPクライアントである接点/LANコンバータ12の電源がONになる(S11)と、FTPクライアントとFTPサーバは制御コネクションを開設し(S12、S13)、両者のコネクションを確立させる。被監視装置11の接点が変化し、それを接点/LANコンバータ12が検出すると、FTPクライアントとFTPサーバはデータコネクションを開設し(S14、S15)、FTPによるデータ伝送を開始する。データ伝送が完了すると、データコネクションを切断し(S16、S17)、データ伝送のシーケンスを完了する。なお、制御コネクションは切断せずに接続をし続ける。   FIG. 4 is a diagram showing a session sequence between the FTP client (contact / LAN converter 12) and the FTP server (mail server 13). First, when the contact / LAN converter 12 as an FTP client is turned on (S11), the FTP client and the FTP server establish a control connection (S12, S13), and establish a connection between them. When the contact of the monitored device 11 changes and the contact / LAN converter 12 detects it, the FTP client and FTP server establish a data connection (S14, S15) and start data transmission by FTP. When the data transmission is completed, the data connection is disconnected (S16, S17), and the data transmission sequence is completed. The control connection continues to be connected without disconnecting.

FTP通信は、物理的にLANケーブルが抜けている、メールサーバがダウンしている、通信経路上の機器(スイッチ、ルータ等)が故障している等の状況により失敗する可能性がある。もし、伝送が失敗している最中に被監視装置11の接点が変化した場合、その接点情報はFTPサーバであるメールサーバ13には伝送されなくなる。しかし、障害情報通知というシステム上、接点が変化したという情報は保持しておく必要がある。   There is a possibility that FTP communication may fail due to a situation where the LAN cable is physically disconnected, the mail server is down, or a device (switch, router, etc.) on the communication path is out of order. If the contact of the monitored device 11 changes during the transmission failure, the contact information is not transmitted to the mail server 13 which is an FTP server. However, on the system of failure information notification, it is necessary to retain information that the contact has changed.

図5はFTP通信が失敗した時の動作例を示す図である。FTPクライアント(接点/LANコンバータ12)は、FTP通信が失敗する(S18)と、予め設定されたリトライの間隔と最大リトライ回数に従って再通報(S19、S20)を行う。このリトライの間隔と最大リトライ回数はシステムの要求仕様に合わせて変更が可能である。通信が回復し、FTPサーバ(メールサーバ13)へファイルを伝送する際は、FTP通信が失敗している間の接点変化をFTPクライアントが保持しているため、FTPサーバへFTPクライアントが保持している接点変化のログを伝送する(S21)。このとき、保持するログの件数は必要に応じて変更が可能である。
以上により、FTPサーバはFTP通信が失敗している間に接点が変化しても、通信が失敗している間の変化情報を得ることができる。
FIG. 5 is a diagram illustrating an operation example when the FTP communication fails. When the FTP communication fails (S18), the FTP client (contact / LAN converter 12) performs re-notification (S19, S20) according to a preset retry interval and the maximum number of retries. The retry interval and the maximum number of retries can be changed according to the required specifications of the system. When the communication is restored and the file is transmitted to the FTP server (mail server 13), the FTP client holds the contact change during the FTP communication failure, so the FTP client holds the FTP server. A log of contact changes is transmitted (S21). At this time, the number of logs to be retained can be changed as necessary.
As described above, even if the contact changes during the FTP communication failure, the FTP server can obtain change information during the communication failure.

次に、接点/LANコンバータ12からメールサーバ13に伝送されるFTP通知データ(ファイル)について詳述する。接点/LANコンバータ12は、被監視装置11で障害発生又は復旧し、その接点信号の変化を検出すると、当該接点番号、接点信号の変化情報である障害情報、及び、自身のIPアドレスをファイル名に付加したテキストファイルを通知データとしてメールサーバ13へ送信する。接点番号は、例えば1バイトデータ(番号1〜8を示す)であり、被監視装置11が持つ接点の内、どこの接点が変化したのかを判別するために用いる。障害情報は、被監視装置11で障害が発生(接点がONになった)した場合は“a”を、障害から復旧(接点がOFFになった)した場合は“b”を付加する。自身のIPアドレスは、IPネットワーク上でどこの接点/LANコンバータ12が接点変化を検知したのかを判定するために用いる。   Next, FTP notification data (file) transmitted from the contact / LAN converter 12 to the mail server 13 will be described in detail. When the failure / recovery occurs in the monitored device 11 and the change of the contact signal is detected, the contact / LAN converter 12 detects the contact number, the failure information which is the change information of the contact signal, and its own IP address as the file name. The text file added to is sent to the mail server 13 as notification data. The contact number is, for example, 1-byte data (indicating numbers 1 to 8), and is used to determine which of the contacts of the monitored device 11 has changed. As the failure information, “a” is added when a failure occurs in the monitored device 11 (contact is turned ON), and “b” is added when the failure is recovered from the failure (contact is turned OFF). The own IP address is used to determine which contact / LAN converter 12 has detected a contact change on the IP network.

例えば、IPアドレスが192.168.100.200の接点/LANコンバータ12に接続されている被監視装置11の接点番号1の接点がONになった場合、接点番号は1を、障害情報は障害が発生しているので“a”を、IPアドレスは192.168.100.200を付加してファイル名「P1_a_192.168.100.200.txt」というファイルを生成する。そして、メールサーバ13はこのようなファイル名形式を持った通知データを受け取ると、ファイル名を解析することで、システム上にある被監視装置11の内、どこの接点が変化したのかを特定することが可能となる。
ここで、接点/LANコンバータ12が生成する通知データとしてのファイルの中身のデータは空であってもよいし、任意の固定値であってもよい。
For example, when the contact of contact number 1 of the monitored device 11 connected to the contact / LAN converter 12 with the IP address of 192.168.100.200 is ON, the contact number is 1 and the failure information is failure. Therefore, a file named “P1_a — 192.168.100.200.txt” is generated by adding “a” and 192.168.100.200 to the IP address. When the mail server 13 receives the notification data having such a file name format, the mail server 13 analyzes the file name to identify which contact in the monitored apparatus 11 on the system has changed. It becomes possible.
Here, the data in the file as the notification data generated by the contact / LAN converter 12 may be empty or an arbitrary fixed value.

次に、メールサーバ13のデータ解析及びメール通知機能について詳述する。図6はメールサーバ13が保持する通知データのファイル名とメール通知先との対応関係を示す図であり、図7はメールサーバ13が保持するメール文章のテンプレートの一例を示す図である。メールサーバ13は、図6に示すように、FTP通知データに対応する通知先のメールアドレス(図6では保守担当者、担当者と表記しているが、実際はこれら保守担当者及び担当者のメールアドレス)が予め登録されている。また、メールサーバ13には、接点/LANコンバータ12のIPアドレス及び接点番号も登録されており、障害の発生箇所とメール通知先が対応づけられるようになっている。   Next, the data analysis and mail notification function of the mail server 13 will be described in detail. FIG. 6 is a diagram showing the correspondence between the file name of the notification data held by the mail server 13 and the mail notification destination, and FIG. 7 is a diagram showing an example of a mail text template held by the mail server 13. As shown in FIG. 6, the mail server 13 is a mail address of the notification destination corresponding to the FTP notification data (in FIG. 6, it is described as a maintenance person and a person in charge, but in reality, the mails of these maintenance persons and persons in charge Address) is registered in advance. Further, the IP address and contact number of the contact / LAN converter 12 are also registered in the mail server 13 so that the location where the failure occurs and the mail notification destination are associated with each other.

例えば、接点/LANコンバータ12のIPアドレスが192.168.100.200の場合、接点番号1がONになったときは、メールサーバ13は、接点/LANコンバータ12が作成した「P1_a_192.168.100.200」のFTP通知データを解析し、被監視装置11の装置状態を重大故障として認識し、メール通知先を保守担当者と担当者に設定する。接点番号2がONになったときは、メールサーバ13は、接点/LANコンバータ12が作成した「P2_a_192.168.100.200」のFTP通知データを解析し、被監視装置11の装置状態を軽微故障として認識し、メール通知先を保守担当者に設定する。接点が全てOFFのときは、接点/LANコンバータ12がFTP通知データを作成せず、メールサーバ13は、被監視装置11の装置状態を通常状態と認識し、メールを通知しない。
これにより、メールサーバ13は、FTP通知データを受信すると、ファイルを解析して、メール通知先として保守担当者及び担当者を決定する。
For example, when the IP address of the contact / LAN converter 12 is 192.168.100.200, when the contact number 1 is turned ON, the mail server 13 creates “P1_a — 192.168 .. 100.200 "is analyzed, the device state of the monitored device 11 is recognized as a serious failure, and the mail notification destination is set to the maintenance person and the person in charge. When the contact number 2 is turned ON, the mail server 13 analyzes the FTP notification data “P2_a — 192.168.100.200” created by the contact / LAN converter 12 and determines the device status of the monitored device 11 to be small. Recognize as a failure, and set the e-mail notification destination to the maintenance staff. When all the contacts are OFF, the contact / LAN converter 12 does not create FTP notification data, and the mail server 13 recognizes the device state of the monitored device 11 as a normal state and does not notify the mail.
Accordingly, when the mail server 13 receives the FTP notification data, the mail server 13 analyzes the file and determines a maintenance person and a person in charge as the mail notification destination.

また、メールサーバ13は、図7に示すテンプレートディレクトリ13aに接点/LANコンバータ12のIPアドレス及び接点番号ごとに対応した送信メールのテンプレートファイルを保持している。そして、メールサーバ13は、FTP通知データに基づいて、そのファイル名からIPアドレス及び接点番号を解析し、テンプレートディレクトリ13aから該当するテンプレートファイルを選択する。該当するIPアドレスが無い場合は、接点番号(1〜8)と障害情報(接点状態を表すa又はb)に基づいて、テンプレートディレクトリ13aのテンプレート直下のテンプレートファイル(template/1_a.tpl〜template/8_b.tplのいずれか)を選択する。テンプレートファイル内では障害又は復旧内容に対応したメールの件名及び本文のテキストデータが指定されている。メールサーバ13はこのテンプレートファイルを基に通知するメールの件名及び本文を決定することで、状況に応じた内容のメールを上述した図6のメール通知先に通知することができる。
なお、メールサーバ13は、被監視装置11の障害が復旧した場合にもその旨のメールを上述した方法で所定の宛先に通知することもできる。
Further, the mail server 13 holds a template file for outgoing mail corresponding to each IP address and contact number of the contact / LAN converter 12 in the template directory 13a shown in FIG. Then, the mail server 13 analyzes the IP address and the contact number from the file name based on the FTP notification data, and selects the corresponding template file from the template directory 13a. If there is no corresponding IP address, a template file (template / 1_a.tpl to template / immediately below the template in the template directory 13a is based on the contact number (1 to 8) and the failure information (a or b indicating the contact state). 8_b.tpl) is selected. In the template file, the mail subject and text data corresponding to the failure or recovery content are specified. The mail server 13 can notify the mail notification destination of FIG. 6 described above by determining the subject and body of the mail to be notified based on this template file.
Note that the mail server 13 can also notify a predetermined address by the above-described method even when the failure of the monitored device 11 is recovered.

以上により、メールサーバ13は、被監視装置11で障害が生じた及び復旧した際は、接点/LANコンバータ12から伝送されたFTP通知データのファイル名を解析し、当該接点番号、障害情報及びIPアドレスに対応したテンプレートファイルを選択することで送信するメール本文を決定し、予め登録してある障害の発生箇所と通知先の対応づけを基に通知先(メール宛先アドレス)を選択し、障害情報通知メールを送信する。   As described above, the mail server 13 analyzes the file name of the FTP notification data transmitted from the contact / LAN converter 12 when a failure occurs in the monitored device 11 and recovers, and the contact number, failure information, and IP address are analyzed. By selecting the template file corresponding to the address, the mail text to be sent is determined, the notification destination (email destination address) is selected based on the correspondence between the failure location and the notification destination registered in advance, and the failure information Send a notification email.

このように、メールサーバ13が接点/LANコンバータ12から伝送された障害情報データを解析し、メール通知を行うため、接点/LANコンバータ12に接続するだけで障害情報通知システムを構築することができる。したがって、占有面積、配線、費用の制限が緩和されるため、導入コストを抑えることが可能となる。   As described above, since the mail server 13 analyzes the failure information data transmitted from the contact / LAN converter 12 and performs mail notification, a failure information notification system can be constructed simply by connecting to the contact / LAN converter 12. . Accordingly, restrictions on the occupied area, wiring, and cost are eased, and the introduction cost can be suppressed.

また、接点/LANコンバータ12が、障害を特定するための情報をファイル名としたファイル(通知データ)を生成し、メールサーバ13は、そのファイルのファイル名だけを解析して障害通知メールを作成するので、障害通知メールの送信に係る処理を簡略化でき、迅速に障害通知メールを送信することができる。   Further, the contact / LAN converter 12 generates a file (notification data) with the information for identifying the failure as a file name, and the mail server 13 analyzes only the file name of the file and creates a failure notification mail. Therefore, the process related to the transmission of the failure notification mail can be simplified, and the failure notification mail can be quickly transmitted.

〔2〕本発明の第2実施形態について
次に、本発明の第2実施形態について説明する。上述した第1実施形態は図1に示すようにIPネットワーク上にある接点/LANコンバータ12が1つしかない場合であった。これに対して、本発明の第2実施形態は、接点/LANコンバータ12とメールサーバ13間にネットワークスイッチ等の中継装置14を入れて接点/LANコンバータ12を複数接続し、複数の被監視装置11の障害情報を監視するものである。この場合、複数の接点/LANコンバータ12にそれぞれ固有のIPアドレスを持たせることでシステムの構築が可能である。以下に複数の被監視装置11の障害情報を監視するシステムついて詳述する。
[2] Second Embodiment of the Present Invention Next, a second embodiment of the present invention will be described. The first embodiment described above is a case where there is only one contact / LAN converter 12 on the IP network as shown in FIG. On the other hand, in the second embodiment of the present invention, a relay device 14 such as a network switch is inserted between the contact / LAN converter 12 and the mail server 13 to connect a plurality of contacts / LAN converters 12, and a plurality of monitored devices. 11 failure information is monitored. In this case, the system can be constructed by giving each of the plurality of contact / LAN converters 12 a unique IP address. Hereinafter, a system for monitoring failure information of a plurality of monitored apparatuses 11 will be described in detail.

図8は本発明の第2実施形態としての障害情報通知システムの構成を示すブロック図である。図8に示すように、接点/LANコンバータ12とメールサーバ13の間に中継装置14を設置し、2つの接点/LANコンバータ12、15を中継装置14に接続することで2つの被監視装置11、16に対して障害情報の監視を行う。中継装置14は、例えばネットワークスイッチといったEthernet(登録商標)の集線装置のことを指す。被監視装置が3つ以上の場合でも、中継装置14に3つ以上の接点/LANコンバータを接続することで障害情報の監視をすることが可能である。つまり、新たな被監視装置に接続されている接点/LANコンバータを中継装置14に繋ぐだけでシステムの構築ができるため、システム構築後の被監視装置の追加を容易に行うことができる。   FIG. 8 is a block diagram showing the configuration of a failure information notification system as the second embodiment of the present invention. As shown in FIG. 8, a relay device 14 is installed between the contact / LAN converter 12 and the mail server 13, and two monitored devices 11 are connected by connecting the two contact / LAN converters 12 and 15 to the relay device 14. , 16 is monitored for failure information. The relay device 14 refers to an Ethernet (registered trademark) concentrator such as a network switch. Even when there are three or more monitored devices, it is possible to monitor fault information by connecting three or more contact / LAN converters to the relay device 14. That is, since the system can be constructed simply by connecting the contact / LAN converter connected to the new monitored device to the relay device 14, the monitored device can be easily added after the system construction.

次に、図7で示したメールサーバ13上でのテンプレートファイルの追加方法を以下に詳述する。監視対象となる被監視装置11、16に接続された接点/LANコンバータ12、15のIPアドレス分だけIPアドレスディレクトリをtemplate直下に追加する。各IPアドレスディレクトリ内には各接点/LANコンバータ12、15に入力される接点情報に対応したテンプレートファイルを追加する。上述したようにテンプレートファイルには、通知メールの件名及び本文のテキストデータが内包されているため、メールサーバ13は、上述した接点番号と障害情報とIPアドレスとからなるファイル名形式を持つ通知データを解析し、接点番号とIPアドレスに対応したテンプレートファイルを選択することで、図9に示すように、どこの被監視装置で、どのような障害が、発生又は復旧したのか等の情報をメール本文に入れることができる。なお、図9はメールサーバ13が作成するメール本文例を示す図であり、図9(a)は障害発生時のメール本文例であり、図9(b)は障害復旧時のメール本文例を示している。   Next, a method for adding a template file on the mail server 13 shown in FIG. 7 will be described in detail below. An IP address directory is added immediately below the template for the IP addresses of the contact / LAN converters 12 and 15 connected to the monitored devices 11 and 16 to be monitored. A template file corresponding to the contact information input to each contact / LAN converter 12, 15 is added to each IP address directory. As described above, since the template file contains the subject data and text data of the notification mail, the mail server 13 has the notification data having the file name format including the contact number, the failure information, and the IP address. By selecting a template file corresponding to the contact number and IP address, as shown in FIG. 9, information such as what failure occurred in the monitored device or which has been recovered is sent by e-mail. Can be put in the text. FIG. 9 is a diagram illustrating an example of a mail text created by the mail server 13, FIG. 9A is an example of a mail text when a failure occurs, and FIG. 9B is an example of a mail text when a failure is recovered. Show.

図10は被監視装置11、16の接点が変化した箇所とメール通知先を対応付けした一例である。上述したように、メールサーバ13内には予め、各接点/LANコンバータ12、15のIPアドレス及び各被監視装置の接点番号に対応したメール通知先が登録されている。被監視装置番号1に関しては、上述した図6と同様の動作により、メールサーバ13がメール通知先を決定する。また、被監視装置番号2の被監視装置16には、IPアドレスが192.168.100.201の接点/LANコンバータ15が接続されており、接点番号1がONになったときは、メールサーバ13が、装置状態を重大故障として認識し、メール通知先を保守担当者と担当者に設定する。接点番号2がONになったときは、メールサーバ13が、装置状態を要点検として認識し、メール通知先を保守担当者に設定する。接点が全てOFFのときは、メールサーバ13が、装置状態を通常状態と認識し、メールを通知しない。   FIG. 10 is an example in which the location where the contact points of the monitored devices 11 and 16 are changed and the mail notification destination are associated with each other. As described above, the mail notification destination corresponding to the IP address of each contact / LAN converter 12, 15 and the contact number of each monitored device is registered in the mail server 13 in advance. Regarding the monitored apparatus number 1, the mail server 13 determines the mail notification destination by the same operation as in FIG. Further, the monitored device 16 with the monitored device number 2 is connected to the contact / LAN converter 15 with the IP address 192.168.100.201, and when the contact number 1 is turned ON, the mail server 13 recognizes the apparatus state as a serious failure, and sets a mail notification destination to a maintenance person and a person in charge. When the contact number 2 is turned ON, the mail server 13 recognizes the apparatus state as a need for inspection and sets the mail notification destination to the maintenance person. When all the contacts are OFF, the mail server 13 recognizes the device state as the normal state and does not notify the mail.

以上によりメールサーバ13は、障害が発生した箇所や状態に応じて適切な通知先へメール通知することが可能となる。なお、図10の例では接点が全てOFFのときは通常状態としてメールを通知しないとしているが、定期報知としてメール通知先を指定しても良い。また、障害発生時のみメール通知しているが、復旧時にも送信することができる。さらに、当該IPアドレスが無い場合の通知先を指定しても良い。   As described above, the mail server 13 can send an email notification to an appropriate notification destination in accordance with the location and state where the failure has occurred. In the example of FIG. 10, when all the contacts are OFF, the mail is not notified as a normal state, but the mail notification destination may be designated as a regular notification. In addition, e-mail notification is made only when a failure occurs, but it can also be sent during recovery. Furthermore, a notification destination when there is no IP address may be specified.

このように、複数の被監視装置11、16に対応した障害情報通知システムを構築する場合でも、接点/LANコンバータ12、15とメールサーバ13の間に中継装置14を入れて接点/LANコンバータ12、15を集約し、メールサーバ13上でテンプレートファイルを追加するだけで良いため、導入が容易であり、コストも抑えることができる。   As described above, even when a failure information notification system corresponding to a plurality of monitored devices 11 and 16 is constructed, the relay device 14 is inserted between the contact / LAN converters 12 and 15 and the mail server 13 to provide the contact / LAN converter 12. , 15 and the template file need only be added on the mail server 13, so that the introduction is easy and the cost can be reduced.

〔3〕その他
本発明は、以上の実施形態に限定されるものではなく、発明の趣旨から外れない範囲の変形や組み合わせの実施が可能である。
[3] Others The present invention is not limited to the above embodiments, and modifications and combinations within a range not departing from the gist of the invention can be made.

例えば、上述した実施形態では、一つの接点/LANコンバータ12に一つの被監視装置11が接続される場合を例にあげて説明した。しかし、接点/LANコンバータ12に複数の接点インタフェースがある場合には、複数の被監視装置11を接続してもよい。この場合、接点/LANコンバータ12が生成する通知データであるファイル名称において、接点番号としてP1〜P8の番号は装置番号としても使用される。そして、メールサーバ13は図6や図10に示した予め保持するテーブルにおいて、接点番号に応じて装置状態だけでなく装置番号を管理するように構成し、接点番号に応じたメール通知先を保持する。これにより、中継装置14を設けなくても複数の被監視装置11の障害監視及び障害通知を行うことができる。   For example, in the above-described embodiment, the case where one monitored device 11 is connected to one contact / LAN converter 12 has been described as an example. However, when the contact / LAN converter 12 has a plurality of contact interfaces, a plurality of monitored devices 11 may be connected. In this case, in the file name which is the notification data generated by the contact / LAN converter 12, the numbers P1 to P8 are also used as the device numbers as the contact numbers. The mail server 13 is configured to manage not only the device state but also the device number according to the contact number in the table held in advance shown in FIG. 6 or FIG. 10, and holds the mail notification destination according to the contact number. To do. Thereby, it is possible to perform failure monitoring and failure notification of the plurality of monitored devices 11 without providing the relay device 14.

なお、本発明に係るシステムや装置などにおいて行われる各種の処理としては、例えばプロセッサやメモリ等を備えたハードウエア資源においてプロセッサがROM(Read Only Memory)等のメモリに格納された制御プログラムを実行することにより制御される構成が用いられてもよく、また、例えば当該処理を実行するための各機能手段が独立したハードウエア回路として構成されてもよい。   In addition, as various processes performed in the system and apparatus according to the present invention, for example, in hardware resources including a processor and a memory, the processor executes a control program stored in a memory such as a ROM (Read Only Memory). The configuration controlled by doing so may be used, and for example, each functional means for executing the processing may be configured as an independent hardware circuit.

また、本発明は上記の制御プログラムを格納したフロッピー(登録商標)ディスクやCD(Compact Disc)−ROM等のコンピュータにより読み取り可能な記録媒体や当該プログラム(自体)として把握することもでき、当該制御プログラムを当該記録媒体からコンピュータに入力してプロセッサに実行させることにより、本発明に係る処理を遂行させることができる。   The present invention can also be understood as a computer-readable recording medium such as a floppy (registered trademark) disk or a CD (Compact Disc) -ROM storing the control program, and the program (itself). The processing according to the present invention can be performed by inputting the program from the recording medium to the computer and causing the processor to execute the program.

11、16 被監視装置
12、15 接点/LANコンバータ
13 メールサーバ
13a テンプレートディレクトリ
14 中継装置
11, 16 Monitored device 12, 15 Contact / LAN converter 13 Mail server 13a Template directory 14 Relay device

Claims (3)

監視対象である被監視装置と、前記被監視装置と接続され接点信号を受信するコンバータと、前記コンバータに接続されたメールサーバとを有する障害情報通知システムにであって、
前記コンバータは、前記被監視装置から受信した接点信号に基づいて前記被監視装置の障害状態を検知すると、通知データを生成して前記メールサーバへ送信し、
前記メールサーバは、受信した前記通知データに基づいて前記被監視装置の障害状態のメール通知を行う、ことを特徴とする障害情報通知システム。
A failure information notification system having a monitored device to be monitored, a converter connected to the monitored device and receiving a contact signal, and a mail server connected to the converter,
When the converter detects a failure state of the monitored device based on the contact signal received from the monitored device, the converter generates notification data and transmits the notification data to the mail server.
The failure information notification system, wherein the mail server performs a mail notification of a failure state of the monitored device based on the received notification data.
前記コンバータは、前記通知データとして少なくとも自身のIPアドレスと接点の状態を示す情報を前記メールサーバに送信し、
前記メールサーバは、前記コンバータの前記IPアドレスと前記接点の状態に応じたメールアドレスと文書テキストを予め保持しており、前記受信した前記通知データを解析し、その解析結果に基づいてメールを作成して送信することを特徴とする、請求項1記載の障害情報通知システム。
The converter transmits information indicating at least its own IP address and contact state to the mail server as the notification data,
The mail server holds in advance an e-mail address and document text corresponding to the IP address of the converter and the state of the contact, analyzes the received notification data, and creates an e-mail based on the analysis result The failure information notification system according to claim 1, wherein the failure information notification system is transmitted.
前記コンバータと前記メールサーバとの間に中継装置を備え、
前記中継装置に複数の前記コンバータが接続され、
前記メールサーバは、複数の前記被監視装置の障害状態のメール通知を行うことを特徴とする、請求項1または請求項2記載の障害情報通知システム。
A relay device is provided between the converter and the mail server,
A plurality of the converters are connected to the relay device;
The failure information notification system according to claim 1, wherein the mail server performs mail notification of a failure state of the plurality of monitored devices.
JP2013226738A 2013-10-31 2013-10-31 Failure-information notification system Pending JP2015088007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013226738A JP2015088007A (en) 2013-10-31 2013-10-31 Failure-information notification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013226738A JP2015088007A (en) 2013-10-31 2013-10-31 Failure-information notification system

Publications (1)

Publication Number Publication Date
JP2015088007A true JP2015088007A (en) 2015-05-07

Family

ID=53050719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013226738A Pending JP2015088007A (en) 2013-10-31 2013-10-31 Failure-information notification system

Country Status (1)

Country Link
JP (1) JP2015088007A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003108448A (en) * 2001-07-16 2003-04-11 Canon Inc Device, method, and program for controlling network device
JP2004227346A (en) * 2003-01-23 2004-08-12 Denso Corp Electronic control device
JP2004295162A (en) * 2003-02-04 2004-10-21 I-Net Device Co Ltd Remote monitoring system
JP2006221484A (en) * 2005-02-14 2006-08-24 Meidensha Corp Temperature anomaly monitoring method for computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003108448A (en) * 2001-07-16 2003-04-11 Canon Inc Device, method, and program for controlling network device
JP2004227346A (en) * 2003-01-23 2004-08-12 Denso Corp Electronic control device
JP2004295162A (en) * 2003-02-04 2004-10-21 I-Net Device Co Ltd Remote monitoring system
JP2006221484A (en) * 2005-02-14 2006-08-24 Meidensha Corp Temperature anomaly monitoring method for computer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山田祥寛: "クラウドも簡単! 勤務情報管理アプリをRuby1.9&Rails3で作ろう", 日経ソフトウエア, vol. 第14巻,第7号, JPN6017020892, 24 May 2011 (2011-05-24), JP, pages 64 - 79, ISSN: 0003817948 *

Similar Documents

Publication Publication Date Title
RU2009141603A (en) SERVER DETECTION MECHANISM
CN103607296A (en) Virtual machine fault processing method and equipment thereof
US20170264525A1 (en) System for support in the event of intermittent connectivity, a corresponding local device and a corresponding cloud computing platform
JP6665503B2 (en) Data collection system, data collection device and data collection method
JP2009205364A (en) Life-and-death monitoring method, monitored device, monitor and life-and-death monitoring program
CN103001822A (en) Network anomaly handling method and device
WO2019049433A1 (en) Cluster system, cluster system control method, server device, control method, and non-transitory computer-readable medium having program stored therein
CN111373700B (en) Communication system, controlled device, and control method of communication system
JP2015088007A (en) Failure-information notification system
US10862759B2 (en) Communication network determination apparatus, communication network determination method, and recording medium having communication network determination program recorded therein
JP5469043B2 (en) Remote monitoring system and remote monitoring method
JP5814842B2 (en) E-mail relay device
CN109510725A (en) Fault testing system of communication equipment and method
JP5170000B2 (en) Redundant pair detection method, communication device, redundant pair detection program, recording medium
JP6021456B2 (en) Analysis device, communication system, computer program, and analysis method
JP2011215841A (en) Security system
JP6835700B2 (en) Communication failure section isolation device, communication failure section isolation method, and program
JP5836177B2 (en) Operation system switching device, operation system switching method, and operation system switching program
JP2013121095A (en) Communication device
JP5764090B2 (en) Terminal state detection apparatus and terminal state detection method
JP2012039433A (en) Line concentrator and management method using line concentrator
JP2018078482A (en) Transfer device, transfer method, and program
JP2008017070A (en) Network device, redundant switching method used therefor, and program thereof
JP6213496B2 (en) Control device, control method, and control program
JP2020155938A (en) Network control device, system, method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180620