JP2003216456A - Agent system and message destination setting method - Google Patents

Agent system and message destination setting method

Info

Publication number
JP2003216456A
JP2003216456A JP2002010317A JP2002010317A JP2003216456A JP 2003216456 A JP2003216456 A JP 2003216456A JP 2002010317 A JP2002010317 A JP 2002010317A JP 2002010317 A JP2002010317 A JP 2002010317A JP 2003216456 A JP2003216456 A JP 2003216456A
Authority
JP
Japan
Prior art keywords
destination
manager
agent
trap
message
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
JP2002010317A
Other languages
Japanese (ja)
Inventor
Takashi Kawakami
高司 川上
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP2002010317A priority Critical patent/JP2003216456A/en
Publication of JP2003216456A publication Critical patent/JP2003216456A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To automatically generate a trap message notification destination by an agent without a need to provide a special automatic setting means for a trap message by a manager. <P>SOLUTION: The agent 101 is composed of a manager identification information recognizing part 103 taking out manager identification information for automatically setting the destination for the trap message from a request message sent from the manger to the agent, a manager identification information propriety determining part 104 determining whether or not the recognized manager identification information can be registered as the trap message destination, a system information replying part 107 sending back system information requested by the manger, and a trap message issuing part 108 issuing the trap message. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、エージェントシス
テム及びメッセージ宛先設定方法に係り、特に、ネット
ワークに接続されたエージェントコンピュータ(以下、
単に、エージェントという)からマネージャコンピュー
タ(以下、単に、マネージャという)へのトラップメッ
セージの宛先の設定を容易にしたエージェントシステム
及びエージェントにおけるメッセージ宛先設定方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an agent system and a message destination setting method, and more particularly to an agent computer connected to a network (hereinafter referred to as "agent computer").
The present invention relates to an agent system that facilitates setting a trap message destination from a manager computer (hereinafter simply referred to as a manager) to a manager computer and a message destination setting method in the agent.

【0002】[0002]

【従来の技術】一般に、エージェントは、自律的な判断
に基づいた処理を実行する機能を備え、ネットワーク上
で高度なサービスを提供することができるもので、部門
サーバ的な処理を行うものである。また、マネージャ
は、システム全体の管理を行う機能を備えると共に、エ
ージェントに対して指定した処理等を行わせるもので
あ。エージェントシステムは、ネットワーク上に世界的
な拡がりを持って分散して配置されている複数のマネー
ジャと複数のエージェントとにより構成され、エージェ
ントは、世界的な拡がりを持って分散して配置されてい
るマネージャからの要求に対応している。前述したよう
なシステムにおける複数のマネージャーは、それらのマ
ネージャが配置されている国の時刻に基づいて稼働状態
になりあるいは停止されている。
2. Description of the Related Art Generally, an agent has a function of executing processing based on autonomous judgment, can provide high-level services on a network, and performs processing like a department server. . In addition, the manager has a function of managing the entire system and causes the agent to perform specified processing. The agent system is composed of a plurality of managers and a plurality of agents which are distributed in a global spread on the network, and the agents are distributed and arranged in a spread of the world. It corresponds to the request from the manager. Multiple managers in a system such as the one described above are activated or deactivated based on the time of day in the country in which they are located.

【0003】前述したような複数のマネージャ及び複数
のエージェントがネットワーク接続されて構成されるエ
ージェントシステムにおいて、各エージェントは、異常
発生時等に、その異常をトラップメッセージとして通知
する相手のマネージャとして、稼働状態にあるマネージ
ャを決定し、そのマネージャにトラップメッセージを通
知する必要がある。そして、そのためのマネージャの宛
先は、各エージェント側で人手で設定するか、特開平9
−172433号公報に記載されているように、マネー
ジャから送信されてくるトラップメッセージ通知宛先設
定メッセージにより設定していた。
In an agent system configured by connecting a plurality of managers and a plurality of agents as described above to each other, each agent operates as a manager of the other party who notifies the abnormality as a trap message when an abnormality occurs. You need to determine which manager is in a state and notify that manager with trap messages. Then, the destination of the manager for that purpose is set manually on each agent side, or according to
As described in JP-A-172433, the setting is made by the trap message notification destination setting message transmitted from the manager.

【0004】[0004]

【発明が解決しようとする課題】前述した公報に記載さ
れた従来技術は、人手によりエージェントの「異常通知
先アドレス」を設定する作業を削減することを可能にす
るものであるが、マネージャに、そのための特別な自動
設定手段が必要であり、自動設定手段を設けていないマ
ネージャとエージェントとの場合の「異常通知先アドレ
ス」を設定する作業を削減することができないという問
題点を有している。
The prior art described in the above-mentioned publication makes it possible to reduce the work of manually setting the "abnormality notification destination address" of the agent, but Therefore, a special automatic setting means is required, and there is a problem that the work of setting the "abnormality notification destination address" in the case of a manager and an agent not provided with the automatic setting means cannot be reduced. .

【0005】本発明の目的は、前述した従来技術の問題
点を解決し、マネージャに特別なトラップメッセージの
自動設定手段を設けていない場合にも、エージェントが
自動的にトラップメッセージ通知宛先を生成することを
可能にしたエージェントシステム及びメッセージ宛先設
定方法を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, and the agent automatically generates the trap message notification destination even when the manager is not provided with a special trap message automatic setting means. It is to provide an agent system and a message destination setting method that enable the above.

【0006】[0006]

【課題を解決するための手段】本発明によれば前記目的
は、複数のマネージャコンピュータと、1または複数の
エージェントコンピュータとがネットワークを介して接
続されたエージェントシステムにおいて、前記エージェ
ントコンピュータは、複数のマネージャコンピュータの
それぞれからのリクエストメッセージからそのマネージ
ャコンピュータの識別情報を取り出す手段と、取り出し
た識別情報をトラップメッセージの宛先として格納する
手段とを備えることにより達成される。
According to the present invention, the object is to provide an agent system in which a plurality of manager computers and one or a plurality of agent computers are connected via a network. This is achieved by providing means for extracting the identification information of the manager computer from the request message from each of the manager computers and means for storing the extracted identification information as the destination of the trap message.

【0007】前述において、前記エージェントコンピュ
ータは、トラップメッセージの宛先数を演算する手段を
備え、前記トラップメッセージの宛先を格納する手段内
に登録されるトラップメッセージの宛先数を管理すると
共に、前記トラップメッセージの宛先を格納する手段内
に格納される宛先の登録時刻を参照して、登録後、所定
の時間を経過した宛先を削除する。
In the above description, the agent computer includes means for calculating the number of destinations of trap messages, manages the number of destinations of trap messages registered in the means for storing the destinations of trap messages, and The registration time of the destination stored in the means for storing the destination is referred to, and the destination after a predetermined time has elapsed after registration is deleted.

【0008】[0008]

【発明の実施の形態】以下、本発明によるエージェント
システム及びメッセージ宛先設定方法の実施形態を図面
により詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of an agent system and a message destination setting method according to the present invention will be described below in detail with reference to the drawings.

【0009】図1は本発明の一実施形態によるエージェ
ントシステムの構成を示すブロック図である。図1にお
いて、101はエージェント、102はマネージャから
のリクエスト受信部、103はマネージャ識別情報認識
部、104はマネージャ識別情報使用可否判定部、10
5はリクエスト情報認証機能部、106は宛先数判定機
能部、107はシステム情報応答部、108はトラップ
メッセージ発行部、109はアクセス可否情報DB、1
10はシステム情報DB、111はトラップメッセージ
宛先情報DB、112はネットワーク、113、114
はマネージャである。
FIG. 1 is a block diagram showing the configuration of an agent system according to an embodiment of the present invention. In FIG. 1, 101 is an agent, 102 is a request receiving unit from a manager, 103 is a manager identification information recognition unit, 104 is a manager identification information availability determination unit, 10
5 is a request information authentication function unit, 106 is a destination number determination function unit, 107 is a system information response unit, 108 is a trap message issuing unit, 109 is an access permission information DB, 1
10 is a system information DB, 111 is a trap message destination information DB, 112 is a network, 113, 114
Is a manager.

【0010】本発明の実施形態によるエージェントシス
テムは、図1に示すように、エージェント101と複数
のマネージャ113、114とがネットワーク112に
接続されて構成される。マネージャ113、114は、
従来技術の欄で説明したように、世界的な拡がりを持っ
て分散して配置されており、エージェント101に対し
て種々の処理要求を行ってその処理を依頼している。ま
た、これらのマネージャ113、114は、それらのマ
ネージャが配置されている国の時刻に基づいて稼働状態
になりあるいは停止されている。各マネージャは、例え
ば、その国の時刻で、午前9時から午後5時まで稼働状
態にあり、その他の時刻には停止している。またエージ
ェント101は、1日24時間停止することなく、複数
のマネージャからの要求を受けて処理を行っている。な
お、図1には、1台のエージェントと2台のマネージャ
とのみを示しているが、これらは多数あってよい。
As shown in FIG. 1, an agent system according to an embodiment of the present invention comprises an agent 101 and a plurality of managers 113 and 114 connected to a network 112. Managers 113 and 114
As described in the section of the prior art, they are distributed and arranged with a global spread, and various processing requests are made to the agent 101 to request the processing. Also, these managers 113, 114 are activated or stopped based on the time of day in the country in which they are located. Each manager is, for example, in the country's time, from 9 am to 5 pm, and is inactive at other times. Also, the agent 101 receives requests from a plurality of managers and performs processing without stopping 24 hours a day. Although only one agent and two managers are shown in FIG. 1, there may be many of them.

【0011】エージェント101は、マネージャからの
リクエスト受信部102と、マネージャ識別情報認識部
103と、リクエスト情報認証機能部105及び宛先数
判定機能部106を有するマネージャ識別情報使用可否
判定部104と、システム情報応答部107と、トラッ
プメッセージ発行部108とを備えて構成され、アクセ
ス可否情報DB109、システム情報DB110、トラ
ップメッセージ宛先情報DB111が接続されている。
The agent 101 includes a request receiving unit 102 from a manager, a manager identifying information recognizing unit 103, a manager identifying information availability determining unit 104 having a request information authenticating function unit 105 and a destination number determining function unit 106, and a system. The information response unit 107 and the trap message issuing unit 108 are provided, and the access permission / inhibition information DB 109, the system information DB 110, and the trap message destination information DB 111 are connected.

【0012】前述において、マネージャからのリクエス
ト受信部102は、エージェント101がマネージャ1
13、114からのシステム情報等に対するリクエスト
メッセージを受信するものであり、マネージャ識別情報
認識部103は、マネージャ113、114を判別する
ための識別情報をマネージャからのリクエストメッセー
ジから取り出すものである。
In the above description, in the request receiving unit 102 from the manager, the agent 101 is the manager 1
The request message for the system information or the like is received from 13, 114, and the manager identification information recognition unit 103 extracts the identification information for identifying the managers 113, 114 from the request message from the manager.

【0013】マネージャ識別情報使用可否判定部104
は、リクエスト情報認証機能部105と宛先数判定機能
部106とを有し、マネージャ識別情報をエージェント
101のトラップメッセージ通知宛先とするか否かを判
定するものである。トラップメッセージとは、エージェ
ント101からマネージャ113、114に対して非同
期に通知するメッセージであり、例えば、エージェント
内部で発生した障害を通知するメッセージである。な
お、このリクエスト情報認証機能部105と宛先数判定
機能部106との処理動作については、図2〜図4に示
すフローにより後述する。また、リクエスト認証機能部
105が参照するアクセス可否情報DB109について
は図6により後述する。
Manager identification information availability determination unit 104
Has a request information authentication function unit 105 and a destination number determination function unit 106, and determines whether or not to use the manager identification information as the trap message notification destination of the agent 101. The trap message is a message that is notified asynchronously from the agent 101 to the managers 113 and 114, and is, for example, a message that notifies a failure that has occurred inside the agent. The processing operations of the request information authentication function unit 105 and the destination number determination function unit 106 will be described later with reference to the flows shown in FIGS. The access permission / prohibition information DB 109 referred to by the request authentication function unit 105 will be described later with reference to FIG.

【0014】システム情報応答部107は、マネージャ
113、114からのリクエストメッセージの中に指定
されているシステム情報IDに対応した情報をシステム
情報DB110から読み込み、マネージャにその読み込
んだ値をメッセージに追加して応答する。なお、前述の
システム情報DB110については図7により後述す
る。
The system information responding unit 107 reads information corresponding to the system information ID specified in the request message from the managers 113 and 114 from the system information DB 110, and adds the read value to the message in the manager. To respond. The system information DB 110 described above will be described later with reference to FIG. 7.

【0015】トラップメッセージ発行部108は、エー
ジェント101内で非同期に発生した事象を通知するた
めのトラップメッセージをマネージャ113、114に
発行する処理を行う。トラップメッセージ発行部108
の処理動作については、図5に示すフローにより後述す
る。なお、トラップメッセージ発行部108が参照する
トラップ宛先DB111については図8により、また、
エージェント101が発行するトラップメッセージにつ
いては図9により、さらに、マネージャでのトラップメ
ッセージの表示例については図10により後述する。
The trap message issuing unit 108 performs a process of issuing a trap message for notifying an event that occurred asynchronously in the agent 101 to the managers 113 and 114. Trap message issuing unit 108
The processing operation of will be described later with reference to the flow shown in FIG. The trap destination DB 111 referred to by the trap message issuing unit 108 will be described with reference to FIG.
The trap message issued by the agent 101 will be described later with reference to FIG. 9, and a display example of the trap message on the manager will be described later with reference to FIG.

【0016】図2はリクエスト情報認証機能部105で
のアクセスの可否を決定する処理動作を説明するフロー
チャートであり、次に、これについて説明する。
FIG. 2 is a flow chart for explaining the processing operation for determining whether access is possible in the request information authentication function unit 105, which will be described next.

【0017】(1)マネージャからのリクエスト受信部
102で受信されたマネージャからのリクエストメッセ
ージを解析してパスワード等の認証情報とアクセス可否
情報とを取り出し、図1には示していない認証情報DB
を参照して、アクセスしてきたマネージャの情報とその
パスワードとの対応が正しいか否かを判定して認証を行
い、正しくない場合、そのアクセスが不正であるとし
て、そのリクエストを廃棄して処理を終了する。なお、
パスワード等の認証情報によるマネージャの認証の処理
は、マネージャ識別情報認識部103で行ってもよい
(ステップ201、202、206)。
(1) An authentication information DB not shown in FIG. 1 is obtained by analyzing a request message from the manager received by the request reception unit 102 from the manager, extracting authentication information such as a password and access permission information.
Authentication is performed by determining whether the correspondence between the accessing manager's information and its password is correct. If not, the access is considered invalid and the request is discarded and processed. finish. In addition,
The manager authentication information recognition unit 103 may perform the manager authentication process using the authentication information such as the password (steps 201, 202, 206).

【0018】(2)ステップ202の判定で、認証が行
われた場合、アクセス可否情報DB109からアクセス
可否情報を1行分読み出し、アクセス可否情報が存在し
たか否か、すなわち、アクセス可否情報DB109内の
全行の処理が終了しているか否かを判定し、終了してい
れば、そのリクエストメッセージを廃棄して処理を終了
する(ステップ203、204、206)。
(2) If the authentication is performed in the determination in step 202, one line of access permission / prohibition information is read from the access permission / prohibition information DB 109, and whether or not the access permission / prohibition information exists, that is, the access permission / prohibition information DB 109 It is determined whether or not the processing of all the lines has been completed, and if completed, the request message is discarded and the processing ends (steps 203, 204, 206).

【0019】(3)ステップ204の判定で、アクセス
可否情報が存在していた場合、リクエストメッセージに
含まれるアクセス可否情報が、アクセス可否情報DB1
09から読み出したアクセス可否情報と一致するか否か
を判定する(ステップ205)。
(3) If it is determined in step 204 that the access permission / denial information exists, the access permission / denial information included in the request message is the access permission / denial information DB1.
It is determined whether or not it matches the access permission information read from 09 (step 205).

【0020】(4)ステップ205の判定で、一致が得
られなかった場合、アクセス可否情報DB109に読み
出すアクセス可否情報がまだ残っている可能性があるの
で、ステップ203の処理に戻って次のアクセス可否情
報を読み出す処理からの処理を繰り返し、ステップ20
5の判定で、アクセス可否情報の一致が得られた場合、
そこで処理を終了する。
(4) If no match is obtained in the determination in step 205, there is a possibility that the access permission / prohibition information to be read remains in the access permission / prohibition information DB 109. Therefore, the processing returns to step 203 and the next access is performed. The process from the process of reading the availability information is repeated, and step 20
In the case of the judgment of 5, if the access permission information matches,
Then, the process ends.

【0021】図3はマネージャ識別情報使用可否判定部
104の宛先数判定機能部106でのトラップメッセー
ジ宛先情報登録期間チェックの処理動作を説明するフロ
ーチャートであり、次に、これについて説明する。この
処理は、前述で説明したように、1日の内のマネージャ
の稼働時間が一定時間、例えば、8時間程度であるの
で、最後に宛先情報を登録したときからの時間を監視し
て、一定期間アクセスがなかったマネージャについて、
稼働時間を経過して休止状態にあるとして、そのマネー
ジャに対する宛先情報を削除する処理であり、一定時間
間隔、または、マネージャ識別情報認識部103でマネ
ージャ識別情報が取得された時に起動される処理であ
る。
FIG. 3 is a flow chart for explaining the processing operation of the trap message destination information registration period check in the destination number determination function unit 106 of the manager identification information availability determination unit 104, which will be described next. In this process, as described above, the operating time of the manager within a day is a fixed time, for example, about 8 hours, so the time from the last time the destination information is registered is monitored and fixed. For managers who have not accessed for a period of time,
This is a process of deleting the destination information for the manager, assuming that the manager has been in the dormant state after the operating time has elapsed, and is a process that is started at a fixed time interval or when the manager identification information is acquired by the manager identification information recognition unit 103. is there.

【0022】(1)トラップメッセージ宛先情報登録期
間チェックが開始されると、まず、エージェント101
内の図示しないメモリ等に格納されているトラップメッ
セージ宛先登録期間を読み込み、図8により後述するト
ラップ宛先情報DB111から1つの行を読み込む(ス
テップ301、302)。
(1) When the trap message destination information registration period check is started, first, the agent 101
A trap message destination registration period stored in a memory (not shown) therein is read, and one row is read from a trap destination information DB 111 described later with reference to FIG. 8 (steps 301 and 302).

【0023】(2)トラップ宛先情報DB111の読み
込む宛先のエントリーがあるか否かを判定し、ない場
合、すなわち、トラップ宛先情報DB111内の全行の
処理が終了しているか否かを判定し、終了していれば、
ここでの処理を終了する(ステップ303)。
(2) It is determined whether or not there is an entry of a destination to be read in the trap destination information DB 111, that is, it is determined whether or not all the lines in the trap destination information DB 111 have been processed, If you're done,
The process here is terminated (step 303).

【0024】(3)ステップ303の判定で、読み込む
行が存在したする場合、その行のマネージャ識別情報登
録時刻を取り出し、その識別情報登録時刻が現在時刻か
らステップ301で読み込んだ登録期間を引いた時刻よ
り小さいか否かを比較する(ステップ304)。
(3) If it is determined in step 303 that the line to be read exists, the manager identification information registration time of that line is taken out, and the identification information registration time is the current time minus the registration period read in step 301. It is compared whether it is smaller than the time (step 304).

【0025】(4)ステップ304の比較で、識別情報
登録時刻が現在時刻から登録期間を引いた時刻より小さ
かった場合、そのマネージャ識別情報は登録期間より前
に登録されているので、そのマネージャは、すでに停止
状態にあり、トラップメッセージの送信対象とする必要
がなくなっているとしてその行を削除し、ステップ30
2からの処理に戻って、トラップ宛先情報DB111の
次の行を読み込んで処理を続ける(ステップ305)。
(4) If the identification information registration time is smaller than the time obtained by subtracting the registration period from the current time in the comparison in step 304, the manager identification information is registered before the registration period. , That line is already stopped and it is no longer necessary to send the trap message, delete that line, and step 30
Returning to the processing from 2, the next line of the trap destination information DB 111 is read and the processing is continued (step 305).

【0026】(5)ステップ304の比較で、識別情報
登録時刻が現在時刻から登録期間を引いた時刻より大き
かった場合、そのマネージャの識別情報は、登録期間内
なのでその行の削除を行わずに、ステップ302からの
処理に戻って、トラップ宛先情報DB111の次の行を
読み込んで処理を続ける。
(5) If the identification information registration time is greater than the time obtained by subtracting the registration period from the current time in the comparison in step 304, the identification information of the manager is within the registration period, and therefore the line is not deleted. Returning to the processing from step 302, the next line of the trap destination information DB 111 is read and the processing is continued.

【0027】図4はマネージャ識別情報使用可否判定部
104の宛先数判定機能部106での宛先数判定の処理
動作を説明するフローチャートであり、次に、これにつ
いて、説明する。この処理は、トラップメッセージ宛先
DBに格納する宛先数を予め定められた数に限定してお
くための処理であり、これにより、エージェントの処理
付加を軽減することができる。また、この処理は、図3
に説明した処理に続いて実行される処理である。
FIG. 4 is a flow chart for explaining the processing operation for determining the number of destinations in the destination number determining function unit 106 of the manager identification information availability determining unit 104. Next, this will be described. This process is a process for limiting the number of destinations to be stored in the trap message destination DB to a predetermined number, whereby the processing load of the agent can be reduced. In addition, this process is shown in FIG.
This is a process that is executed subsequent to the process described in.

【0028】(1)トラップメッセージ宛先情報登録期
間チェックを呼び、図3により説明した処理を行って、
トラップ宛先情報DB111から登録期間を過ぎたトラ
ップ宛先情報を削除する(ステップ401)。
(1) Call the trap message destination information registration period check and perform the processing described with reference to FIG.
The trap destination information whose registration period has expired is deleted from the trap destination information DB 111 (step 401).

【0029】(2)マネージャ識別情報認識部103で
取得したマネージャ識別情報がトラップメッセージ宛先
情報DB111に登録されているかを検索し、トラップ
メッセージ宛先にすでに登録済みとなっているか否かを
判定し、すでに登録済みの場合、トラップメッセージ宛
先情報DB111の該当する行の登録時刻を現在の時刻
に書き換えて処理を終了する(ステップ402、40
7)。
(2) It is searched whether the manager identification information acquired by the manager identification information recognition unit 103 is registered in the trap message destination information DB 111, and it is determined whether or not the manager identification information is already registered in the trap message destination. If it has already been registered, the registration time of the corresponding line in the trap message destination information DB 111 is rewritten to the current time and the process ends (steps 402 and 40).
7).

【0030】(3)ステップ402の判定で、そのマネ
ージャのトラップメッセージ宛先が登録されていなかっ
た場合、トラップメッセージ宛先情報DB111にトラ
ップメッセージ宛先が何個登録されているかを取得する
(ステップ403)。
(3) If it is determined in step 402 that the trap message destination of the manager is not registered, the number of trap message destinations registered in the trap message destination information DB 111 is acquired (step 403).

【0031】(4)次に、エージェント101のメモリ
等に格納されているトラップメッセージ宛先の登録可能
な最大数を読み込み、トラップメッセージ宛先DBのす
でに登録されている宛先数とトラップメッセージ宛先の
登録可能な最大数とを比較し、トラップメッセージ宛先
DBの宛先数がトラップメッセージ宛先の登録可能な最
大数より大きい場合、マネージャ識別情報認識部103
で取得したマネージャ識別情報を持つマネージャに対す
る宛先情報を登録することができないとして、個々での
処理を終了する(ステップ404、405)。
(4) Next, the maximum number of trap message destinations that can be registered, which is stored in the memory or the like of the agent 101, is read, and the number of destinations already registered in the trap message destination DB and the trap message destinations can be registered. If the number of destinations in the trap message destination DB is larger than the maximum number of trap message destinations that can be registered, the manager identification information recognition unit 103 is compared.
Since it is not possible to register the destination information for the manager having the manager identification information acquired in step 3, the individual processing is terminated (steps 404 and 405).

【0032】(5)ステップ405の比較で、トラップ
メッセージ宛先DBの宛先数がトラップメッセージ宛先
を登録可能な最大数より小さかった場合、マネージャ識
別情報認識部103で取得したマネージャ識別情報と現
在の時刻とをトラップメッセージ宛先情報DBに追加登
録して処理を終了する。
(5) In step 405, if the number of destinations in the trap message destination DB is smaller than the maximum number of trap message destinations that can be registered, the manager identification information acquired by the manager identification information recognition unit 103 and the current time And are additionally registered in the trap message destination information DB, and the process ends.

【0033】図5はトラップメッセージ発行部108の
処理動作を説明するフローチャートであり、次に、これ
について説明する。この処理は、エージェント101内
で非同期に発生した異常等の事象をマネージャに通知す
る処理であり、事象が発生したときに起動される。
FIG. 5 is a flowchart for explaining the processing operation of the trap message issuing unit 108, which will be described next. This process is a process of notifying the manager of an event such as an abnormality that has occurred asynchronously in the agent 101, and is activated when the event occurs.

【0034】(1)異常等の事象が発生すると、まず、
前述で説明したトラップメッセージ宛先情報登録期間チ
ェックを呼び、トラップ宛先情報DB111から登録期
間を過ぎたトラップ宛先情報を削除する(ステップ50
1)。
(1) When an event such as an abnormality occurs, first,
The trap message destination information registration period check described above is called, and the trap destination information whose registration period has expired is deleted from the trap destination information DB 111 (step 50).
1).

【0035】(2)次に、トラップ宛先情報DB111
からトラップ宛先情報を1行読み込み、トラップ宛先情
報が存在するか否か、すなわち、トラップ宛先情報DB
111の全行の処理が終了しているか否かを判定し、ト
ラップ宛先情報が存在しなければ処理を終了する(ステ
ップ502、503)。
(2) Next, the trap destination information DB 111
One line of the trap destination information is read from the table to determine whether the trap destination information exists, that is, the trap destination information DB
It is determined whether or not the processing for all the rows of 111 has been completed, and if there is no trap destination information, the processing is completed (steps 502 and 503).

【0036】(3)ステップ503の判定で、トラップ
宛先情報が存在した場合、マネージャ識別情報で示され
るマネージャにトラップメッセージを通知し、ステップ
502の処理に戻って、次のトラップ宛先情報DBの次
の行を読み込んで処理を続ける(ステップ504)。
(3) If the trap destination information exists in the determination in step 503, the trap message is notified to the manager indicated by the manager identification information, the process returns to step 502, and the next trap destination information DB is searched. Line is read and processing is continued (step 504).

【0037】図6はアクセス可否情報DBの構成を説明
する図である。アクセス可否情報DBは、番号601
と、アクセス可否情報602と、アクセスレベル603
とからなる。番号601は、各行の番号であり1から順
番に付与される。アクセス可否情報602は、マネージ
ャとエージェントとの合い言葉のようなものであり、マ
ネージャは、リクエストメッセージの中にアクセス可否
情報602を付加して、エージェントに対するリクエス
トを行う。エージェント101は、そのアクセス可否情
報がエージェント101のアクセス可否情報DB中のア
クセス可否情報と一致すればシステム情報へのアクセス
を許可する。アクセスレベル603は、そのエントリの
アクセス可否情報を含んだマネージャのリクエストメッ
セージがシステム情報にアクセスするレベルを規定す
る。図示例では、その値として、“read-only” と、
“read-write”との2つの値が規定されている。“read
-only”は、システム情報の読み出しのみが可能であ
り、“read-write”は、システム情報の読み込みと書き
込みとが可能である。番号1の行604は、アクセス可
否情報602が“public”であり、システム情報の読み
込みだけが可能である。番号2の行605は、アクセス
可否情報602が“secret”であり、システム情報の読
み込みと書き込みとが可能である。
FIG. 6 is a diagram for explaining the structure of the access permission / prohibition information DB. The access propriety information DB is number 601
Access permission information 602 and access level 603
Consists of. The number 601 is the number of each line and is assigned in order from 1. The access permission / prohibition information 602 is like a watchword between the manager and the agent. The manager adds the access permission / prohibition information 602 to the request message to make a request to the agent. The agent 101 permits access to the system information if the access permission / denial information matches the access permission / denial information in the access permission / denial information DB of the agent 101. The access level 603 defines the level at which the manager's request message including the access permission / prohibition information of the entry accesses the system information. In the example shown, as its value, "read-only",
Two values, "read-write", are specified. “Read
"-only" can read only the system information, and "read-write" can read and write the system information. In the line 604 of number 1, the access permission information 602 is "public". Yes, the system information can only be read in. In the line 605 with the number 2, the access permission / prohibition information 602 is "secret", and the system information can be read and written.

【0038】図7はシステム情報DBの構成を説明する
図である。システム情報DBは、番号701と、オブジ
ェクトID702と、値703とからなる。番号701
は、各行の番号であり1から順番に付与される。オブジ
ェクトID702は、システム情報を識別する番号であ
り、値703は、システム情報の値である。番号1の行
704は、オブジェクトID702が“.1.3.6.
1.1”であり、値703が“.system001” である。
この値は、エージェント101のコンピューター名であ
る。番号2の行705は、オブジェクトIDが“.1.
3.6.1.2”であり、その値が“本館5F”であ
る。この値は、エージェント101の設置場所である。
FIG. 7 is a diagram for explaining the configuration of the system information DB. The system information DB includes a number 701, an object ID 702, and a value 703. Number 701
Is the number of each line and is assigned in order from 1. The object ID 702 is a number for identifying system information, and the value 703 is a value of system information. In the row 704 having the number 1, the object ID 702 is “.1.1.3.6.
1.1 ”and the value 703 is“. system001 ”.
This value is the computer name of the agent 101. In the row 705 with the number 2, the object ID is “.
It is 3.6.1.2 "and its value is" main building 5F ". This value is the installation location of the agent 101.

【0039】図8はトラップメッセージ宛先情報DBの
構成を説明する図である。トラップメッセージ宛先DB
は、番号801と、マネージャ識別情報802と、登録
時刻803とからなる。番号801は、各行の番号であ
り1から順に付与される。マネージャ識別情報802
は、マネージャを識別するための情報であり、登録時刻
803は、その行が登録された時刻である。番号1の行
804は、時刻“20.01.31”に、マネージャ識
別情報として“172.16.49.20”が登録され
たことを示しており、番号2の行805は、時刻“2
0.04.14”に、マネージャ識別情報として“17
2.16.68.10”が登録されたことを示してい
る。
FIG. 8 is a diagram for explaining the structure of the trap message destination information DB. Trap message destination DB
Includes a number 801, manager identification information 802, and registration time 803. The number 801 is the number of each line and is assigned in order from 1. Manager identification information 802
Is information for identifying the manager, and the registration time 803 is the time when the line was registered. The row 804 of number 1 indicates that “172.16.49.20” is registered as the manager identification information at the time “20.01.31”, and the row 805 of number 2 indicates the time “20.01.31”.
"0.04.14" and "17" as the manager identification information.
2.16.68.10 ”is registered.

【0040】図9はトラップメッセージの内容を説明す
る図である。トラップメッセージは、宛先識別情報であ
る宛先アドレス901と、送信元識別情報である送信元
アドレス902と、トラップ番号903と、発生時刻9
04と、付加情報905とからなる。宛先アドレス90
1は、トラップメッセージを送るマネージャの宛先であ
る。送信元アドレス902は、このトラップメッセージ
を送信したエージェントのアドレスである。トラップ番
号903は、トラップの種類を表す番号であり、予めマ
ネージャとエージェントとで番号とその意味とが定義さ
れている。発生時刻904は、このメッセージが発生し
たエージェントの時刻であり、付加情報905は、トラ
ップ番号に付加する文字や番号等である。
FIG. 9 is a diagram for explaining the contents of the trap message. The trap message includes a destination address 901 that is destination identification information, a source address 902 that is source identification information, a trap number 903, and an occurrence time 9
04 and additional information 905. Destination address 90
1 is the destination of the manager sending the trap message. The source address 902 is the address of the agent that transmitted this trap message. The trap number 903 is a number indicating the type of trap, and the number and its meaning are defined in advance by the manager and the agent. The generation time 904 is the time of the agent that generated this message, and the additional information 905 is the character or number added to the trap number.

【0041】図10はマネージャにおけるトラップメッ
セージの画面表示例を示す図である。画面表示は、発生
時刻1001と、コンピュータ名1002と、メッセー
ジ1003とからなる。発生時刻1001は、マネージ
ャがエージェントからトラップメッセージを受信した時
刻を示す。コンピュータ名1002は、そのトラップメ
ッセージを発行したエージェントを示す。メッセージ1
003は、受信したトラップメッセージ内のトラップ番
号に対応したメッセージであり、マネージャがトラップ
メッセージ中のトラップ番号とメッセージの対応表を作
成しておいたものを表示する。
FIG. 10 is a diagram showing a screen display example of the trap message in the manager. The screen display includes an occurrence time 1001, a computer name 1002, and a message 1003. The occurrence time 1001 indicates the time when the manager receives the trap message from the agent. The computer name 1002 indicates the agent that issued the trap message. Message 1
003 is a message corresponding to the trap number in the received trap message, and displays a message in which the manager has created a correspondence table between the trap number in the trap message and the message.

【0042】前述した本発明の実施形態による各処理
は、処理プログラムとして構成することができ、この処
理プログラムは、HD、DAT、FD、MO、DVD−
ROM、CD−ROM等の記録媒体に格納して提供する
ことができる。
Each processing according to the above-described embodiment of the present invention can be configured as a processing program, and this processing program is HD, DAT, FD, MO, DVD-.
It can be provided by being stored in a recording medium such as a ROM or a CD-ROM.

【0043】前述した本発明の実施形態によれば、エー
ジェントが、マネージャからのシステム情報に対するリ
クエストメッセージによりトラップメッセージの宛先を
自動的に設定することができるため、マネージャは、ト
ラップメッセージの宛先をエージェントに設定させるた
めの特別な手段が不要となり、また、エージェント側で
も、人手によるトラップメッセージの宛先の設定作業を
軽減することができる。
According to the above-described embodiment of the present invention, since the agent can automatically set the destination of the trap message by the request message for the system information from the manager, the manager sets the destination of the trap message to the agent. No special means for setting the destination of the trap message is required, and the agent side can reduce the work of manually setting the destination of the trap message.

【0044】[0044]

【発明の効果】以上説明したように本発明によれば、マ
ネージャに特別なトラップメッセージの自動設定手段を
設けていない場合にも、エージェントが自動的にトラッ
プメッセージ通知宛先を生成することができる。
As described above, according to the present invention, the agent can automatically generate the trap message notification destination even if the manager is not provided with a special trap message automatic setting means.

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

【図1】本発明の一実施形態によるエージェントシステ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an agent system according to an embodiment of the present invention.

【図2】リクエスト情報認証機能部でのアクセスの可否
を決定する処理動作を説明するフローチャートである。
FIG. 2 is a flowchart illustrating a processing operation for determining whether or not access is possible in a request information authentication function unit.

【図3】マネージャ識別情報使用可否判定部の宛先数判
定機能部でのトラップメッセージ宛先情報登録期間チェ
ックの処理動作を説明するフローチャートである。
FIG. 3 is a flowchart illustrating a processing operation of a trap message destination information registration period check in a destination number determination function unit of a manager identification information availability determination unit.

【図4】マネージャ識別情報使用可否判定部の宛先数判
定機能部での宛先数判定の処理動作を説明するフローチ
ャートである。
FIG. 4 is a flowchart illustrating a processing operation of a destination number determination in a destination number determination function unit of a manager identification information availability determination unit.

【図5】トラップメッセージ発行部の処理動作を説明す
るフローチャートである。
FIG. 5 is a flowchart illustrating a processing operation of a trap message issuing unit.

【図6】アクセス可否情報DBの構成を説明する図であ
る。
FIG. 6 is a diagram illustrating a configuration of an access permission / prohibition information DB.

【図7】システム情報DBの構成を説明する図である。FIG. 7 is a diagram illustrating a configuration of a system information DB.

【図8】トラップメッセージ宛先情報DBの構成を説明
する図である。
FIG. 8 is a diagram illustrating a configuration of a trap message destination information DB.

【図9】トラップメッセージの内容を説明する図であ
る。
FIG. 9 is a diagram illustrating the content of a trap message.

【図10】マネージャにおけるトラップメッセージの画
面表示例を示す図である。
FIG. 10 is a diagram showing a screen display example of a trap message in the manager.

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

101 エージェント 102 マネージャからのリクエスト受信部 103 マネージャ識別情報認識部 104 マネージャ識別情報使用可否判定部 105 リクエスト情報認証機能部 106 宛先数判定機能部 107 システム情報応答部 108 トラップメッセージ発行部 109 アクセス可否情報DB 110 システム情報DB 111 トラップメッセージ宛先情報DB 112 ネットワーク 113、114 マネージャ 101 Agent 102 Request receiver from manager 103 manager identification information recognition unit 104 Manager identification information availability determination unit 105 Request Information Authentication Function Unit 106 Address number determination function unit 107 System Information Response Unit 108 Trap message issuing section 109 Access permission information DB 110 System information DB 111 Trap message destination information DB 112 network 113, 114 manager

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のマネージャコンピュータと、1ま
たは複数のエージェントコンピュータとがネットワーク
を介して接続されたエージェントシステムにおいて、前
記エージェントコンピュータは、複数のマネージャコン
ピュータのそれぞれからのリクエストメッセージからそ
のマネージャコンピュータの識別情報を取り出す手段
と、取り出した識別情報をトラップメッセージの宛先と
して格納する手段とを備えることを特徴とするエージェ
ントシステム。
1. In an agent system in which a plurality of manager computers and one or a plurality of agent computers are connected via a network, the agent computer is configured to detect the manager computer from a request message from each of the plurality of manager computers. An agent system comprising: means for retrieving identification information; and means for storing the retrieved identification information as a destination of a trap message.
【請求項2】 前記エージェントコンピュータは、トラ
ップメッセージの宛先数を演算する手段を備え、前記ト
ラップメッセージの宛先を格納する手段内に登録される
トラップメッセージの宛先数を管理することを特徴とす
る請求項1記載のエージェントシステム。
2. The agent computer comprises means for calculating the number of destinations of trap messages, and manages the number of destinations of trap messages registered in the means for storing the destinations of trap messages. The agent system according to item 1.
【請求項3】 前記トラップメッセージの宛先数を演算
する手段は、前記トラップメッセージの宛先を格納する
手段内に格納される宛先の登録時刻を参照して、登録
後、所定の時間を経過した宛先を削除することを特徴と
する請求項2記載のエージェントシステム。
3. The destination for which the number of destinations of the trap message is calculated refers to the registration time of the destination stored in the means for storing the destination of the trap message, and the destination after a predetermined time has elapsed after registration The agent system according to claim 2, wherein the agent is deleted.
【請求項4】 複数のマネージャコンピュータと、1ま
たは複数のエージェントコンピュータとがネットワーク
を介して接続されたエージェントシステムのエージェン
トコンピュータでのメッセージ宛先設定方法において、
前記エージェントコンピュータは、複数のマネージャコ
ンピュータのそれぞれからのリクエストメッセージから
そのマネージャコンピュータの識別情報を取り出し、取
り出した識別情報をトラップメッセージの宛先として登
録することを特徴とするメッセージ宛先設定方法。
4. A message destination setting method in an agent computer of an agent system in which a plurality of manager computers and one or more agent computers are connected via a network,
The message destination setting method, wherein the agent computer extracts the identification information of the manager computer from the request message from each of the plurality of manager computers, and registers the extracted identification information as the destination of the trap message.
【請求項5】 前記エージェントコンピュータは、トラ
ップメッセージの宛先数を演算して、登録されるトラッ
プメッセージの宛先数を管理すると共に、登録されてい
る宛先の登録時刻を参照して、登録後、所定の時間を経
過した宛先を削除することを特徴とする請求項4記載の
メッセージ宛先設定方法。
5. The agent computer calculates the number of destinations of trap messages, manages the number of destinations of trap messages to be registered, and refers to the registration time of the registered destination to determine a predetermined number after registration. 5. The message destination setting method according to claim 4, wherein the destination whose time has passed is deleted.
JP2002010317A 2002-01-18 2002-01-18 Agent system and message destination setting method Pending JP2003216456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002010317A JP2003216456A (en) 2002-01-18 2002-01-18 Agent system and message destination setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002010317A JP2003216456A (en) 2002-01-18 2002-01-18 Agent system and message destination setting method

Publications (1)

Publication Number Publication Date
JP2003216456A true JP2003216456A (en) 2003-07-31

Family

ID=27648085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002010317A Pending JP2003216456A (en) 2002-01-18 2002-01-18 Agent system and message destination setting method

Country Status (1)

Country Link
JP (1) JP2003216456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009522702A (en) * 2006-02-01 2009-06-11 サムスン エレクトロニクス カンパニー リミテッド System and method for handling authentication and authorization for a simple network management protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009522702A (en) * 2006-02-01 2009-06-11 サムスン エレクトロニクス カンパニー リミテッド System and method for handling authentication and authorization for a simple network management protocol
JP4851540B2 (en) * 2006-02-01 2012-01-11 サムスン エレクトロニクス カンパニー リミテッド System and method for handling authentication and authorization for a simple network management protocol

Similar Documents

Publication Publication Date Title
US6311277B1 (en) Method and device for managing computer network
JP5567114B2 (en) Mitigation of potentially endangered electronic devices
US20070011174A1 (en) Method and a device for managing a computer network
US8239398B2 (en) Notification processor that notifies information and position information manager
CN100590595C (en) Information processing device and process control method
CN103827878B (en) Automate Password Management
CN101978665A (en) Selective filtering of network traffic requests
JPH1185578A (en) File managing device and recording medium describing program for executing operation thereof
CN112581257A (en) Dispute service management method, system, device and medium supporting different card organizations
US8498622B2 (en) Data processing system with synchronization policy
JP2003216456A (en) Agent system and message destination setting method
JP4191239B2 (en) Access authority control system
JP2006343837A (en) State reporter terminal device, information registration management server, information registration management method, information registration management system and program
US20120096022A1 (en) Text content sensitive non-text checker
US8037137B2 (en) Method and system for efficient attachment of files to electronic mail messages
JP2020017821A (en) External information reception and distribution device, data transmission method, and program
JP2003256382A (en) Display information providing system, display information providing method and display information providing program
US7283622B2 (en) Process integrated messaging
US8056071B2 (en) Method, system, and computer program product for managing foreign holidays for a computer application based on email
US20060198306A1 (en) System and method for controlling a service to use a resource
US6981049B2 (en) System and method for processing data through a network firewall
JP2004030410A (en) Method, system and program for providing particular service
US20060198317A1 (en) Method for controlling a service to use a resource
WO2018184509A1 (en) Data processing method and apparatus
JP2004185182A (en) Remote management system, server and program