ja:documentation:pandorafms:technical_annexes:25_pfms_new_wizard_component

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ja:documentation:pandorafms:technical_annexes:25_pfms_new_wizard_component [2024/04/15 03:26] – [Wizard WMI module] junichija:documentation:pandorafms:technical_annexes:25_pfms_new_wizard_component [2024/04/15 06:00] (現在) – [WMI モジュールウィザード] junichi
行 282: 行 282:
  
 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 //Win32_Processor// would be //DeviceID//. 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 //Win32_Processor// would be //DeviceID//.
 +
 +これは、生成されたモジュールで使用される WMI クエリで取得されるキーフィールドの名前です。 通常、WMI クラスにはキーフィールドがあり、指定されているかどうかに関係なく、クエリで常にこのフィールドが返されます。 それがここで示されるべきフィールドです。 たとえば、//Win32_Processor// のキーフィールドは //DeviceID// になります。
  
 The name of this field can be obtained in other fields of the form through the macro ''_field_wmi_0_'', and the value that the field has for each record of the WMI query can be obtained through a macro with the same name of the field ''_FIELDNAME_''. These ''_FIELDNAME_'' macros can be used, among others, in the **Module name** and **Description** fields of the component, to generate names and descriptions dynamically. For example, for the **DeviceID** field the macro with the value would be ''_DeviceID_''. The name of this field can be obtained in other fields of the form through the macro ''_field_wmi_0_'', and the value that the field has for each record of the WMI query can be obtained through a macro with the same name of the field ''_FIELDNAME_''. These ''_FIELDNAME_'' macros can be used, among others, in the **Module name** and **Description** fields of the component, to generate names and descriptions dynamically. For example, for the **DeviceID** field the macro with the value would be ''_DeviceID_''.
 +
 +このフィールドの名前は、マクロ ''_field_wmi_0_'' を通じてフォームの他のフィールドで取得でき、WMI クエリの各レコードに対してフィールドが持つ値は、フィールドと同じ名前のマクロ ''_FIELDNAME_'' を通じて取得できます。これらの ''_FIELDNAME_'' マクロは、コンポーネントの **モジュール名** および **説明** フィールドなどで使用して、名前と説明を動的に生成できます。 たとえば、**DeviceID** フィールドの場合、値を含むマクロは ''_DeviceID_'' になります。
  
 **Query extra fields**  → ''_field_wmi_N_'': **Query extra fields**  → ''_field_wmi_N_'':
 +
 +**クエリ追加フィールド** → ''_field_wmi_N_'':
  
 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 ''_field_wmi_N_'' macros, and the values that the fields have for each record of the WMI query can be obtained by means of macros with the same names of the ''_FIELDNAME_'' fields. These ''_FIELDNAME_'' macros can be used, among others, in the **Module name** and **Description** fields of the component, to generate names and descriptions dynamically. For example, for the **FreeSpace** field the macro with the value would be ''_FreeSpace_''. The names of these fields can be obtained in other fields of the form by means of ''_field_wmi_N_'' macros, and the values that the fields have for each record of the WMI query can be obtained by means of macros with the same names of the ''_FIELDNAME_'' fields. These ''_FIELDNAME_'' macros can be used, among others, in the **Module name** and **Description** fields of the component, to generate names and descriptions dynamically. For example, for the **FreeSpace** field the macro with the value would be ''_FreeSpace_''.
 +
 +これらのフィールドの名前は、''_field_wmi_N_'' マクロを使用してフォームの他のフィールドで取得でき、WMI クエリの各レコードに対してフィールドが持つ値は、同じ名前のマクロ ''_FIELDNAME_'' を使用して取得できます。これらの ''_FIELDNAME_'' マクロは、コンポーネントの **モジュール名** および **説明** フィールドなどで使用して、名前と説明を動的に生成できます。 たとえば、**FreeSpace** フィールドの場合、値を含むマクロは ''_FreeSpace_'' になります。
  
 **Query filters**  → Scan **Query filters**  → Scan
 +
 +**クエリフィルタ** → スキャン
  
 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: ''DriveType = 3''. 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: ''DriveType = 3''.
 +
 +このスペースには、スキャンで起動された WMI クエリの条件が示されており、これにより 1 つ以上のレコードを取得できるようになります。 例: ''DriveType = 3''
  
 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 スキャンクエリによって返されたレコードごとに個別のモジュールが生成されます。
  
 [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
  • ja/documentation/pandorafms/technical_annexes/25_pfms_new_wizard_component.txt
  • 最終更新: 2024/04/15 06:00
  • by junichi