JP2008176694A - Monitoring system - Google Patents
Monitoring system Download PDFInfo
- Publication number
- JP2008176694A JP2008176694A JP2007011311A JP2007011311A JP2008176694A JP 2008176694 A JP2008176694 A JP 2008176694A JP 2007011311 A JP2007011311 A JP 2007011311A JP 2007011311 A JP2007011311 A JP 2007011311A JP 2008176694 A JP2008176694 A JP 2008176694A
- Authority
- JP
- Japan
- Prior art keywords
- snmp
- trap
- monitoring system
- management target
- proxy agent
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
この発明は、フィールドネットワーク上のProgramable Logic Controller装置(以下、「PLC装置」と称す)に接続された管理対象装置をオープンネットワーク上のSimple Network Management Protocol(以下、「SNMP」と称す)マネージャ装置で監視する監視システムに関するものである。 In the present invention, a managed device connected to a programmable logic controller device (hereinafter referred to as a “PLC device”) on a field network is a simple network management protocol (hereinafter referred to as “SNMP”) manager device on an open network. The present invention relates to a monitoring system for monitoring.
SNMPマネージャ装置で管理対象装置を管理する場合、管理対象装置にSNMPエージェント機能が実装されていなければならない。しかし、PLC装置のようなSNMPエージェント機能を有さない装置をSNMPマネージャ装置で管理する場合、フィールドネットワークで使用している通信プロトコルをSNMPに変換するSNMPプロキシエージェント装置を設けなければならない。 When managing the management target device by the SNMP manager device, the SNMP target function must be mounted on the management target device. However, when a device such as a PLC device that does not have an SNMP agent function is managed by the SNMP manager device, an SNMP proxy agent device that converts the communication protocol used in the field network into SNMP must be provided.
従来のSNMPプロキシエージェント装置は、SNMPマネージャ装置とLANで接続されており、複数の管理対象装置とIP接続不可能な独自プロトコルの伝送路で接続されているプロトコル変換装置から構成され、管理対象項目を共通化Management Information Base(以下、「MIB」と称す)のMIBオブジェクトIDで定義し、管理対象項目データとMIBオブジェクトIDとを、MIBオブジェクトID変換テーブルを用いてマッピングする手段と、SNMPトラップメッセージを作成する手段と、GetRequestに対するGetResponseメッセージを作成する手段を有する。 A conventional SNMP proxy agent device is connected to an SNMP manager device via a LAN, and is composed of a protocol conversion device connected to a plurality of management target devices through a transmission path of a unique protocol that cannot be IP-connected. Is defined by the MIB object ID of the common Management Information Base (hereinafter referred to as “MIB”), the means for mapping the management target item data and the MIB object ID using the MIB object ID conversion table, and the SNMP trap message And a means for creating a GetResponse message for GetRequest.
メッセージを作成する手段としては、管理対象装置から送信されてきたメッセージを基にSNMPトラップメッセージを作成する手段によりSNMPトラップメッセージを作成し、共にSNMPメッセージ送信部に渡すSNMPメッセージ作成部と、GetRequestとSNMPトラップメッセージとをSNMPマネージャ装置に送信するSNMPメッセージ送信部とから構成される。
また、SNMPトラップメッセージを作成する手段は、管理対象装置から送信されてきたメッセージに含まれる管理対象項目番号を基に管理対象項目データとMIBオブジェクトID変換テーブルとから、共通化MIBで定義されているSNMPトラップメッセージを作成している(例えば、特許文献1参照)。
As a means for creating a message, an SNMP trap message is created by a means for creating an SNMP trap message based on a message transmitted from a management target device, and an SNMP message creating section to be passed to the SNMP message transmitting section, GetRequest, An SNMP message transmission unit configured to transmit an SNMP trap message to an SNMP manager device.
The means for creating the SNMP trap message is defined in the common MIB from the management target item data and the MIB object ID conversion table based on the management target item number included in the message transmitted from the management target device. SNMP trap messages are created (see, for example, Patent Document 1).
しかし、管理対象装置にイベントが発生した場合に、SNMPプロキシエージェント装置がSNMPトラップを送信する条件は、管理対象項目状態解析部の判定処理プログラムで判定されているため、管理対象装置毎に判定処理プログラムを実装しなければならないという問題がある。
また、SNMPの規約によれば、SNMPエージェントはSNMPトラップをSNMPマネージャ装置が受信したか否かを確認することができないため、送信側で事前に任意に設定した回数を無条件に送信することをしていたが、SNMPマネージャ装置に不要な表示やログが残ってしまうという問題がある。
However, when an event occurs in the management target device, the condition for the SNMP proxy agent device to transmit the SNMP trap is determined by the determination processing program of the management target item state analysis unit. There is a problem that the program must be implemented.
Further, according to the SNMP rules, the SNMP agent cannot confirm whether the SNMP manager device has received the SNMP trap, so that the number of times arbitrarily set in advance on the transmission side can be transmitted unconditionally. However, there is a problem that unnecessary displays and logs remain in the SNMP manager device.
この発明の目的は、管理対象装置を増減するときにプログラムを変更することのない汎用性の監視システムを提供することである。 An object of the present invention is to provide a versatile monitoring system that does not change a program when the number of devices to be managed is increased or decreased.
この発明に係わる監視システムは、SNMPマネージャ装置、PLC装置および上記SNMPマネージャ装置と上記PLC装置との通信プロトコル変換を担うSNMPプロキシエージェント装置を備える監視システムにおいて、上記SNMPプロキシエージェント装置は、管理対象機器にイベントが発生した時、上記PLC装置から上記管理対象機器の状態情報を受け取って、予め設定された管理テーブルの内容に従って、上記SNMPマネージャ装置にSNMPトラップを送信する。 A monitoring system according to the present invention includes an SNMP manager device, a PLC device, and an SNMP proxy agent device that performs communication protocol conversion between the SNMP manager device and the PLC device. The SNMP proxy agent device is a managed device. When an event occurs, the status information of the managed device is received from the PLC device, and an SNMP trap is transmitted to the SNMP manager device according to the contents of a preset management table.
この発明に係わる監視システムの効果は、管理対象装置が増減する度にプログラムを変更する必要がなく、管理対象項目管理テーブル215に必要な値を追加するだけで良いので、より共有化された汎用性のある監視システムを実現することができる。 The effect of the monitoring system according to the present invention is that there is no need to change the program each time the management target apparatus increases or decreases, and it is only necessary to add a necessary value to the management target item management table 215. A reliable monitoring system can be realized.
実施の形態1.
図1は、この発明の実施の形態1に係わる監視システムの構成を示すブロック図である。図2は、この発明の実施の形態1に係わる管理対象項目管理テーブルのデータ構造を示す図である。
この発明の実施の形態1に係わる監視システムは、図1に示すように、SNMPと異なる独自通信プロトコルを使用しているPLC装置5をSNMPを使用するSNMPマネージャ装置1で監視する。
そして、監視システムは、PLC装置5が管理する管理対象装置6、PLC装置5、PLC装置5が接続される独自通信プロトコルを使用しているフィールドネットワーク4、イーサネット(登録商標)のLAN3、独自通信プロトコルとSNMPを変換するSNMPプロキシエージェント装置2、LAN3に接続されるSNMPマネージャ装置1を備える。
SNMPマネージャ装置1には、管理情報ベースとしてのMIB11を有する。
1 is a block diagram showing the configuration of a monitoring system according to
As shown in FIG. 1, the monitoring system according to the first embodiment of the present invention monitors a
The monitoring system includes a management target device 6 managed by the
The SNMP
SNMPプロキシエージェント装置2は、SNMPマネージャ装置1とLAN3を介してSNMPを用いて通信するSNMPプロトコル処理部21、PLC装置5とフィールドネットワーク4を介して独自通信プロトコルを用いて通信するフィールドネットワークプロトコル処理部22、外部端末装置のWebブラウザから管理対象項目管理テーブル215を設定するTHHPサーバ23を有する。
The SNMP proxy agent device 2 communicates with the
PLC装置5は、SNMPプロキシエージェント装置2とフィールドネットワーク4を介して独自通信プロトコルを用いて通信するフィールドネットワークプロトコル処理部51、管理対象装置6のデジタル値に変換された状態情報が登録されるデータレジスタ52、管理対象装置6の状態情報が入力され、入力された状態情報をデジタル値に変換してデータレジスタ52に送るデバイスインターフェース部53を有する。
The
管理対象装置6の状態情報は、接点間の電圧や端子電圧などがアナログ信号として出力され、PLC装置5のデバイスインターフェース部53に入力される。PLC装置5は、常時、デバイスインターフェース部53に入力するアナログ信号をデジタル値に変換して、データレジスタ52に登録する。
As the state information of the management target device 6, the voltage between the contacts, the terminal voltage, and the like are output as analog signals and input to the
SNMPプロトコル処理部21は、SNMPマネージャ装置1のMIB11と同じMIBファイルが格納されている管理情報ベースとしてのMIB211、SNMPマネージャ装置1からのGetRequestメッセージまたはGetNextRequestメッセージに対してGetResponseメッセージを作成する応答メッセージ作成部212、フィールドネットワークプロトコル処理部22から取得した管理対象装置6の状態情報を基にSNMPトラップメッセージを作成するトラップメッセージ作成部213、予め設定された管理対象項目管理テーブル215の管理情報を基にトラップ送信の実施を判定するトラップ送信判定部214を有する。
The SNMP
フィールドネットワークプロトコル処理部22は、フィールドネットワーク4を介して所定の一定の周期でPLC装置5のデータレジスタ52に登録されている情報を取得する。
The field network
管理対象項目管理テーブル215は、図2に示すように、PLC装置5の各データレジスタの管理対象項目に対して、1対1でMIBオブジェクトIDを対応させている。管理対象項目は、PLC装置5のレジスタ値、対象管理装置名、管理対象項目名、単位、SNMPトラップ送信の有無、SNMPトラップ送信条件であり、各管理対象項目を共通化MIBオブジェクトIDで定義している。
As shown in FIG. 2, the management target item management table 215 associates the MIB object IDs one-to-one with the management target items of the data registers of the
応答メッセージ作成部212は、SNMPマネージャ装置1からのGetRequestメッセージまたはGetNextRequestメッセージを受信すると、受信したGetRequestメッセージまたはGetNextRequestメッセージに該当するMIBオブジェクトIDの値を取得するために、管理対象項目管理テーブル215を検索する。検索の結果、取得した値を基に、GetResponseメッセージを作成し、SNMPマネージャ装置1に送信する。
When receiving the GetRequest message or GetNextRequest message from the
トラップ送信判定部214は、データレジスタ52の情報と管理対象項目管理テーブル215を比較し、SNMPトラップ送信を実施するか否かを判定する。もし、トラップ送信を実施する条件を満たす場合は、トラップメッセージ作成部213は、管理対象項目管理テーブル215の設定情報に従って、管理対象装置名、管理対象項目名、管理対象項目の現在の状態などを含むトラップメッセージを作成し、作成したトラップメッセージをSNMPマネージャ装置1に送信する。
The trap
新たに管理対象装置6を追加したい場合は、新たな管理対象装置6の状態情報が登録されているPLC装置5のデータレジスタ52に対応するレコードを管理対象項目管理テーブル215にMIBオブジェクトIDに1対1で対応させてPLC装置5のレジスタ値、管理対象装置名、管理対象項目名、単位名、SNMPトラップ送信の有無、SNMPトラップ送信条件を追加する。
When a new management target device 6 is desired to be added, a record corresponding to the
この実施の形態1に係わる監視システムは、管理対象装置が増減する度にプログラムを変更する必要がなく、管理対象項目管理テーブル215に必要な値を追加するだけで良いので、より共有化された汎用性のある監視システムを実現することができる。 In the monitoring system according to the first embodiment, it is not necessary to change the program every time the management target apparatus increases or decreases, and it is only necessary to add a necessary value to the management target item management table 215. A versatile monitoring system can be realized.
実施の形態2.
図3は、この発明の実施の形態2に係わる監視システムの構成を示すブロック図である。図4は、SNMPプロキシエージェント装置がSNMPマネージャ装置にSNMPトラップを送信するときに、SNMPマネージャ装置との確認手順を示すフローチャートである。
この発明の実施の形態2に係わる監視システムは、実施の形態1に係わる監視システムとSNMPマネージャ装置1BとSNMPプロキシエージェント装置2Bが異なり、それ以外は同様であるので、同様な部分に同じ符号を付記して説明は省略する。
Embodiment 2. FIG.
FIG. 3 is a block diagram showing the configuration of the monitoring system according to Embodiment 2 of the present invention. FIG. 4 is a flowchart showing a confirmation procedure with the SNMP manager device when the SNMP proxy agent device transmits an SNMP trap to the SNMP manager device.
The monitoring system according to the second embodiment of the present invention is different from the monitoring system according to the first embodiment, the SNMP manager device 1B, and the SNMP
SNMPマネージャ装置1Bは、予めトラップメッセージの受信回数の上限値および受信インターバル時間が設定されている。そして、SNMPマネージャ装置1Bは、最初にトラップメッセージを受信してから受信インターバル時間の間ではトラップメッセージを受信する度にトラップメッセージ受信回数を計数する。そして、SNMPマネージャ装置1Bは、計数されたトラップメッセージ受信回数が上限値以上に達したときトラップメッセージを受信したという確認情報のPutRequestメッセージをSNMPプロキシエージェント装置2に送信する。 In the SNMP manager device 1B, an upper limit value and a reception interval time of the trap message reception frequency are set in advance. Then, the SNMP manager device 1B counts the number of trap message receptions every time a trap message is received during the reception interval time after the first reception of the trap message. Then, the SNMP manager apparatus 1B transmits a PutRequest message with confirmation information indicating that the trap message has been received to the SNMP proxy agent apparatus 2 when the counted number of trap message receptions reaches or exceeds the upper limit value.
実施の形態2に係わるSNMPプロキシエージェント装置2Bは、実施の形態1に係わるSNMPプロキシエージェント装置2とトラップ送信判定部214Bが異なり、それ以外は同様であるので、同様な部分に同じ符号を付記し説明は省略する。
トラップ送信判定部214Bは、SNMPマネージャ装置1BからのPutRequestメッセージを受信した場合、新たにイベントを検出したときSNMPトラップの送信を実施しない。
これによりSNMPマネージャ装置1Bに不要な表示やログが残ってしまうことを防げる。
The SNMP
When receiving a PutRequest message from the SNMP manager apparatus 1B, the trap transmission determination unit 214B does not transmit an SNMP trap when a new event is detected.
Thereby, it is possible to prevent unnecessary displays and logs from remaining in the SNMP manager apparatus 1B.
1、1B SNMPマネージャ装置、2、2B プロキシエージェント装置、3 LAN、4 フィールドネットワーク、5 PLC装置、6 管理対象装置、11 MIB、21 SNMPプロトコル処理部、22 フィールドネットワークプロトコル処理部、23 HTTPサーバ、51 フィールドネットワークプロトコル処理部、52 データレジスタ、53 デバイスインターフェース部、211 MIB、212 応答メッセージ作成部、213 トラップメッセージ作成部、214、214B トラップ送信判定部、215 管理対象項目管理テーブル。 1, 1B SNMP manager device, 2, 2B proxy agent device, 3 LAN, 4 field network, 5 PLC device, 6 managed device, 11 MIB, 21 SNMP protocol processing unit, 22 field network protocol processing unit, 23 HTTP server, 51 field network protocol processing unit, 52 data register, 53 device interface unit, 211 MIB, 212 response message creation unit, 213 trap message creation unit, 214, 214B trap transmission judgment unit, 215 managed item management table.
Claims (2)
上記SNMPプロキシエージェント装置は、管理対象機器にイベントが発生した時、上記PLC装置から上記管理対象機器の状態情報を受け取って、予め設定された管理テーブルの内容に従って、上記SNMPマネージャ装置にSNMPトラップを送信することを特徴とする監視システム。 In a monitoring system comprising an SNMP manager device, a PLC device, and an SNMP proxy agent device responsible for communication protocol conversion between the SNMP manager device and the PLC device,
When an event occurs in the managed device, the SNMP proxy agent device receives status information of the managed device from the PLC device, and sends an SNMP trap to the SNMP manager device in accordance with the contents of a preset management table. A monitoring system characterized by transmitting.
上記SNMPプロキシエージェント装置は、上記確認情報を受信した場合、SNMPトラップ送信を中断することを特徴とする請求項1に記載の監視システム。 When the SNMP manager device receives an SNMP trap from the SNMP proxy agent device, the SNMP manager device transmits confirmation information indicating that the SNMP trap has been received to the SNMP proxy agent device,
The monitoring system according to claim 1, wherein the SNMP proxy agent device interrupts SNMP trap transmission when the confirmation information is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007011311A JP2008176694A (en) | 2007-01-22 | 2007-01-22 | Monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007011311A JP2008176694A (en) | 2007-01-22 | 2007-01-22 | Monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008176694A true JP2008176694A (en) | 2008-07-31 |
Family
ID=39703651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007011311A Pending JP2008176694A (en) | 2007-01-22 | 2007-01-22 | Monitoring system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008176694A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237964A (en) * | 2009-03-31 | 2010-10-21 | Ntt Facilities Inc | Network monitoring system |
JP2019106152A (en) * | 2017-12-14 | 2019-06-27 | ブラザー工業株式会社 | Computer program, and communication device |
JP2020182255A (en) * | 2018-02-23 | 2020-11-05 | 株式会社リコー | Mechanism for cloud-based configuration and management of network device using network mediator implemented separately from network device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000267971A (en) * | 1999-03-17 | 2000-09-29 | Sharp Corp | Communication equipment with offline display function, its method and recording medium |
JP2004048394A (en) * | 2002-07-11 | 2004-02-12 | Ipsquare Inc | Semiconductor circuit device and packet processing method |
JP2006094180A (en) * | 2004-09-24 | 2006-04-06 | Fujitsu Ltd | Network monitoring method and apparatus |
-
2007
- 2007-01-22 JP JP2007011311A patent/JP2008176694A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000267971A (en) * | 1999-03-17 | 2000-09-29 | Sharp Corp | Communication equipment with offline display function, its method and recording medium |
JP2004048394A (en) * | 2002-07-11 | 2004-02-12 | Ipsquare Inc | Semiconductor circuit device and packet processing method |
JP2006094180A (en) * | 2004-09-24 | 2006-04-06 | Fujitsu Ltd | Network monitoring method and apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237964A (en) * | 2009-03-31 | 2010-10-21 | Ntt Facilities Inc | Network monitoring system |
JP2019106152A (en) * | 2017-12-14 | 2019-06-27 | ブラザー工業株式会社 | Computer program, and communication device |
JP2020182255A (en) * | 2018-02-23 | 2020-11-05 | 株式会社リコー | Mechanism for cloud-based configuration and management of network device using network mediator implemented separately from network device |
JP7251534B2 (en) | 2018-02-23 | 2023-04-04 | 株式会社リコー | A cloud-based configuration and management mechanism for network devices using a network arbiter implemented separately from the network devices |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9553831B2 (en) | Adaptive publish/subscribe system | |
EP2908497B1 (en) | Method, device and system for remote management of terminal peripheral | |
JP2009246449A (en) | Control relay program, control relay apparatus and control relay method | |
CN108770009B (en) | Link fault positioning method, device, equipment and readable storage medium | |
EP3386233A1 (en) | Mobile device recording for troubleshooting assistance | |
JP2014165883A (en) | Communication device | |
JP2006338417A (en) | Proxy device | |
JP2009117920A (en) | Communication apparatus and method and communication program | |
JP2008176694A (en) | Monitoring system | |
JP4869160B2 (en) | Packet relay device | |
TW201438435A (en) | A method of managing networked devices | |
US20220390929A1 (en) | Method, A System And A Computer Program Product For Monitoring An Industrial Ethernet Protocol Type Network | |
CN104735401A (en) | Unified network management method for multiple video monitoring platforms | |
WO2014113957A1 (en) | Link management method, device and communication system | |
JP6452834B2 (en) | Information transmission method, managed system, and management system | |
CN111049741B (en) | Method for improving communication reliability, communication system and terminal equipment | |
JP2004086522A (en) | Communication network monitoring system | |
US9743037B2 (en) | Method for transmitting device indicator data in network-based AV system | |
JP6572488B2 (en) | Conversion device and control method of conversion device | |
CN110719207A (en) | Alarm message transmission method and device, industrial data acquisition platform and storage medium | |
JP2005123766A (en) | Communication control apparatus | |
CN105306238A (en) | Terminal access method, terminal access device and terminal access system | |
JP6546017B2 (en) | Communication apparatus, transmission method, and program | |
WO2023005543A1 (en) | Query method and apparatus, and device | |
JP2018142092A (en) | Operation checking device, operation checking program, operation checking method, and operation checking system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090827 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110628 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111025 |