差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:faq:start [2022/08/26 22:30] – [/var/spool/pandora/data_in ディレクトリに数百万の .data ファイルがありますが、どうすればそれらを削除できますか?] junichi | ja:faq:start [2023/01/31 06:12] (現在) – [server_keepalive パラメータの設定] junichi | ||
---|---|---|---|
行 383: | 行 383: | ||
// | // | ||
+ | |||
+ | === イベントに Base64 形式のカスタムフィールドがあります。それらをプレーンテキストに変換する方法を教えてください。=== | ||
+ | |||
+ | From version 761, event custom fields are saved in plain text but in previous versions they were saved in Base 64. | ||
+ | |||
+ | バージョン 761 から、イベントカスタムフィールドはプレーンテキストで保存されますが、以前のバージョンでは Base64 で保存されていました。 | ||
+ | |||
+ | * To backup the information contained in the database see " | ||
+ | * To see if you have information in the event custom fields, execute the following query through the " | ||
+ | |||
+ | * データベースの情報のバックアップは、" | ||
+ | * イベントカスタムフィールドに情報があるかどうかを見るには、" | ||
+ | |||
+ | <code sql> | ||
+ | SELECT id_evento, custom_data FROM tevento WHERE IF(CONVERT(FROM_BASE64(custom_data) USING utf8mb4) IS NULL, TRUE, IF(CONVERT(FROM_BASE64(custom_data) USING utf8mb4) = '', | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | * If the previous query is positive, to convert them to plain text use: | ||
+ | |||
+ | * 上記のクエリ結果が TRUE の場合、それらをプレーンテキストに変換するには次を実行します。 | ||
+ | |||
+ | <code sql> | ||
+ | UPDATE tevento SET custom_data = CONVERT(FROM_BASE64(custom_data) USING utf8mb4) WHERE IF(CONVERT(FROM_BASE64(custom_data) USING utf8mb4) IS NULL, TRUE, IF(CONVERT(FROM_BASE64(custom_data) USING utf8mb4) = '', | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
==== ウェブサーバ(Apache, | ==== ウェブサーバ(Apache, | ||
行 535: | 行 564: | ||
==== Pandora FMS サーバ ==== | ==== Pandora FMS サーバ ==== | ||
- | {{ : | + | {{ : |
=== / | === / | ||
行 572: | 行 601: | ||
2.- または、**Services.msc** → **SATELLITESRV** サービス上でマウスを右クリック → **プロパティ** → **Login** に行き、管理者として実行を選択します。 | 2.- または、**Services.msc** → **SATELLITESRV** サービス上でマウスを右クリック → **プロパティ** → **Login** に行き、管理者として実行を選択します。 | ||
+ | |||
+ | === エージェントから受信した大量のデータの処理 === | ||
+ | |||
+ | It could happen that for any reason the PFMS server has been out of service for minutes, or even hours. When this happens, the metrics collected by the agents could accumulate in great quantity, which could cause severe delays in Pandora FMS. From version 765 you could set the '' | ||
+ | |||
+ | なんらかの理由で、Pandora FMS サーバが数分から数時間もサービス停止していた場合、エージェントによって収集されたメトリクスが大量に蓄積され、Pandora FMS で深刻な遅延が発生する可能性があります。 バージョン 765 から、'' | ||
+ | |||
+ | === server_keepalive パラメータの設定 === | ||
+ | |||
+ | * The server process ('' | ||
+ | |||
+ | * サーバプロセス('' | ||
+ | |||
+ | If you have increased the [[: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Increasing the number of server threads can increase the time it takes to start the '' | ||
+ | |||
+ | サーバのスレッド数を増やすと、'' | ||
+ | |||
+ | This happens because if the '' | ||
+ | |||
+ | これは、'' | ||
+ | |||
+ | === CentOS 7 上の Pandora FMS オープンソース版で " | ||
+ | |||
+ | In version 768 this PFMS Open server dependency is required. Run with the aproppriate permissions: | ||
+ | |||
+ | Pandora FMS バージョン 768 のオープンソース版では追加の依存ファイルが必要です。適切な権限で以下を実行します。 | ||
+ | |||
+ | < | ||
+ | yum install -y cpanminus | ||
+ | cpanm -i Thread:: | ||
+ | |||
+ | </ | ||
+ | |||
+ | You may install and execute an additional dependency that checks the library and may take a few minutes to finish. | ||
+ | |||
+ | ライブラリをチェックする追加の依存ファイルがインストールされる場合があり、完了するまでに数分かかることがあります。 | ||
==== Pandora FMS Enterprise, ライセンス ==== | ==== Pandora FMS Enterprise, ライセンス ==== | ||
行 593: | 行 662: | ||
</ | </ | ||
- | === Pandora FMS への MIB の追加 === | + | |
+ | ==== Simple Network Management Protocol (SNMP) ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | === Pandora FMS へ MIB はどう追加すればよいですか? | ||
**Question: Does anyone know how to load HP and/or Compaq MIBs onto pandora for the SNMP Walk functionality? | **Question: Does anyone know how to load HP and/or Compaq MIBs onto pandora for the SNMP Walk functionality? | ||
行 631: | 行 705: | ||
MIB トークン(または同等の設定)からリストを読み取ることに加えて、ロードする(単一の) MIB ファイルを指定します。 この値は、MIBFILES 環境変数によって上書きされることに注意してください。 | MIB トークン(または同等の設定)からリストを読み取ることに加えて、ロードする(単一の) MIB ファイルを指定します。 この値は、MIBFILES 環境変数によって上書きされることに注意してください。 | ||
- | ==== Simple Network Management Protocol (SNMP) ==== | ||
- | |||
- | {{ : | ||
- | === Pandora FMS へ MIB はどう追加すればよいですか? | ||
- | |||
- | **Question: Does anyone knows how to load MIBS in pandora for the SNMP Walk feature? | ||
- | |||
- | **質問:snmpwalk 機能のために Pandora に MIBS をロードするにはどうすれば良いでしょうか? | ||
- | |||
- | 回答: Pandora FMS は SNMP を直接管理しません。 これは、システムによって管理される GNU/Linux Net-SNMP ライブラリに基づいているため、''/ | ||
- | |||
- | **mibdirs DIRLIST** | ||
- | |||
- | This command specifies a list of directories to search for MIB files. This operates in the same way as the '' | ||
- | |||
- | このコマンドは、MIB ファイルを検索するディレクトリのリストを指定します。 これは、'' | ||
- | |||
- | **mibs MIBLIST** | ||
- | |||
- | Specifies a list of MIB modules (not files) that should be loaded. This operates in the same way as the '' | ||
- | |||
- | ロードする必要のある MIB モジュール(ファイルではない)のリストを指定します。 これは、'' | ||
- | |||
- | **mibfile FILE** | ||
- | |||
- | Specifies a (single) MIB file to load, in addition to the list read from the MIBS token (or equivalent configuration). Note that this value can be overridden by the MIBFILES environment variable. | ||
- | |||
- | MIBS トークン(または同等の設定)から読み取られたリストに加えて、ロードする(単一の)MIB ファイルを指定します。 この値は、MIBFILES 環境変数によって上書きされることに注意してください。 | ||
=== トラップコンソールから全トラップを削除するにはどうすれば良いですか? | === トラップコンソールから全トラップを削除するにはどうすれば良いですか? | ||
行 672: | 行 718: | ||
</ | </ | ||
- | To delete all the traps previous to July 10 2010 that are in the traps console, you should execute, from the DB Interface extension, the following SQL sentence: | + | To delete all the traps previous to July 10, 2020 that are in the traps console, you should execute, from the DB Interface extension, the following SQL sentence: |
- | トラップコンソールにある | + | トラップコンソールにある |
< | < | ||
- | DELETE FROM ttrap WHERE timestamp <'2010-07-10 00: | + | DELETE FROM ttrap WHERE timestamp <'2020-07-10 00: |
</ | </ |