差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:25_pfms_new_wizard_component [2024/04/11 06:48] – [SNMP Network execution] junichi | ja:documentation:pandorafms:technical_annexes:25_pfms_new_wizard_component [2024/04/15 06:00] (現在) – [WMI モジュールウィザード] junichi | ||
---|---|---|---|
行 115: | 行 115: | ||
* 固定コンポーネントで使用する場合、このフィールドに示される OID は最終 OID である必要があります。 | * 固定コンポーネントで使用する場合、このフィールドに示される OID は最終 OID である必要があります。 | ||
- | ==== SNMP Plugin execution | + | ==== SNMP プラグイン実行 |
**Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → SNMP** (**Execution type → Plugin**) menu. | **Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → SNMP** (**Execution type → Plugin**) menu. | ||
+ | |||
+ | **管理(Management) → 設定(Configuration) → テンプレート(Templates) → リモートコンポーネント(Remote components) → 新しいウィザードコンポーネントの作成(Create a new wizard component) → 作成 → モジュールプロトコル(Module protocol) → SNMP** (**実行タイプ(Execution type) → プラグイン(Plugin)**) メニュー。 | ||
The main purpose of using components of type //plugin// is to be able to perform operations with the values of one or more OIDs in the same device. That is why in these components you can indicate as many OIDs as you need to use them in other fields. | The main purpose of using components of type //plugin// is to be able to perform operations with the values of one or more OIDs in the same device. That is why in these components you can indicate as many OIDs as you need to use them in other fields. | ||
+ | |||
+ | // | ||
**Macros OID** → '' | **Macros OID** → '' | ||
+ | |||
+ | **OID マクロ** | ||
In addition, these OIDs, or their values, can be used from the '' | In addition, these OIDs, or their values, can be used from the '' | ||
+ | |||
+ | さらに、これらの OID またはその値は、'' | ||
If used on dynamic components, the OIDs indicated in these fields must be an SNMP branch and not an end OID. If used on fixed components, the OIDs indicated in these fields must be an end OID. | If used on dynamic components, the OIDs indicated in these fields must be an SNMP branch and not an end OID. If used on fixed components, the OIDs indicated in these fields must be an end OID. | ||
+ | |||
+ | 動的コンポーネントで使用する場合、これらのフィールドに示される OID は、終了 OID ではなく SNMP ブランチである必要があります。 固定コンポーネントで使用する場合、これらのフィールドに示される OID は終了 OID である必要があります。 | ||
**Value operation** | **Value operation** | ||
+ | |||
+ | **値の操作** | ||
Allows you to specify an arithmetic operation with which the current value of each module generated by the component will be obtained in the //wizard// module preview. In any case it does not affect the final execution of the generated modules. | Allows you to specify an arithmetic operation with which the current value of each module generated by the component will be obtained in the //wizard// module preview. In any case it does not affect the final execution of the generated modules. | ||
+ | |||
+ | コンポーネントによって生成された各モジュールの現在の値を // | ||
Accepts the characters '' | Accepts the characters '' | ||
+ | |||
+ | 文字 '' | ||
**Satellite execution** | **Satellite execution** | ||
+ | |||
+ | **サテライト実行** | ||
It offers the possibility of indicating the execution to be performed by a Satellite Server for the modules generated when the //wizard// is executed from a Satellite Server by using the //exec server//. This is the command, //plugin// or //script// to be used in a Satellite Server **module_exec**. Accepts the use of macros for the SNMP wizard and '' | It offers the possibility of indicating the execution to be performed by a Satellite Server for the modules generated when the //wizard// is executed from a Satellite Server by using the //exec server//. This is the command, //plugin// or //script// to be used in a Satellite Server **module_exec**. Accepts the use of macros for the SNMP wizard and '' | ||
+ | |||
+ | //exec server// を使用して、サテライトサーバから // | ||
The Satellite Server distributes a series of //plugins// recommended for these components: | The Satellite Server distributes a series of //plugins// recommended for these components: | ||
+ | |||
+ | サテライトサーバは、次の一連のコンポーネントに必要な // | ||
< | < | ||
行 146: | 行 168: | ||
**Server plugin** | **Server plugin** | ||
+ | |||
+ | **サーバプラグイン** | ||
Through this list you can indicate a //plugin// previously registered in the Pandora FMS Console, which will be used by the plugins server with each module generated by the component. The choice of a //plugin// shows in turn in the form the specific fields to use it. | Through this list you can indicate a //plugin// previously registered in the Pandora FMS Console, which will be used by the plugins server with each module generated by the component. The choice of a //plugin// shows in turn in the form the specific fields to use it. | ||
+ | |||
+ | このリストを通じて、Pandora FMS コンソールに以前に登録された // | ||
The plugin' | The plugin' | ||
+ | |||
+ | プラグイン独自のフィールドでは、SNMP ウィザード用のマクロと、各モジュールで使用される OID を取得するための '' | ||
Pandora FMS console has already registered plugins recommended for these components: **Wizard SNMP module** and **Wizard SNMP process**. Depending on the use of one or the other, the rest of the respective fields should be completed to carry out the monitoring through SNMP. | Pandora FMS console has already registered plugins recommended for these components: **Wizard SNMP module** and **Wizard SNMP process**. Depending on the use of one or the other, the rest of the respective fields should be completed to carry out the monitoring through SNMP. | ||
- | ===== WMI wizard | + | Pandora FMS コンソールには、**SNMP モジュールウィザード** および **SNMP プロセスウィザード** のコンポーネントに推奨されるプラグインがすでに登録されています。 どちらかの使用に応じて、SNMP を介して監視を実行するには、それぞれのフィールドの残りの部分を設定する必要があります。 |
+ | |||
+ | ===== WMI ウィザード | ||
**Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** menu. | **Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** menu. | ||
- | ==== WMI Network execution | + | **管理(Management) → 設定(Configuration) → テンプレート(Templates) → リモートコンポーネント(Remote components) → 新しいウィザードコンポーネントの作成(Create a new wizard component) → 作成(Create) → モジュールプロトコル(Module protocol) → WMI** メニュー。 |
+ | |||
+ | ==== WMI ネットワーク実行 | ||
**Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** (**Execution type → Network**) menu. | **Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** (**Execution type → Network**) menu. | ||
+ | |||
+ | **管理(Management) → 設定(Configuration) → テンプレート(Templates) → リモートコンポーネント(Remote components) → 新しいウィザードコンポーネントの作成(Create a new wizard component) → 作成(Create4) → モジュールプロトコル(Module protocol) → WMI** (**実行タイプ(Execution type) → ネットワーク(Network)**) メニュー。 | ||
When the execution type is **Network**: | When the execution type is **Network**: | ||
+ | |||
+ | 実行タイプが**ネットワーク**の場合: | ||
* **WMI class**: Allows you to specify the WMI class to query. WMI classes are predefined classes that are included in each Windows Management Instrumentation® (WMI) kernel namespace. | * **WMI class**: Allows you to specify the WMI class to query. WMI classes are predefined classes that are included in each Windows Management Instrumentation® (WMI) kernel namespace. | ||
行 167: | 行 203: | ||
* **Field value**: To indicate the number of the WMI query field from which the module value is to be obtained, where field 0 is the key field of the class and fields 1 and above are the additional fields of the class. | * **Field value**: To indicate the number of the WMI query field from which the module value is to be obtained, where field 0 is the key field of the class and fields 1 and above are the additional fields of the class. | ||
* **Key string**: Allows to convert the module value to //boolean// (1 or 0) depending on whether the value of the field indicated in //Field value// matches the string indicated in this field. | * **Key string**: Allows to convert the module value to //boolean// (1 or 0) depending on whether the value of the field indicated in //Field value// matches the string indicated in this field. | ||
+ | |||
+ | * **WMI クラス(WMI class)**: クエリを実行する WMI クラスを指定できます。 WMI クラスは、各 Windows Management Instrumentation® (WMI) カーネル名前空間に含まれる事前定義されたクラスです。 | ||
+ | * **クエリフィルタ(Query filters) | ||
+ | * **フィールド値(Field value)**: モジュール値を取得する WMI クエリフィールドの番号を示します。フィールド 0 はクラスのキーフィールド、フィールド 1 以降はクラスの追加フィールドです。 | ||
+ | * **キー文字列(Key string)**: // | ||
<WRAP center round important 60%> | <WRAP center round important 60%> | ||
行 174: | 行 215: | ||
</ | </ | ||
- | ==== WMI Plugin execution | + | <WRAP center round important 60%> |
+ | |||
+ | **exec サーバ** を介してサテライトサーバからウィザードを起動する場合、キー文字列オプションは考慮されません。 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== WMI プラグイン実行 | ||
**Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** (**Execution type → Plugin**) menu. | **Management → Configuration → Templates → Remote components → Create a new wizard component → Create → Module protocol → WMI** (**Execution type → Plugin**) menu. | ||
+ | |||
+ | **管理(Management) → 設定(Configuration) → テンプレート(Templates) → リモートコンポーネント(Remote components) → 新しいウィザードコンポーネントの作成(Create a new wizard component) → 作成(Create) → モジュールプロトコル(Module protocol) → WMI** (**実行タイプ(Execution type) → プラグイン(Plugin)**) メニュー。 | ||
When the execution type is **Plugin**: | When the execution type is **Plugin**: | ||
+ | |||
+ | 実行タイプが**プラグイン**の場合: | ||
* It shares common fields with the **Network** run up to the **Query filters** (**Scan**) field. | * It shares common fields with the **Network** run up to the **Query filters** (**Scan**) field. | ||
行 185: | 行 236: | ||
* **Server plugin**: It allows to indicate a //plugin// registered in the Pandora FMS console that will be used by the //plugins// server with each module generated by the component. The choice of a //plugin// shows at the same time in the form the specific fields to use it. | * **Server plugin**: It allows to indicate a //plugin// registered in the Pandora FMS console that will be used by the //plugins// server with each module generated by the component. The choice of a //plugin// shows at the same time in the form the specific fields to use it. | ||
- | === Wizard | + | * **クエリフィルタ(Query filters)** (**スキャン(Scan)**) フィールドまでは、**ネットワーク** と共通です。 |
+ | * **値の操作(Value operation)**: | ||
+ | * **サテライト実行(Satellite execution)**: | ||
+ | * **サーバプラグイン(Server plugin)**: これにより、コンポーネントによって生成された各モジュールとともに // | ||
+ | |||
+ | === WMI モジュールウィザード | ||
Pandora FMS Console has a //plugin// already registered **recommended** for these components: Wizard WMI module. | Pandora FMS Console has a //plugin// already registered **recommended** for these components: Wizard WMI module. | ||
+ | |||
+ | Pandora FMS コンソールには、WMI モジュールウィザードのコンポーネント用に必要な // | ||
{{ : | {{ : | ||
The plugin' | The plugin' | ||
+ | |||
+ | プラグインの独自のフィールドでは、WMI ウィザード用のマクロと、WMI クラス名を取得するマクロ '' | ||
The specific macros for the WMI wizard components that can be used in the fields of //plugin// type executions are: | The specific macros for the WMI wizard components that can be used in the fields of //plugin// type executions are: | ||
+ | |||
+ | // | ||
* '' | * '' | ||
行 199: | 行 261: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
The specific fields for WMI wizard components are: | The specific fields for WMI wizard components are: | ||
+ | |||
+ | WMI ウィザードコンポーネント特有のフィールドは次のとおりです。 | ||
* **WMI class**: It refers to the WMI class to be used in the queries of the modules generated by the component. For example, // | * **WMI class**: It refers to the WMI class to be used in the queries of the modules generated by the component. For example, // | ||
* They can be used in other fields of this same form by means of the macro '' | * They can be used in other fields of this same form by means of the macro '' | ||
+ | |||
+ | * **WMI class**: これは、コンポーネントによって生成されたモジュールのクエリで使用される WMI クラスを指します。 たとえば、// | ||
+ | * これらは、マクロ '' | ||
**Query key field** | **Query key field** | ||
+ | |||
+ | **クエリキーフィールド** | ||
It is the name of the key field that will be obtained in the WMI query used in the generated modules. Usually WMI classes have a key field that they always return in any query whether it is indicated or not. That would be the field that should be indicated here. For example, the key field of the // | It is the name of the key field that will be obtained in the WMI query used in the generated modules. Usually WMI classes have a key field that they always return in any query whether it is indicated or not. That would be the field that should be indicated here. For example, the key field of the // | ||
+ | |||
+ | これは、生成されたモジュールで使用される WMI クエリで取得されるキーフィールドの名前です。 通常、WMI クラスにはキーフィールドがあり、指定されているかどうかに関係なく、クエリで常にこのフィールドが返されます。 それがここで示されるべきフィールドです。 たとえば、// | ||
The name of this field can be obtained in other fields of the form through the macro '' | The name of this field can be obtained in other fields of the form through the macro '' | ||
+ | |||
+ | このフィールドの名前は、マクロ '' | ||
**Query extra fields** | **Query extra fields** | ||
+ | |||
+ | **クエリ追加フィールド** → '' | ||
In these fields the names of the additional fields to be used in the WMI query used in the generated modules will be indicated. | In these fields the names of the additional fields to be used in the WMI query used in the generated modules will be indicated. | ||
+ | |||
+ | これらのフィールドには、生成されたモジュールで使用される WMI クエリで使用される追加フィールドの名前が示されます。 | ||
The names of these fields can be obtained in other fields of the form by means of '' | The names of these fields can be obtained in other fields of the form by means of '' | ||
+ | |||
+ | これらのフィールドの名前は、'' | ||
**Query filters** | **Query filters** | ||
+ | |||
+ | **クエリフィルタ** → スキャン | ||
In this space the conditions for the WMI query launched in the scan are indicated, which will allow to obtain one or more records. For example: '' | In this space the conditions for the WMI query launched in the scan are indicated, which will allow to obtain one or more records. For example: '' | ||
+ | |||
+ | このスペースには、スキャンで起動された WMI クエリの条件が示されており、これにより 1 つ以上のレコードを取得できるようになります。 例: '' | ||
In the WMI wizard components, a separate module will be generated for each record returned by the WMI scan query. | In the WMI wizard components, a separate module will be generated for each record returned by the WMI scan query. | ||
+ | |||
+ | WMI ウィザードコンポーネントでは、WMI スキャンクエリによって返されたレコードごとに個別のモジュールが生成されます。 | ||
[[: | [[: | ||