両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン |
ja:faq:start [2022/11/18 23:00] – [サテライトサーバで WMI モジュールが動作しません] junichi | ja:faq:start [2023/01/31 06:08] – [コマンドラインからの mysql および mysqldump の利用] junichi |
---|
| |
//対応するパスワードを入力します。// | //対応するパスワードを入力します。// |
| |
| === イベントに 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 "[[:en:documentation:07_technical_annexes:07_backup_and_restore_procedures#database_backup|Backup and recovery procedures]]". |
| * To see if you have information in the event custom fields, execute the following query through the "[[:en:documentation:04_using:11_managing_and_administration#db_interface|DB Interface]]": |
| |
| * データベースの情報のバックアップは、"[[:ja:documentation:07_technical_annexes:07_backup_and_restore_procedures#データベースバックアップ|バックアップとリカバリ手順]]" を参照してください。 |
| * イベントカスタムフィールドに情報があるかどうかを見るには、"[[:ja:documentation:04_using:11_managing_and_administration#データベースインタフェース|DB インタフェース]]" を通して、次のクエリを実行します。 |
| |
| <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) = '', TRUE, FALSE)) = FALSE; |
| |
| |
| </code> |
| |
| * 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) = '', TRUE, FALSE)) = FALSE; |
| |
| |
| </code> |
| |
| |
==== ウェブサーバ(Apache, Nginx) および Pandora FMS コンソール ==== | ==== ウェブサーバ(Apache, Nginx) および Pandora FMS コンソール ==== |
| |
なんらかの理由で、Pandora FMS サーバが数分から数時間もサービス停止していた場合、エージェントによって収集されたメトリクスが大量に蓄積され、Pandora FMS で深刻な遅延が発生する可能性があります。 バージョン 765 から、''[[:ja:documentation:02_installation:04_configuration#dataserver_smart_queue|dataserver_smart_queue]]'' トークンの値を 1 に設定して、特別なデータ処理モードを有効にすることができます。 | なんらかの理由で、Pandora FMS サーバが数分から数時間もサービス停止していた場合、エージェントによって収集されたメトリクスが大量に蓄積され、Pandora FMS で深刻な遅延が発生する可能性があります。 バージョン 765 から、''[[:ja:documentation:02_installation:04_configuration#dataserver_smart_queue|dataserver_smart_queue]]'' トークンの値を 1 に設定して、特別なデータ処理モードを有効にすることができます。 |
| |
| === server_keepalive パラメータの設定 === |
| |
| * The server process (''pandora_server'') restarts in loop every few minutes/seconds, **what could be the problem?** |
| |
| * サーバプロセス(''pandora_server'')が数分/数秒ごとに再起動します。**何が問題ですか?** |
| |
| If you have increased the [[:en:documentation:02_installation:04_configuration#dataserver_threads|threads of some server]] in the ''pandora_server.conf'' file, check if you have increased the ''[[:es:documentation:02_installation:04_configuration#server_keepalive|server_keepalive]]'' parameter accordingly. |
| |
| ''pandora_server.conf'' ファイルで [[:ja:documentation:02_installation:04_configuration#dataserver_threads|一部のサーバのスレッド]] を増やした場合は、''[[:ja:documentation: 02_installation:04_configuration#server_keepalive|server_keepalive]]'' パラメーターを適宜変更します。 |
| |
| Increasing the number of server threads can increase the time it takes to start the ''pandora_server'' process completely (depending on the hardware used), so you may have to increase the ''server_keepalive'' parameter to adjust it to this startup time. |
| |
| サーバのスレッド数を増やすと、''pandora_server'' プロセスを完全に開始するのにかかる時間が長くなる可能性があります(使用するハードウェアによって異なります)。そのため、''server_keepalive'' パラメータを増やして、この起動時間に合わせて調整する必要がある場合があります。 |
| |
| This happens because if the ''pandora_server'' complete startup time is longer than the one configured in the ''server_keepalive'' parameter, the ''pandora_ha'' won't detect the ''pandora_server'' process as active, //and it will be this itself the one that tries to restart it, forming this way a restart loop.// |
| |
| これは、''pandora_server'' の完全な起動時間が ''server_keepalive'' パラメータで設定された時間より長い場合、''pandora_ha'' が ''pandora_server'' プロセスが稼働していると認識しないためです。 // そして、''pandora_ha'' が ''pandora_server'' プロセスの再起動を試み、再起動ループが発生します。// |
| |
==== Pandora FMS Enterprise, ライセンス ==== | ==== Pandora FMS Enterprise, ライセンス ==== |