JP2023056360A - Log management method due to replacing device monitoring device - Google Patents
Log management method due to replacing device monitoring device Download PDFInfo
- Publication number
- JP2023056360A JP2023056360A JP2021165667A JP2021165667A JP2023056360A JP 2023056360 A JP2023056360 A JP 2023056360A JP 2021165667 A JP2021165667 A JP 2021165667A JP 2021165667 A JP2021165667 A JP 2021165667A JP 2023056360 A JP2023056360 A JP 2023056360A
- Authority
- JP
- Japan
- Prior art keywords
- monitoring
- information
- management server
- self
- log
- 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
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、デバイス監視装置の置き換えによるログ管理方法に関するものである。 The present invention relates to a log management method by replacing a device monitoring apparatus.
複合機に代表されるデバイスから収集したデータを管理し、分析するデバイス管理システムがある。デバイス管理システムは、デバイスの情報を収集する監視装置と、監視装置が収集した情報を管理する管理サーバの構成をとる場合がある。監視装置を入れ替える際には、収集しているログ情報が正しく引き継がなければならない。それを実現する手段として、管理サーバ側でデバイスから取得したログの位置情報を管理することで、入れ替え後の監視装置において、デバイスからログを取りこぼすこともなく、正しいログ情報から監視可能な仕組みが提案されている。(特許文献1) There is a device management system that manages and analyzes data collected from devices represented by MFPs. A device management system may have a configuration of a monitoring device that collects device information and a management server that manages the information collected by the monitoring device. When replacing the monitoring device, the collected log information must be inherited correctly. As a means to realize this, by managing the location information of the logs obtained from the device on the management server side, it is possible to monitor from the correct log information without missing logs from the device in the monitoring device after replacement. is proposed. (Patent document 1)
前記監視装置においては、定期ポーリングでデータを取得してデバイスを管理する仕組み(以降、ポーリング方式と呼ぶ)がある。その一方、サービスに必要な稼働情報をデバイス内で収集して、管理サーバに送信することが可能な自己監視機能を有するデバイスを、自身のプロキシ機能を利用して管理する仕組み(以降、プロキシ方式と呼ぶ)もある。プロキシ方式の場合、デバイス自身でログ情報が管理できるため、管理サーバ側でログ管理情報を管理する必要はない。そのため、デバイスの監視方式をポーリング方式からプロキシ方式に切り替えた際、特許文献1が開示するシステムのように、ログ管理情報が引き継げず、ログ情報を取りこぼしてしまう恐れがある。 The monitoring apparatus has a mechanism (hereinafter referred to as a polling method) that acquires data by periodic polling and manages the device. On the other hand, a device with a self-monitoring function that can collect operating information necessary for services within the device and send it to the management server is managed using its own proxy function (hereafter referred to as the proxy method). ) is also available. In the case of the proxy method, since log information can be managed by the device itself, there is no need to manage log management information on the management server side. Therefore, when the device monitoring method is switched from the polling method to the proxy method, the log management information cannot be handed over as in the system disclosed in Patent Document 1, and log information may be lost.
本発明の目的は、監視装置においてデバイスの監視方法が変わった場合でも、ログ情報をロストすることなく継続監視することが可能になるログ管理方法を提供することにある。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a log management method that enables continuous monitoring without losing log information even when the device monitoring method is changed in a monitoring apparatus.
本発明は、上記の課題を解決するために、ネットワークで接続されたデバイスからログ情報を含む監視情報を収集して、外部ネットワーク上の管理サーバに対して監視情報を送信する監視装置であって、前記監視装置は、監視対象のデバイスの情報を取得する取得手段と、前記取得手段で収集した情報を管理サーバに送信する送信手段と、前記取得手段で収集した情報や管理デバイス情報、監視方式等を管理するデータ管理手段と、自己監視機能をもったデバイスから送信されるデータを集約するための受信手段と、自己監視機能をもったデバイスに対して監視指示を行う指示手段とを有し、前記指示手段は、デバイスの監視方式が前記取得手段を利用して監視する方式から、前記受信手段を利用して監視する方式に切り替わった場合に、自己監視機能をもったデバイスに対して監視指示を行い、前記取得手段は、前記指示手段が監視指示を行った後に、監視指示を行ったデバイスからログ情報を収集し、最後に取得したログ情報の発生時刻から自己監視機能での監視開始時刻までの間に発生したログ情報が存在するかを判断し、存在した場合に、前記送信手段において、そのログ情報を管理サーバに送信することを特徴とする。 In order to solve the above problems, the present invention is a monitoring apparatus that collects monitoring information including log information from devices connected via a network and transmits the monitoring information to a management server on an external network. , the monitoring apparatus comprises an acquisition means for acquiring information of a device to be monitored, a transmission means for transmitting the information collected by the acquisition means to a management server, the information collected by the acquisition means, managed device information, and a monitoring method. etc., receiving means for aggregating data transmitted from devices with self-monitoring functions, and instruction means for instructing monitoring to devices with self-monitoring functions. and the instruction means monitors a device having a self-monitoring function when a device monitoring method is switched from a method of monitoring using the obtaining means to a method of monitoring using the receiving means. After the instruction is issued, the acquisition means collects log information from the device to which the monitoring instruction is issued, and starts monitoring by the self-monitoring function from the time of occurrence of the last acquired log information. It is characterized in that it is determined whether or not log information generated before the time exists, and if it exists, the transmission means transmits the log information to the management server.
本発明によれば、監視装置においてデバイスの監視方法が変わった場合でも、ログ情報をロストすることなく継続監視することが可能になる。 According to the present invention, even if the device monitoring method is changed in the monitoring apparatus, it is possible to continue monitoring without losing log information.
次に本発明を実施するための最良の形態について図面を参照して説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Next, the best mode for carrying out the present invention will be described with reference to the drawings.
以下、本発明の一実施形態について図面を参照しながら説明する。 An embodiment of the present invention will be described below with reference to the drawings.
<システム構成>
図1は、本発明の実施形態を示すシステムの全体図である。本実施形態のシステムは、画像形成装置の管理システムであり、画像形成装置からデータを収集する監視装置と、監視装置が収集したデータを管理する管理サーバとからなるシステムである。
<System configuration>
FIG. 1 is an overall system diagram showing an embodiment of the present invention. The system of this embodiment is a management system for image forming apparatuses, and is a system including a monitoring device that collects data from the image forming devices and a management server that manages the data collected by the monitoring device.
図1において、管理サーバ101は、WAN104を介して監視装置102と接続されており、監視装置102や画像形成装置103のデータを一元的に管理するものである。監視装置102は、LAN105を介して、画像形成装置103を監視するものであり、画像形成装置103から各種データの取得を行う。画像形成装置103は、LBPやMFP(複合機)であって、監視装置102によって監視されている。ここで管理サーバ101はWAN104を介して、監視装置102と接続されているが、LAN105を介して接続されていてもよい。また画像形成装置103もLAN105を介して、監視装置102と接続されているが、LAN105やWAN104を介して、管理サーバ101と直接接続されていてもよい。
In FIG. 1, a
<画像形成装置の内部構成>
図2は、画像形成装置103の内部構成の一例を示すブロック図である。
<Internal Configuration of Image Forming Apparatus>
FIG. 2 is a block diagram showing an example of the internal configuration of the
CPU201はROM202もしくはハードディスク(HDD)205に記憶された画像形成装置全体の制御を行うソフトウェアを実行し、システムバス206に接続する各デバイスを統括的に制御する。RAM203は、CPU201のワークエリア等として機能する。HDC204はHDD205を制御するハードディスクコントローラである。リーダI/F207及びプリンタI/F208は、それぞれリーダ部212及びプリンタ部213に接続され、これらデバイスを制御する。操作部I/F209は操作部214に接続され、操作部214への表示や、操作部214からのユーザー入力を制御する。214は操作部であり、操作のためのボタン及び表示部等より構成される。
A
スイッチI/F210はスイッチ部215に接続され、スイッチ部215からの操作を制御する。215はスイッチ部であり、操作のためのスイッチ等により構成される。216はネットワークインターフェースカード(NIC)で、ネットワーク217を介してホストコンピュータ等の外部装置とデータのやりとりをする。ここで、図中破線で囲まれた部分を全体制御部211と呼ぶことにする。全体制御部211は、画像形成装置に接続された各種装置及びインターフェースを制御すると共に、画像形成装置全体の動作を制御する部分である。リーダ部212は原稿の画像を読み取り、ユーザーからの指示により、その原稿画像に応じた画像データを、プリンタ部213に出力する、或いは、画像形成装置の記憶装置に保存する。更に、ネットワークI/F216を介してネットワーク217に接続されたホストコンピュータに画像データを送信することも可能である。
The switch I/
プリンタ部213は、リーダ部212により読み取られた原稿や、画像形成装置本体内の記憶装置205に格納された画像データを印刷する。更に、ネットワーク217に接続されたホストコンピュータからの印刷ジョブを、ネットワークI/F部216を介して受信し、印刷する。ネットワークI/F部216は、ネットワーク217を介して接続され、全体制御部211が、ネットワーク217上の他の情報機器と相互通信するために用いられる。操作部214は、ボタン及び表示装置、或いは、タッチパネル入力付き液晶表示画面、或いはその組み合わせにより、全体制御部211からのユーザーへの情報表示や、ユーザーの入力を全体制御部211へと通知する。スイッチ部215は、全体制御部211の電源ON/OFF状態を制御する。
A
<監視装置、管理サーバの内部構成>
図3は、監視装置102、管理サーバ101の内部構成の一例を示すブロック図である。
<Internal configuration of monitoring device and management server>
FIG. 3 is a block diagram showing an example of the internal configuration of the
通信I/F部301は、外部のシステムや装置と通信を行うためのネットワークインターフェースである。記憶装置302は、OS(Operating System)やプログラム、管理データ、外部システムや装置等から収集したデータ等が格納されている。CPU303は、記憶装置302からプログラムをメモリ304にロードし、実行する。出力I/F部305は、ディスプレイなどの出力装置を接続し、プログラムなどの実行結果を出力する。
A communication I/
<監視装置の機能構成>
図4は、監視装置102の機能構成の一例を示すブロック図である。
<Functional configuration of monitoring device>
FIG. 4 is a block diagram showing an example of the functional configuration of the
取得部401は、画像形成装置103からログ情報を含む各種データの取得を行う。送信部402は、取得したデータ等を管理サーバ101に送信する。データ管理部403は、取得したデータの保存や管理対象デバイス情報、デバイスの監視方式等の管理を行う。受信部404は、自己監視機能をもったデバイスから送信されるデータの受信を行う。指示部405は、自己監視機能をもったデバイスに対して監視指示を行う。
An
<実施例1における監視装置の動作処理>
図5は、本実施例における監視装置102の動作処理の一例を示すフローチャート図である。
<Operation processing of the monitoring device in the first embodiment>
FIG. 5 is a flow chart showing an example of operation processing of the
S501において、データ管理部403は、監視方式がポーリング方式からプロキシ方式に切り替わったかどうかを判断する。監視方式の切り替えは、出力I/F部305において監視方式を選択させる画面を表示し、ユーザーに選択させることで実現させてもよい。プロキシ方式に切り替わった場合、S502に処理を進める。一方、プロキシ方式に切り替わっていない場合、S501の処理に戻る。
In S501, the
S502において、取得部401は、管理している全てのデバイスに対して、自己監視機能を有するデバイスか否かの切り分けを行ったかを判断する。管理している全てのデバイスに対して切り分けが完了したと判断した場合には、S506に処理を進める。管理している全てのデバイスに対して切り分けが完了していないと判断した場合には、S503に処理を進める。
In S502, the
S503において、取得部401は、自己監視機能を有するデバイスか否かの判断を行っていないデバイス1台に対して、自己監視機能を有するデバイスか否かを判断するための情報を取得する。
In S503, the
S504において、S503で取得した情報をもとに、自己監視機能を有するデバイスか否かを判断する。自己監視機能を有するデバイスと判断した場合、S505に処理を進める。自己監視機能を有していないデバイスと判断した場合、S502に処理を戻す。 In S504, based on the information obtained in S503, it is determined whether the device has a self-monitoring function. If it is determined that the device has a self-monitoring function, the process proceeds to S505. If it is determined that the device does not have a self-monitoring function, the process returns to S502.
S505において、データ管理部403は、デバイス管理情報として、デバイスの監視方式を“プロキシ方式”に変更する。
In step S<b>505 , the
ここで、デバイス管理情報について説明する。 Device management information will now be described.
図6は、デバイス管理情報を管理しているデバイス管理テーブルの一例である。 FIG. 6 is an example of a device management table that manages device management information.
デバイス情報とは、管理対象のデバイスを管理するための情報である。 Device information is information for managing managed devices.
601は、デバイスIDで、デバイスを識別する情報である。
A
602は、デバイス名で、デバイスの名称である。
A
603は、IPアドレスで、デバイスに設定されているIPアドレスの情報である。
An
604は、MACアドレスで、デバイスに設定されているMAXアドレスの情報である。
A
605は、監視方式で、監視装置がデバイスを監視する方式を示す情報である。本実施例では、ポーリング方式とプロキシ方式の二つがあるものとする。無論、デバイス管理情報はこれらに限られたものではない。フローチャート図の説明に戻る。
A
S506において、取得部401は、自己監視機能を有する全てのデバイスに対して、自己監視機能の監視指示及びログの取りこぼし確認を行ったかを判断する。自己監視機能を有する全てのデバイスに対して確認を行えていないと判断した場合には、S507に処理を進める。
In step S<b>506 , the
S507において、指示部405は、自己監視機能を有する一つのデバイスに対して、監視指示を行う。
In S507, the
S508において、取得部401は、S507において指示を行ったデバイスに対してログを取得する。
In S508, the
S509において、取得部401は、S508で取得したログ情報の中に、自己監視機能の監視指示前の最後に取得したログ情報の発生時刻から、自己監視機能の開始時刻までの期間で、発生したログ情報があるかを確認する。発生したログ情報があると判断した場合には、S510に処理を進める。
In S<b>509 , the
S510において、送信部402は、自己監視機能の監視指示前の最後に取得したログ情報の発生時刻から、自己監視機能の開始時刻までの期間で、発生したログ情報を管理サーバ101に送信する。
In S510, the
以上示したように、監視方式の切り替えにより、切り替え後でも新方式による監視が可能になるまでのログデータを、切り替え前の方式で収集して、管理サーバに送信することで、ログの取りこぼしをすることなく管理することが可能になる。 As described above, after switching the monitoring method, the log data until monitoring by the new method becomes possible is collected by the method before switching and sent to the management server. can be managed without
上記実施例1では、自己監視機能の監視指示前の最後に取得したログ情報の発生時刻から、自己監視機能の開始時刻までの期間で、発生したログ情報を管理サーバに送信していた。しかし、自己監視機能の開始時刻と同じタイミングでログが発生した場合、旧監視方式と新監視方式で同じログを送信してしまう可能性がある。そのことを管理者に知らせるために、管理サーバに通知してもよい。 In Embodiment 1 above, generated log information is transmitted to the management server during the period from the time of occurrence of the last acquired log information before the self-monitoring function is instructed to start monitoring to the start time of the self-monitoring function. However, if a log occurs at the same timing as the start time of the self-monitoring function, there is a possibility that the same log will be sent by the old monitoring method and the new monitoring method. In order to inform the administrator of this fact, the management server may be notified.
101 管理サーバ
102 監視装置
103 画像形成装置
104 WAN
105 LAN
201 CPU
202 ROM
203 RAM
204 HDC
205 HDD
101
105 LANs
201 CPUs
202 ROMs
203 RAM
204 HDC
205 HDDs
Claims (2)
前記監視装置は、監視対象のデバイスの情報を取得する取得手段と、前記取得手段で収集した情報を管理サーバに送信する送信手段と、前記取得手段で収集した情報や管理デバイス情報、監視方式等を管理するデータ管理手段と、自己監視機能をもったデバイスから送信されるデータを集約するための受信手段と、自己監視機能をもったデバイスに対して監視指示を行う指示手段とを有し、
前記指示手段は、デバイスの監視方式が前記取得手段を利用して監視する方式から、前記受信手段を利用して監視する方式に切り替わった場合に、自己監視機能をもったデバイスに対して監視指示を行い、
前記取得手段は、前記指示手段が監視指示を行った後に、監視指示を行ったデバイスからログ情報を収集し、最後に取得したログ情報の発生時刻から自己監視機能での監視開始時刻までの間に発生したログ情報が存在するかを判断し、存在した場合に、前記送信手段において、そのログ情報を管理サーバに送信することを特徴とする監視装置。 A monitoring device that collects monitoring information including log information from devices connected via a network and transmits the monitoring information to a management server on an external network,
The monitoring apparatus includes acquisition means for acquiring information on a device to be monitored, transmission means for transmitting information collected by the acquisition means to a management server, information collected by the acquisition means, managed device information, a monitoring method, and the like. data management means for managing, receiving means for aggregating data transmitted from devices with self-monitoring functions, and instruction means for giving monitoring instructions to devices with self-monitoring functions,
The instruction means instructs the device having a self-monitoring function to monitor when the monitoring method of the device is switched from the method of monitoring using the obtaining means to the method of monitoring using the receiving means. and
After the instruction means issues a monitoring instruction, the acquiring means collects log information from the device that issued the monitoring instruction, and collects log information from the time when the last acquired log information occurs to the time when the self-monitoring function starts monitoring. and determining whether or not there is log information generated in the above, and if there is, the transmission means transmits the log information to the management server.
前記監視装置の送信手段は、前記取得手段において自己監視機能での監視開始時刻と同じ時刻に発生したログが存在した場合に、ログ情報が重複している可能性がある旨の通知を管理サーバに対して行うことを特徴とする請求項1記載の監視装置。
In the monitoring device,
The sending means of the monitoring device notifies the management server that there is a possibility that the log information is duplicated when there is a log generated at the same time as the monitoring start time of the self-monitoring function in the acquisition means. 2. The monitoring device according to claim 1, wherein the monitoring device is for
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021165667A JP2023056360A (en) | 2021-10-07 | 2021-10-07 | Log management method due to replacing device monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021165667A JP2023056360A (en) | 2021-10-07 | 2021-10-07 | Log management method due to replacing device monitoring device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023056360A true JP2023056360A (en) | 2023-04-19 |
Family
ID=86004522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021165667A Pending JP2023056360A (en) | 2021-10-07 | 2021-10-07 | Log management method due to replacing device monitoring device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023056360A (en) |
-
2021
- 2021-10-07 JP JP2021165667A patent/JP2023056360A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4663497B2 (en) | Information processing system and information processing apparatus assignment management method | |
KR101636552B1 (en) | Host apparatus and server connected to image forming apparatus and print method thereof | |
JP2011086280A (en) | Printing system, printing device, program and storage medium | |
JP2010224768A (en) | Printing system, control method for printing system, print server machine, control method for print server machine, and computer program | |
US8610912B2 (en) | Image processing apparatus, information processing apparatus, methods for controlling the apparatuses, and storage medium storing program allowing the instruction of the processing to be executed next without waiting for the completion of cooperative processing and allows checking of the processing status of cooperative processing being executed | |
US20110119333A1 (en) | Information processing apparatus, and control method of information processing apparatus, and program | |
US9167118B2 (en) | Device management apparatus and device management method | |
JP4114315B2 (en) | Image processing device | |
JP5573132B2 (en) | Printing system, printing apparatus, program, and storage medium | |
AU2011200638B2 (en) | Printer, program, and method | |
JP3826009B2 (en) | Information processing apparatus, print job output method, and computer program | |
JP5651956B2 (en) | Power control method, power control apparatus, and power control program | |
JP6349733B2 (en) | Information processing apparatus, recovery support method, recovery support program, recovery support system, and recovery support server | |
JP5657062B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
JP2004070494A (en) | Network system | |
JP2023056360A (en) | Log management method due to replacing device monitoring device | |
JP7073820B2 (en) | Mediation device, equipment monitoring system, mediation method | |
CN110286861B (en) | Information processing apparatus, device management apparatus, and recording medium | |
JP7159016B2 (en) | Network client and its control method | |
JP5669510B2 (en) | Information processing apparatus, control method therefor, and program | |
JP2010178083A (en) | Image processor, control method of image processor, program, and recording medium | |
JP2010218250A (en) | Printing system | |
JP7145752B2 (en) | PRINTING SYSTEM, HOST DEVICE, PRINT CONTROL METHOD, AND PROGRAM | |
WO2024009642A1 (en) | Printing device, control method, and program | |
JP2009134584A (en) | Information processor management system, information processor management method, program, and storage medium |