両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite [2024/11/25 10:08] – [SNMPv3] kanayama | ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite [2024/11/25 10:31] (現在) – [認証設定] kanayama |
---|
</WRAP> | </WRAP> |
| |
<WRAP center round info 60%> | <WRAP center round info 60%> MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 </WRAP> |
MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 | |
</WRAP> | |
| |
Generic SSH command: | Generic SSH command: |
| |
手動で実行モジュールを作成することができます。サテライトサーバが実行するスクリプトやコマンドは、事前に作成してサーバに置いておく必要があります。エージェントの ''module_exec'' と同じように動作します。''module_exec'' の利用は、サテライトサーバの実行速度を低下させる可能性があります。 | 手動で実行モジュールを作成することができます。サテライトサーバが実行するスクリプトやコマンドは、事前に作成してサーバに置いておく必要があります。エージェントの ''module_exec'' と同じように動作します。''module_exec'' の利用は、サテライトサーバの実行速度を低下させる可能性があります。 |
| |
<code> | <code> |
module_begin | module_begin |
| |
</code> | </code> |
| |
| See also credential encryption with [[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite|ssh_credential_box]] //token//. |
| |
| [[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite|ssh_credential_box]] トークンでの認証情報暗号化も参照してください。 |
| |
| |
==== プラグインクエリ ==== | ==== プラグインクエリ ==== |
Unless key-based authentication is configured with private and public keys, SSH modules require a username (''<user>'') and a password ( ''<pass>'' ) in order to work. These are configured in the main configuration file, ''satellite_server.conf'', using credential boxes (''credential_box'' ) with the following format: | Unless key-based authentication is configured with private and public keys, SSH modules require a username (''<user>'') and a password ( ''<pass>'' ) in order to work. These are configured in the main configuration file, ''satellite_server.conf'', using credential boxes (''credential_box'' ) with the following format: |
| |
鍵認証が正しく設定されていない場合、sshモジュールはユーザ(''<user>'')とパスワード(''<pass>'')による認証を必要とします。その認証情報は、サテライトサーバの設定ファイル ''satellite_server.conf'' に ''credential_box'' を使って次のようなフォーマットで設定します: | Unless authentication is configured with private key and public key, [[SSH|]], [[WMI|]] and [[SNMP 3|]] Modules require a username (''< user >'' ) and password (''< pass >'' ) to work. Both are registered in the main configuration file, ''satellite_server.conf'', using credential boxes (''credential_box'' ) with the following formats: |
| |
| 秘密鍵と公開鍵で認証を設定していない限り、[[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite#ssh_credential_box|SSH]]、[[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite#wmi_credential_box|WMI]]、[[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite#snmp3_credential_box|SNMP3]] モジュールはユーザ(''<user>'')とパスワード(''<pass>'')を動作に必要とします。その認証情報は、サテライトサーバの設定ファイル ''satellite_server.conf'' に ''credential_box'' を使って次のようなフォーマットで設定します。 |
| |
**network/mask,username,password** | **network/mask,username,password** |
| |
**network/mask,username,<nowiki>[[encrypted password]]</nowiki>** | **network/mask,username,<nowiki>[[encrypted password|]]</nowiki>** |
| |
| <WRAP center round info 90%> |
| |
| SSH queries on Satellite servers installed on MS Windows® is still under implementation. PFMS development team is working on it. |
| |
| </WRAP> |
| |
| <WRAP center round info 90%> |
| |
| MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 |
| |
| </WRAP> |
| |
例: | 例: |
</code> | </code> |
| |
credential_box で記述された認証情報は、ネットワークマスクの適用範囲が狭いものから順に検索します。 | 認証情報ボックスは、制限の厳しいマスクから制限の緩いマスクの順に検索されます。 |
| |
blowfishのECBモードで暗号化したパスワードも記述できます。暗号化されたパスワードは、文字列を二重の括弧([[:ja:documentation:05_big_environments:05_satellite|]])で囲います。暗号化に利用するパスワードは credential_pass に記述してください (デフォルトではホスト名が使われます): | パスワードは、Blowfish を用いて ECB モードで暗号化できます。[[:ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite#credential_pass|credential_pass]] が定義されていることを確認してください。定義されていない場合、ホスト名がデフォルトの暗号化パスワードとして使用されます。暗号文の 16 進数表現は、二重括弧で囲む必要があります。 |
<code> | <code> |
credential_box 192.168.1.0/24,<user>,[[80b51b60786b3de2]] | |
| credential_box 192.168.1.0/24,<user>,[[80b51b60786b3de2|]] |
</code> | </code> |
| |