ja:documentation:pandorafms:monitoring:16_ncm

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:monitoring:16_ncm [2026/04/18 22:26] – [ネットワーク機器テンプレート] junichija:documentation:pandorafms:monitoring:16_ncm [2026/04/18 22:38] (現在) – [デバイスの設定管理] junichi
行 133: 行 133:
   * **スクリプト: ファームウエア設定(Script: set firmware)**: デバイスのファームウエアをアップグレードするために使用されるスクリプト。   * **スクリプト: ファームウエア設定(Script: set firmware)**: デバイスのファームウエアをアップグレードするために使用されるスクリプト。
   * **スクリプト: カスタムタスク(Script: custom task)**: **カスタム(CUSTOM)** タスクを選択したときにデバイスで実行されるスクリプト。   * **スクリプト: カスタムタスク(Script: custom task)**: **カスタム(CUSTOM)** タスクを選択したときにデバイスで実行されるスクリプト。
 +
 +<wrap #ks4_2 />
  
 ==== Cisco 7200 デバイスでの利用例 ==== ==== Cisco 7200 デバイスでの利用例 ====
行 157: 行 159:
  
 テスト接続は、実際にデバイスに接続できることを確認するために使用されます。 ''Ready'' などの特定の応答を期待するように変更 (''expect:xxxx'') することができます。 これは基本的な例にすぎません。  テスト接続は、実際にデバイスに接続できることを確認するために使用されます。 ''Ready'' などの特定の応答を期待するように変更 (''expect:xxxx'') することができます。 これは基本的な例にすぎません。 
 +
 +<wrap #ks4_2_2 />
  
 === 現在の設定の取得 === === 現在の設定の取得 ===
行 175: 行 179:
  
 ''capture:<comando>''  : 画面に返す現在の設定を取得するために使われています。 ''capture:<comando>''  : 画面に返す現在の設定を取得するために使われています。
 +
 +<wrap #ks4_2_3 />
  
 === ファームウエアバージョンの取得 === === ファームウエアバージョンの取得 ===
行 192: 行 198:
  
 </code> </code>
 +
 +<wrap #ks4_2_4 />
  
 === 設定バックアップのリストア === === 設定バックアップのリストア ===
行 210: 行 218:
  
 </code> </code>
 +
 +<wrap #ks4_2_5 />
  
 === カスタムスクリプトの例 === === カスタムスクリプトの例 ===
行 232: 行 242:
  
 デバイスに記録されたすべての変更は**ファームウェアバックアップの実行時に**記録され、[[:ja:documentation:pandorafms:technical_annexes/22_pfms_report_types#ks15|レポート]]と画面(Webコンソール)の両方で行われた変更を制御できます。  デバイスに記録されたすべての変更は**ファームウェアバックアップの実行時に**記録され、[[:ja:documentation:pandorafms:technical_annexes/22_pfms_report_types#ks15|レポート]]と画面(Webコンソール)の両方で行われた変更を制御できます。 
 +
 +<wrap #ks5 />
  
 ===== エージェントデータテンプレート ===== ===== エージェントデータテンプレート =====
行 240: 行 252:
  
   * **OS version**.   * **OS version**.
 +
 +<wrap #ks5_1 />
  
 ==== エージェントデータテンプレートの作成 ==== ==== エージェントデータテンプレートの作成 ====
行 254: 行 268:
   * **モデル(Models)**: スクリプトでサポートされるモデルのカンマ区切りリスト。   * **モデル(Models)**: スクリプトでサポートされるモデルのカンマ区切りリスト。
   * **スクリプト OS バージョン(Script OS version)**: このスクリプトは、エージェントの OS バージョンフィールドを更新するために使用されます。   * **スクリプト OS バージョン(Script OS version)**: このスクリプトは、エージェントの OS バージョンフィールドを更新するために使用されます。
 +
 +<wrap #ks6 />
  
 ===== エージェントでの設定 ===== ===== エージェントでの設定 =====
行 319: 行 335:
  
 </WRAP> </WRAP>
 +
 +<wrap #ks7 />
  
 ===== デバイスの設定管理 ===== ===== デバイスの設定管理 =====
  
-If the configuration has been successfully completed, you may access the agent view or the **Management → Configuration → Network Config Management** section to perform all possible management on each of them. +After the NCM devices have been configured, you may access the agent view or go to **Management → Configuration → Network Config Manager → NCM Devices**  to perform all possible management on each device.
- +
-設定が正常に完了した場合は、エージェント表示または **設定(Configuration)** → **ネットワーク設定管理(Network Config Management)** セクションにアクセスして、それぞれで可能なすべての管理を実行できます。  +
- +
-==== デバイスの初期化 ==== +
- +
-Click on the **Get running-config** button to start getting all this information. Clicking it will ask for confirmation and accepting it will take you to the configured devices overview, where you will see the task in progress until it is finished:+
  
-**Get running-config** ボタンをクリックすべての情報の取得を開始します。 クリックすると確認を求められ、これを受け入れると、設定されたデバイスの概要が表示され完了るま進行中のタスクが表示されます。+NCM デバイスの設定が完了たらエージェント表示にアセスする**管理(Management) → 設定(Configuration) → ネットワーク設定管理(Network Config Manager) → NCM デバイス(NCM Devices)** に移動して各デバイスに対して可能なべての管理操作を実行ます。
  
-{{  :wiki:pfms-network_config_management_server-ncm_server-retrieving_config.png  }}+{{  :wiki:pfms-management-configuration-network_config_manager-ncm_devices-01.png  }}
  
-From this same view, you will be able to perform all the interactions defined in the template, watching your process.+{{  :wiki:pfms-management-configuration-network_config_manager-ncm_devices-02.png  }}
  
-この同じ画面から、処理を見ながら、テンプレートで定義されたすべての処理を実行できます。 +From both views you may queue all the tasks defined in the template, download the current configuration, see the backups generated for the device and compare them with the last backup obtained.
  
-At that moment all the options will have been enabled in the agent view to be able to update the saved configuration, update the backup and even **restore** the current configuration of the network device by the one of the backup stored in Pandora FMS.+どちらの画面からも、テンプレートで定義されているすべてのタスクをキューに追加したり、現在の設定をダウンロードしたり、デバイス用に生成されたバックアップを表示したり、最後に取得したバックアップと比較したりできます。
  
-その時点で、すべてのオプションがエージェント表示で有効になり、保存された設定を更新したり、バックアップを更新したり、Pandora FMS に保存されているバックアップの 1つによってネットワークデバイスの現在の設定を**復元**したりできるようになります。 +{{  :wiki:pfms-management-configuration-network_config_manager-ncm_devices-03.png  }}
  
-==== ファームウエアバックアップの違い ====+<wrap #ks7_1 />
  
-In case the last downloaded version does not match the backup version, a window will appear with the differences between both versions:+==== スニペットの実行 ====
  
-最後にダウンロードしたバージョンがバックアップバージョンと一致しない場合は、両方のバージョンの違いを示すウィンドウが表示されます: +It will also be possible to execute snippets on any NCM device, i.e. scripts that would not be defined in the templates and that allow code blocks to be executed on demand. These are one-time scripts that are not stored.
  
-{{  :wiki:pfms-network_config_management_server-ncm_server-configuration_changes.png  }}+また、NCM デバイス上でスニペット(テンプレートには定義されていないスクリプトで、必要に応じてコードブロックを実行できるもの)を実行することも可能になります。これらは一度限りの実行で、保存されることはありません。
  
-For each of the executions that are made of this feature whether they are successful or not, a new event will be created in Pandora FMS indicating which task has been made, if it has been completed or not and its failure in case it has not completed successfully.+{{  :wiki:pfms-management-configuration-network_config_manager-ncm_devices-snippet_script.png  }}
  
-成功したかどうかに関係なく、この機能の実行ごとに Pandora FMS に新しいイベントが作成され、タスクが完了したかどうか、および正しく完了しなかった場合は失敗した旨の情報を示します。+<wrap #ks8 />
  
 ===== ACL ===== ===== ACL =====
  • ja/documentation/pandorafms/monitoring/16_ncm.1776551169.txt.gz
  • 最終更新: 2026/04/18 22:26
  • by junichi