ja:documentation:pandorafms:monitoring:04_discovery

自動検出

Pandora FMS バージョン 732 以上に存在します。

自動検出は、ウィザードを通して簡単に監視をするためのツールです。我々のビデオチュートリアル "Introduction to Pandora FMS Discovery" も参照ください。

Discovery Task list

自動検出タスク一覧

Pandora FMS Discovery tool allows you to see a list of all the tasks programmed in your environment, both at console and server levels.

Pandora FMS 自動検出ツールでは、コンソールとサーバ両方における計画されているすべてのタスクの一覧を表示できます。

Enterprise versionDiscovery Applications

Enterprise 版アプリケーション検出

It allows to monitor MySQL®, Oracle® or VMware® environments from a new management console.

新たな管理コンソールから MySQL®、 Oracle®、 VMware® 環境を監視することができます。

Enterprise versionDiscovery Cloud

Enterprise 版クラウド検出

Through this feature, you may monitor your cloud infrastructure, ranging from virtual machines created through Amazon Web Services® (EC2) or relational databases in AWS RDS, to virtual machines running in Azure Computer®.

この機能により、Amazon Web Services®(EC2)または AWS RDS のリレーショナルデータベースで作成された仮想マシンから、Azure Compute® で実行されている仮想マシンに至るまで、クラウドインフラストラクチャを監視できます。

Enterprise versionConsole Tasks

Enterprise 版コンソールタスク

It allows you to automate console tasks within the Discovery system, like scheduling reports, doing backups or executing custom scripts from Pandora FMS Console.

レポートの設定、バックアップの作成、Pandora FMS コンソールからのカスタマイズしたスクリプトの実行など、検出システム内のコンソールタスクを自動化できます。

Discovery Host&Devices

ホストおよびデバイスの検出

It includes the tools needed to discover or import devices and equipment to your network.

ネットワークのデバイスや機器を発見し、登録するために必要なツールが含まれています。

Enterprise versionNow, it is possible to monitor applications remotely using Discovery Applications.

Enterprise 版アプリケーション検出(Discovery Applications) を用いて、アプリケーションをリモートで監視することができます。

バージョン NG 741 以上

Enterprise versionThe system will guide you along each step to configure SAP, according to your needs. More information can be found in the video tutorial «SAP Monitoring with Pandora FMS Discovery». You may define the same task to monitor systems with similar configurations (versions 741 to 768).

Enterprise 版システムは、必要に応じて SAP を設定する各ステップに沿ってガイドをします。ビデオチュートリアル «SAP Monitoring with Pandora FMS Discovery» もご覧ください。同じタスクを定義して、同様の構成のシステムを監視できます。(バージョン 741 から 768)

異なる設定を監視する必要がある場合は、それぞれの設定のタスクを作成します。

Pandora FMS Discovery will be in charge of collecting information, storing it in agents represented by the defined SAP Hostnames (version 741 to 768) or SAP Hostname (NG 769 version or later).

Pandora FMS 自動検出は、情報の収集を担当し、定義された SAP ホスト名(SAP Hostnames) で表される(バージョン 741 から 768)または、SAP ホスト名(SAP Hostname) で定義される(バージョン 769 以降)エージェントに情報を保存します。

If you install Pandora FMS from packages, or your system is prior to NG741, deploy the official SAP plugin in Pandora FMS server and configure it manually according to section SAP Discovery connector manual installation.

Pandora FMS をパッケージからインストールしている場合もしくは、NG741 より前のバージョンの場合は、Pandora FMS サーバに公式 SAP プラグインをインストールし、SAP 自動検出コネクタ手動インストール に従って手動で設定します。

カスタム SAP

バージョン NG 747 以上

Enterprise versionApart from the Available modules in Pandora FMS, you can add a lot of additional Modules through the Custom module definitions section.

Enterprise 版Pandora FMS の 利用可能なモジュール とは別に、多くの追加モジュールカスタムモジュール定義 セクションを通して追加できます。

Each line you add must use the following format, using the semicolon as a field separator:

追加する各行は、フィールド区切り文字としてセミコロンを使用して、次のフォーマットを使用する必要があります。

<module name>**;**<module_type>**;**<sap definition check>

An example to get to know the SAP system information:

SAP システムの情報を得るための例:

SAP info;generic_data_string;-m 120

必要な数のカスタムモジュールを追加してから、前のセクションで説明したのと同じ方法でプロセスを続行できます。

Bear in mind that if Pandora FMS server has the autocreate_group token active, priority will be given to the group corresponding to the indicated ID, instead of applying the wizard's configuration.

Pandora FMS サーバで autocreate_group が有効な場合、ウィザードの設定ではなく、指定された ID に対応するグループが優先されます。

Once the basic configuration is completed, specify the following:

基本的な設定が完了したら、次の設定を行います。

  • Max threads: Choose the number of threads that the VMware monitoring script will use to speed up data collection.
  • Event mode: Only for VCenter. VMware VCenter event-based monitoring is enabled. This working mode is exclusive and independent from standard monitoring.
  • Extra settings: Any advanced settings needed to customize VMware monitoring should be included here in text mode.
  • 最大スレッド(Max threads): VMware 監視スクリプトで使用されるスレッド数は、データ収集を高速化するために選択します。
  • イベントモード(Event mode): VCenter のみ です。VMware VCenter のイベントベースの監視が有効になります。この作業モードは排他的であり、標準の監視とは独立しています。
  • 追加設定(Extra settings): VMware の監視をカスタマイズするために必要な詳細設定は、テキストモードでここで行う必要があります。

Enterprise versionThis new Pandora FMS integration allows monitoring Microsoft SQL server databases. For that, ODBC must be installed in the system where Pandora FMS server is running.

Enterprise 版この新たな Pandora FMS 統合機能により、Microsoft SQL サーバデータベースの監視が可能です。それには、ODBC を Pandora FMS サーバが動作するシステムにインストールする必要があります。

MS SQL のアプリケーション検出タスク設定

Enterprise versionTo create a monitoring task for a Microsoft SQL Server database, access through Discovery (DiscoveryApplicationsMicrosoft SQL Server).

Enterprise 版Microsoft SQL サーバデータベースの監視タスクを作成は、自動検出(自動検出(Discovery)アプリケーション(Applications)Microsoft SQL Server)を通して行います。

Microsoft SQL サーバタスクを選択したら、次のようにインスタンスを定義します。

IP\Instance

ポートを指定したい場合は次のようにします。

IP:Port\Instance

デフォルトで存在するモジュール

The user and credentials used for monitoring must have the necessary permissions on the databases to be connected in order to perform the corresponding operations.

監視に使用するユーザは、対応する操作を実行するために、接続するデータベースに対して必要な権限を持っている必要があります。

Nane Description
MSSQL connection Checks for MS SQL server connection.
queries: delete Amount of delete queries run since the last execution.
queries: insert Amount of insert queries run since the last execution.
queries: update Amount of update queries run since the last execution.
queries: select Amount of queries run since the last execution.
restart detection Check how long the database service has been running uninterruptedly.
session usage Percentage of open sessions with respect to the maximum available. Displays the current and maximum value in the Module description.
名前 説明
MSSQL connection MS SQL サーバの接続をチェックします。
queries: delete 前回の実行以降に実行された delete クエリの量。
queries: insert 前回の実行以降に実行された insert クエリの量。
queries: update 前回の実行以降に実行された update クエリの量。
queries: select 前回の実行以降に実行されたクエリの量。
restart detection データベースサービスが継続して実行されている時間をチェックします。
session usage 利用可能な最大セッションに対する開いているセッションの割合です。モジュールの説明に現在値と最大値を表示します。

Enterprise versionDiscovery Cloud allows you to monitor Amazon Web Services®, Google Cloud Platform® and Microsoft Azure® accounts in a single tool.

Enterprise 版クラウド検出では、Amazon Web Services®, Google Cloud Platform® および Microsoft Azure® を単一ツールで監視できます。

Account management, both from AWS and Microsoft Azure, will be made through the Credential Store located in Profiles > Manage agent groups > Credential Store or through Management > Configuration > Credential store.

AWS および Microsoft Azure 両方の各アカウントの管理は、プロファイル(Profiles) > エージェントグループ管理(Manage agent groups) > 認証情報ストア(Credential Store) もしくは、管理(Management) > 設定(Configuration) > 認証情報ストア(Credential store) から行います。

Enterprise versionTo monitor an infrastructure in Amazon Web Services, follow the different pages of the wizard step by step.

Enterprise 版Amazon Web Service のインフラストラクチャを監視するには、ウィザードのページをたどる必要があります。

AWS 認証情報の確認

When accessing the Amazon Web Services® menu, you will be requested to select an AWS account; if there is a previously created account in previous Pandora FMS versions, it will be shown as imported_aws_account.

Pandora FMS では、複数の AWS アカウントを管理できます。Amazon Web Services メニューにアクセスすると、ナビゲーションは自動的にサービスへアクセスするアカウントを選択するウィンドウにリダイレクトされます。 以前のバージョンの Pandora FMS で作成済のアカウントがある場合、それは imported_aws_account として表示されます。

To add more accounts use the Manage Accounts option next to the AWS Account drop-down. Then in section Credential store from Profiles > Manage agent groups store all previously created Amazon Web Services® accounts.

AWS アカウントのドロップダウンの隣の アカウント管理(Manage Accounts) を通して必要な数のアカウントを追加できます。プロファイル(Profile)認証情報ストア(Credential store) > エージェントグループ管理(Manage agent groups) に、作成済のすべての Amazon Web Services® アカウントが保存されます。


For each account in the credential store, only one task can be performed in Discovery Amazon EC2.


認証情報ストア内のアカウントごとに、Amazon EC2 自動検出で実行できるタスクは 1 つだけです。

Go to AWS and create the query accounts with the following permissions:

以下の権限で Amazon AWS のアカウントを作成する必要があります。

Policy summary in JSON:

JSON でのポリシーは以下の通りです。

{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Sid": "VisualEditor0",
           "Effect": "Allow",
           "Action": [
               "ec2:DescribeInstances",
               "ec2:DescribeVolumesModifications",
               "ec2:GetHostReservationPurchasePreview",
               "ec2:DescribeSnapshots",
               "aws-portal:ViewUsage",
               "ec2:DescribePlacementGroups",
               "ec2:GetConsoleScreenshot",
               "ec2:DescribeHostReservationOfferings",
               "ec2:DescribeInternetGateways",
               "ec2:GetLaunchTemplateData",
               "ec2:DescribeVolumeStatus",
               "ec2:DescribeScheduledInstanceAvailability",
               "ec2:DescribeSpotDatafeedSubscription",
               "ec2:DescribeVolumes",
               "ec2:DescribeFpgaImageAttribute",
               "ec2:DescribeExportTasks",
               "ec2:DescribeAccountAttributes",
               "aws-portal:ViewBilling",
               "ec2:DescribeNetworkInterfacePermissions",
               "ec2:DescribeReservedInstances",
               "ec2:DescribeKeyPairs",
               "ec2:DescribeNetworkAcls",
               "ec2:DescribeRouteTables",
               "ec2:DescribeReservedInstancesListings",
               "ec2:DescribeEgressOnlyInternetGateways",
               "ec2:DescribeSpotFleetRequestHistory",
               "ec2:DescribeLaunchTemplates",
               "ec2:DescribeVpcClassicLinkDnsSupport",
               "ec2:DescribeVpnConnections",
               "ec2:DescribeSnapshotAttribute",
               "ec2:DescribeVpcPeeringConnections",
               "ec2:DescribeReservedInstancesOfferings",
               "ec2:DescribeIdFormat",
               "ec2:DescribeVpcEndpointServiceConfigurations",
               "ec2:DescribePrefixLists",
               "cloudwatch:GetMetricStatistics",
               "ec2:GetReservedInstancesExchangeQuote",
               "ec2:DescribeVolumeAttribute",
               "ec2:DescribeInstanceCreditSpecifications",
               "ec2:DescribeVpcClassicLink",
               "ec2:DescribeImportSnapshotTasks",
               "ec2:DescribeVpcEndpointServicePermissions",
               "ec2:GetPasswordData",
               "ec2:DescribeScheduledInstances",
               "ec2:DescribeImageAttribute",
               "ec2:DescribeVpcEndpoints",
               "ec2:DescribeReservedInstancesModifications",
               "ec2:DescribeElasticGpus",
               "ec2:DescribeSubnets",
               "ec2:DescribeVpnGateways",
               "ec2:DescribeMovingAddresses",
               "ec2:DescribeAddresses",
               "ec2:DescribeInstanceAttribute",
               "ec2:DescribeRegions",
               "ec2:DescribeFlowLogs",
               "ec2:DescribeDhcpOptions",
               "ec2:DescribeVpcEndpointServices",
               "ce:GetCostAndUsage",
               "ec2:DescribeSpotInstanceRequests",
               "cloudwatch:ListMetrics",
               "ec2:DescribeVpcAttribute",
               "ec2:GetConsoleOutput",
               "ec2:DescribeSpotPriceHistory",
               "ce:GetReservationUtilization",
               "ec2:DescribeNetworkInterfaces",
               "ec2:DescribeAvailabilityZones",
               "ec2:DescribeNetworkInterfaceAttribute",
               "ce:GetDimensionValues",
               "ec2:DescribeVpcEndpointConnections",
               "ec2:DescribeInstanceStatus",
               "ec2:DescribeHostReservations",
               "ec2:DescribeIamInstanceProfileAssociations",
               "ec2:DescribeTags",
               "ec2:DescribeLaunchTemplateVersions",
               "ec2:DescribeBundleTasks",
               "ec2:DescribeIdentityIdFormat",
               "ec2:DescribeImportImageTasks",
               "ec2:DescribeClassicLinkInstances",
               "ec2:DescribeNatGateways",
               "ec2:DescribeCustomerGateways",
               "ec2:DescribeVpcEndpointConnectionNotifications",
               "ec2:DescribeSecurityGroups",
               "ec2:DescribeSpotFleetRequests",
               "ec2:DescribeHosts",
               "ec2:DescribeImages",
               "ec2:DescribeFpgaImages",
               "ec2:DescribeSpotFleetInstances",
               "ec2:DescribeSecurityGroupReferences",
               "ec2:DescribeVpcs",
               "ec2:DescribeConversionTasks",
               "ec2:DescribeStaleSecurityGroups",
               "ce:GetTags"
           ],
           "Resource": "*"
       }
   ]
}

ポリシーを新規ユーザに割り当てる必要があります。

Pandora FMS へ戻り、登録したアカウントをリンクして使用できるようにし、AWS 監視にアクセスできます。

Enterprise version. pandora-cm-api をインストールしていない場合は、Pandora Cloud Monitoring API から入手できます。

AWS のクラウド検出

Enterprise versionOnce the credentials are validated, go to the menu Discovery CloudAmazon Web Services. For each account added to the Credential store the environment EC2 stored in that account may be monitored.

Enterprise 版権限を確認したら、クラウド検出(Discovery Cloud)Amazon Web Services のメニューからアクセスします。認証情報ストア(Credential store) に追加されたアカウントごとに、そのアカウントに保存されている EC2 環境を監視できます。

AWS.EC2 のクラウド検出

Enterprise versionWithin EC2 monitoring you may find:

Enterprise 版EC2 の監視では以下があります。

  • Expense monitoring.
  • Summary of resources registered in AWS.EC2.
  • Specific instance monitoring.
  • Volume and elastic IP address monitoring.
  • 費用監視
  • AWS.EC2 で記録されたリソースの概要
  • 特定インスタンスの監視
  • ボリュームおよび elastic IP の監視

To start the monitoring process, a series of basic data is requested, such as name, the Discovery Server that will execute it, group and interval.

監視処理を開始するためには、名前、それを実行する自動検出サーバ、グループおよび間隔などの基本的なデータが必要です。

Amazon Web Services expense monitoring involves extra expenses. You may find more information about it in the following link Amazon cost management pricing

Amazon Web Services の費用監視には追加の費用が発生します。 詳細については、次のリンク Amazon cost management pricing を確認してください。

Both the global cost and the separate expenses by region can be monitored.

全体コストとリージョンごとの個別のコストの両方を監視できます。

To collect overall state information of bookings in all regions the Scan and general monitoring option must be enabled in the Recon step.

すべてのリージョンの全体的な予約情報を収集するには、自動検出スキャンと一般的な監視(Scan and general monitoring) オプションを有効にする必要があります。

AWS.EC2 特定インスタンスの監視

特定のインスタンスの以下の情報を監視することができます。

  • CPUUtilization: 平均 CPU 使用率
  • DiskReadBytes: 読み出しバイト数 (ディスク)
  • DiskWriteBytes: 書き込みバイト数 (ディスク)
  • DiskReadOps: 読み出し操作数 (ディスク)
  • DiskWriteOps: 書き込み操作数 (ディスク)
  • NetworkPacketsIn: 入力パケット数 (ネットワーク)
  • NetworkPacketsOut: 出力パケット数 (ネットワーク)

特定のインスタンスを表すエージェントは、それらが所属しているリージョンを表すエージェントを親として持ちます。Pandora FMS サーバの設定でトークン update_parent を 1に設定し、親子関係を最新の状態に保つようにしておく必要があります。

AWS.EC2 追加

この最後の画面では、リザーブドインスタンスによって使用されているボリュームを監視するかどうかを指定できます。リージョンのエージェントに以下の 2つの追加モジュールがあります。

  • リザーブドボリュームの総量(GB)
  • 記録された総量(数)

You may also choose to activate the Elastic IP addresses token. The number of elastic IPs registered in the AWS EC2 account will be reported.

Elastic IP addresses トークンを有効化することもできます。AWS EC2 アカウントで登録されている elastic IP の数を報告します。

You may always check the execution process in the Discovery task list.

常に 自動検出タスク一覧(Discovery task list) で実行プロセスを確認できます。

AWS.RDS のクラウド検出

Enterprise versionThe RDS service provides a database server and allows creating the instance related to said database. In addition, RDS offers the possibility to connect to its instances through clients such as SSMS, MySQL workbench or through JDBC or ODBC DB APIs.

Enterprise 版RDS サービスはデータベースサーバを提供し、そのデータベースに関連するインスタンスの作成を可能にします。 さらに、RDS は、SSMS、MySQL ワークベンチなどのクライアント、または JDBC または ODBC DB API を介して接続することができます。

AWS RDS との統合は、Oracle, MySQL および Mariadb のみ対応しています。

S3 バケットのクラウド検出

Enterprise versionThe S3 Buckets service provides storage for files called objects, such as enterprise applications, data lakes, websites, big data analytics, mobile applications, backup and restore processes, archiving operations, among many others.

Enterprise 版S3 バケット サービスは、エンタープライズアプリケーション、データレイク、ウェブサイト、ビッグデータ分析、モバイルアプリケーション、バックアップと復元処理など、オブジェクトと呼ばれるファイルのストレージを提供します。

With the registered credentials, access the creation of a survey task and select the objects to be monitored, either one by one and/or by region.

登録済み認証情報 を使用して、検出タスクの作成にアクセスし、監視対象のオブジェクトを 1 つずつまたは地域ごとに選択します。

Click Next to go to the next step: select monitoring by Bucket size and/or Bucket elements numbers. Click Finish to save. The agents you will get will be AWS global and monitored regions; the new Modules will be:

次(Next) をクリックして次のステップに進みます。バケットサイズやバケット要素数による監視を選択します。 完了(Finish) をクリックして保存します。 AWS グローバルおよび監視対象リージョンのエージェントができ、新しいモジュールは次のようになります。

 bucket.size <bucket-id> (region)
 bucket.items <bucket-id> (region)

In the case of region monitoring, a Bucket that has been discovered and monitored, and then deleted, will leave all its corresponding Modules in Unknown status.

リージョンの監視の場合、バケットが検出および監視され、その後削除されると、対応するすべてのモジュールが 不明 状態のままになります。

一般的な表示

Enterprise versionDiscovery Cloud includes an overview where the key points of the infrastructure in Amazon Web Services can be reviewed. Pandora FMS allows displaying different maps based on existing accounts.

Enterprise 版クラウド検出では、Amazon Web Services のインフラストラクチャの重要な点の概要を確認できます。Pandora FMS は、存在するアカウントにもとづいて異なるマップを表示できます。

  • Current expenses
  • Previous expenses
  • Expense evolution chart (6 months)
  • Reserve / instance evolution chart (1 month)
  • Map of regions with the number of instances per region.
  • 現在の費用
  • 前期間の費用
  • 費用の推移グラフ (6ヵ月)
  • リザーブ/インスタンスの推移グラフ (1ヵ月)
  • リージョンごとの、インスタンスの数を含んだリージョンのマップ

Enterprise versionTo monitor an infrastructure in Microsoft Azure, follow these instructions step by step.

Enterprise 版Microsoft Azure のインフラ監視のためには、以下の手順を実施します。

Azure API を利用するためのユーザ登録方法

  • Microsoft Azure® ポータルへ行きます。
  • “Azure Active Directory” サービスを開きます。

  • 'App registrations'> 'New registration' へ行きます。

  • データを入力します。

  • Application (client) ID client_id および Directory (tenant) ID directory を控えておきます。

  • 次に、'certificates & secrets' へアクセスし、新規作成します。

表示された鍵を控えておきます。application_secret になります。

権限の割り当て

操作を行うアカウントに権限を割り当てます。そのためには、“home” にアクセスしてサブスクリプションに入ります。

サブスクリプションで、“Access control (IAM)” を選択します。

新しい役割の割り当てを追加し、作成したアプリの “reader” の役割を選択します。

“save” をクリックして、変更を保存することが重要です。

これ以降、pandora-cm-api を通してサービスに接続し結果を得ることができます。

Pandora FMS における設定

Pandora FMS allows managing several Microsoft Azure® accounts. You may add as many accounts as needed through the Manage Accounts option next to the Account drop-down.

Pandora FMS は、複数の Microsoft Azure® アカウントを管理できます。アカウントドロップダウンの横にある アカウント管理(Manage Accoutns) オプションを使用して、必要な数のアカウントを追加できます。

This will allow access to the Credential store section of Profiles> Manage agent groups and it will work as the store of all previously created Microsoft Azure® accounts to be registered.

これにより、プロファイル(Profiles) > エージェントグループ管理(Manage agent groups)認証情報ストアへ(Credential store) のアクセスが許可され、登録済みの Microsoft Azure アカウントのストアとして機能します。

To configure a new task, follow these steps:

新たなタスクを設定するには、次のステップを実施します。

  • Add a new password to the credential store.
  • Access Discovery> Cloud> Azure and validate the Azure account.
  • From that point onwards, it will be necessary to define the name of your recon task, the server that will execute the task, the group it will belong to and the execution interval.
  • Once task data are defined, select the Azure account sections that you wish to monitor. Each section will allow in turn to choose the desired instances.
  • 認証情報ストア(credential store) に新たなパスワードを追加します。
  • 自動検出(Discovery) > クラウド(Cloud) > Azure へアクセスし、Azure アカウントを検証します。
  • ここからは、自動検出タスクの名前、タスクを実行するサーバ、タスクが属するグループ、および実行間隔を定義する必要があります。
  • タスクデータを定義したら、監視する Azure アカウントセクションを選択します。 各セクションでは、目的のインスタンスを順番に選択できます。

  • The last step is selecting the metrics you wish to obtain from the agents generated by Pandora FMS for each instance it finds in Microsoft Azure®. Once the section is configured, the task can be launched and Pandora FMS will create automatically agents according to the instances required in previous steps.
  • 最後の手順は、Microsoft Azure で見つかった各インスタンスに対して Pandora FMS によって生成されたエージェントから取得するメトリックを選択することです。設定が完了したらタスクを起動でき、Pandora FMS は前の手順で選択したインスタンスに対して、エージェントを自動的に作成します。

Pandora FMS のプラグイン

この機能は、Pandora FMS バージョン 750 からです。

Google Cloud Platform (GCP) 認証情報の検証

To access the Google Cloud console you have to register the JSON key. Follow the steps below:

Google Cloud コンソールへアクセスするための JSON キーを登録する必要があります。次のステップを行います。

  • Access the security settings in GCP IAM. The login account to register will be a service account with the following privileges:
  • GCP IAM のセキュリティ設定 にアクセスします。登録するログインアカウントは、次の権限を持つサービスアカウントになります。

  • Access Pandora FMS Credential Store located in ProfilesManage agent groupsCredential Store and click Add key.
  • In the Product dropdown select Google and add the JSON key from the GCP account.
  • Access DiscoveryCloudGoogle Cloud Platform and validate the GCP account by defining a Discovery GCP task.
  • Pandora FMS の プロファイル(Profiles)エージェントグループ管理(Manage agent groups)認証情報ストア(Credential Store) から、認証情報ストア(Credential Store) へアクセスし、“鍵の追加(Add key)” をクリックします。
  • 製品(Product) のドロップダウンで Google を選択し、GCP アカウントの JSON key を追加します。
  • 自動検出(Discovery) > クラウド(Cloud) > Google Cloud Platform へアクセスし、GCP 自動検出タスクを定義することにより GCP アカウントの検証をします。

Pandora FMS でのタスクの設定

To define a task, specify a name, the Discovery server in charge of it together with the group and the monitoring interval. Once the task data is defined, select the regions from the GCP account that will be monitored. Each region will allow in turn to select the desired instances.

タスクを定義するには、名前、そのタスクを担当する検出サーバー、グループおよび監視間隔を指定します。 タスクデータを定義したら、監視する GCP アカウントからリージョンを選択します。 各リージョンでは、希望するインスタンスを順番に選択できます。

When selecting a zone, automatically new instances detected within that zone will be monitored. When selecting an instance, it will explicitly be monitored, even if its zone is not monitored.

ゾーンを選択すると、そのゾーン内で検出された新しいインスタンスが 自動的に 監視されます。 インスタンスを選択すると、そのゾーンが監視されていない場合でも、明示的に 監視されます。

The last step will be to select the metrics to obtain from the agents that Pandora FMS will create for each instance it finds in Google Cloud Platform®:

最後のステップは、Pandora FMS が Google Cloud Platform® で検出したインスタンスごとに作成するエージェントから取得するメトリックを選択することです。

  • Scan and general monitoring.
  • CPU performance summary.
  • IOPS performance summary.
  • Disk performance summary.
  • Network performance summary.
  • スキャンおよび一般監視
  • CPU パフォーマンス概要
  • IOPS パフォーマンス概要
  • ディスクパフォーマンス概要
  • ネットワークパフォーマンス概要

A generic agent called Google or GCP in which all modules related to Google monitoring will appear.

Google または GCP と呼ばれる汎用エージェントに、Google 監視に関連するすべてのモジュールが含まれます。

Those instances that disappear from an area that is constantly monitored will appear in critical or removed status and all other modules in unknown. In case the whole instance goes to unknown you can use the auto-disable mode.

常に監視されている領域から消えたインスタンスは、障害または削除されたステータスで表示され、他のすべてのモジュールは不明で表示されます。 インスタンス全体が不明になる場合は、自動無効化モードを使用できます。

You may also query a map from the GCP tasklist.

GCP タスクリストからマップを確認することもできます。

Enterprise versionVirtually identical to what was previously seen in Task List, Console Task will allow creating new tasks taking into account the following parameters:

Enterprise 版以前にタスクリストに表示されていたものとほぼ同じコンソールタスクの場合、次のパラメーターを考慮して新しいタスクを作成できます。

Through the NetScan tool, you may find devices in networks and apply different monitoring rules. When creating a task, the group it will belong to must be set beforehand, as well as the corresponding option in the recognition:

NetScan ツールでは、ネットワーク内のデバイスを検出し、異なる監視設定を適用することができます。タスクを作成するときは、そのタスクが属するグループと、自動検出の対応するオプションを事前に設定する必要があります。

  • Upload a file in CSV format with the specific devices to be checked (Use CSV file definition: You may select a file)
  • Or through the Network: You may specify networks or full domain names of a specific host, separated by commas for example: 192,168,50,0/24 or 192,60,0/24, hostname.artica.es. If necessary enable the Name resolution option for the domain names.
  • チェックする特定のデバイスを含む CSV 形式のファイルをアップロードします (CSV ファイル定義を利用(Use CSV file definition) : ファイルを選択できます)
  • または、ネットワーク(Network) を通して: カンマくぐりで特定のネットワークまたは FQDN を設定することができます。例: 192,168,50,0/24192,60,0/24, hostname.artica.es。必要に応じて、ドメイン名の名前解決オプションを有効にします。

The intervals selected as manuals must be manually launched. Discovery will not launch any manual task automatically. Agents detected by NetScan are remote agents with no configuration file. You will not be able to apply local monitoring policies nor aff configuration chances in block if you do not deploy an agent on the targets.

間隔で手動を選択した場合は手動で検出タスクを起動する必要があります。 自動検出は、手動設定のタスクを自動的には実行しません。 ネットスキャンによって検出されたエージェントは、設定ファイルを持たないリモートエージェントです。対象ににエージェントをデプロイしない場合、ローカル監視ポリシーや設定変更をまとめて適用することはできません。

Some NetScan options are:

ネットスキャンオプションは次の通りです。

  • Auto discover known hardware: It dynamically applies the templates that were previously added through Private Enterprise Number.
  • Module templates: It tries to apply the modules from the selected templates. If the execution does not pass the test, they will not be added to the monitoring list.
  • Apply autoconfiguration rules: It applies the predefined auto configuration defined previously in the detected agents. Automatic configuration allows you to apply policies, group changes and settings, as well as launch custom events or execute scripts on actions.
  • SNMP enabled: To complete the information obtained from the discovered network devices, enable SNMP. That improves detection by scanning the SNMP information available in the discovered targets. Once this token is enabled, two more options appear:
    • SNMP version: Select the SNMP version configured in the scanned network devices. It supports SNMP versions 1,2, 2c and 3.
    • Version NG 766 or later: Use Skip non-enabled interfaces option to avoid consult disabled interfaces.</WRAP>
    • SNMP communities to try with: The community configured in the environment must be indicated. You may add as many communities as you need in the following box.
  • WMI enabled: You may enable WMI scanning. Just select the previously loaded credentials in Credentials to try with, which were previously loaded from the credential store
  • 認識済ハードウエアの自動検出(Auto discover known hardware): 以前に プライベートエンタープライズ番号 セクションに追加されたテンプレートを動的に適用します。 詳細については、こちらにアクセスしてください。
  • モジュールテンプレート(Module templates): 選択したテンプレートからモジュールの適用を行います。実行がテストに合格しない場合、それらは監視リストに追加されません。
  • 自動設定ルールの適用(Apply autoconfiguration rules): 検出されたエージェントに事前定義された自動設定ルールを適用します。詳細については、エージェント設定の概要を参照してください。
  • SNMP 有効化(SNMP activated): 検出されたネットワークデバイスから取得した情報を活用するには、SNMPを有効にします。 検出された対象で使用可能な SNMP 情報をスキャンすることにより、検出が向上します。 このトークンが有効になると、さらに次の 2つのオプションが表示されます。
    • SNMP バージョン(SNMP version): スキャンされるネットワークデバイスで設定されている SNMP バージョンを選択します。SNMP バージョン 1、2、2c、3 をサポートしています。
    • NG 766 以降: 無効なインターフェイスの参照を回避するには、無効なインターフェイスをスキップ(Skip non-enabled interfaces) オプションを使用します。
    • 試行する SNMP コミュニティ(SNMP communities to try with): 設定されているコミュニティを示します。以降のボックスにコミュニティを入力して、必要なだけコミュニティを追加できます。
  • WMI 有効化(WMI enabled): WMI スキャンを有効化できます。認証情報ストア で事前設定した認証情報を 利用認証情報(Credentials to try with) で選択するだけです。

The different credentials provided against the detected targets that support WMI will be tested, complementing monitoring with modules that will report about CPU, memory and disk usage.

検出された WMI をサポートする対象に対して提供されるさまざまな資格情報がテストされ、CPU、メモリ、およびディスクの使用状況について報告するモジュールによる監視が補完されます。

  • Parent recursion: It improves parent detection, adding recursion to the process.
  • VLAN enabled: It detects the VLAN to which the different devices are connected.
  • 親の再帰(Parent recursion): 親の検出を改善し、処理に再帰を追加します。
  • VLAN 有効化(VLAN enabled): さまざまなデバイスが接続されているVLANを検出します。


The steps to deploy agents from the console are:

コンソールからエージェントをデプロイする手順は次の通りです。

  • Register the versions of the software agents to be deployed in the agent repository: You will need the installators in the agents to be deployed. You may also use custom agents.
  • Register the credentials to be used to connect the targets in the credential manager: Specify the credentials with which the accesses to found or specified targets will be tested.
  • Check that your environment is ready for deployment.
    • Define deployment targets.
    • Define public access URL.
    • Register installators to deploy the software.
  • エージェントリポジトリにデプロイするソフトウエアエージェントのバージョンを登録: デプロイするエージェントのインストーラが必要です。カスタムエージェントを利用することもできます。
  • 認証情報ストアで対象へ接続するために利用する認証情報を登録: 検出または指定された対象へのアクセスのテストに使用する認証情報を指定します。
  • デプロイの準備ができかた確認します。
    • デプロイ対象 の定義。
    • 公開アクセスURL の定義。
    • ソフトウエアをデプロイするインストーラ の登録。

This system does not perform PUSH operations. All deployments are sent by offering the software and ordering the target to install it. The server must be version EL7 (Red Hat Enterprise Linux) or later for the agent automatic deployment to work. In GNU/Linux Debian and related distributions (Ubuntu, etc.) you already should have the curl command installed.

このシステムは、プッシュ処理は実行しません。すべてのデプロイは、ターゲットに対してソフトウェアを 提供 し、インストールする指示が送られることにより行われます。エージェントの自動デプロイが正しく動作するためには、サーバのバージョンが EL7 (Red Hat Eenterprise Linux) 以降である必要があります。 GNU/Linux Debian および関連ディストリビューション (Ubuntu など) では、curl コマンドがすでにインストールされているはずです。

対象の検索

Enterprise versionDeployment targets

Enterprise 版デプロイ対象

Use any of the Scan for targets, Add target or Load targets to define new targets.

新たなターゲットを定義するには、ターゲットのスキャン(Scan for targets)ターゲット追加(Add target)、または ターゲット読み込み(Load targets) を利用します。

対象が存在する一つ以上のネットワークのスキャン

By clicking the scan targets button, a pop-up will appear with the following fields:

対象をスキャンするボタンを押すと、以下のフィールドのポップアップが表示されます。

  • Network/mask: The network or networks (separated by commas) to scan.
  • Desired agent version: The software agent version registered as “desired” for the discovered targets.
  • Target server IP: The IP of the target server where these software agents will point when they are installed (it corresponds to the server_ip field in the agent configuration file).
  • ネットワーク/マスク(Network/mask): スキャンするネットワーク(カンマ区切り)
  • 適切なエージェントバージョン(Desired agent version): 検出した対象に想定するソフトウエアエージェントのバージョン
  • 対象サーバ IP(Target server IP): ソフトウェアエージェントがインストールされたときに、それが指し示すサーバの IP (エージェント設定ファイルにおける “server_ip” フィールドに設定されます)

Discovery tasks related to agent deployment are volatile tasks. Once completed, they will be automatically deleted. Information about scan or deployment, both successful and failing, can be consulted from the deployment center itself.

エージェントの展開に関連する検出タスクは 一時的な タスクです。完了すると、それらは自動的に削除されます。 成功または失敗の両方について、スキャンまたはデプロイに関する情報は、デプロイセンター自体から参照できます。

対象の情報の CSV ファイルでのアップロード

Warning, this CSV importer will not perform any Discovery task, it will only create empty agents with the name, IP, OS type, description and group provided in the CSV.


この CSV インポーターは自動検出タスクは実行しません。CSV で提供された名前、IP、OS タイプ、説明、およびグループで空のエージェントを作成します。

If you wish to mass register targets, upload a CSV file with the following format:

対象を複数登録したい場合は、以下のフォーマットの CSV ファイルをアップロードします。

Agent alias, IP address, OS id, Interval, Group id, Description
エージェントの別名, IP アドレス, OS ID, 間隔, グループ ID, 説明
  • Agent alias: Alias of the future agent, if you select the Alias as name option, the name will be the same as the alias.
  • IP address: IP address of the computer where the agent will be installed.
  • OS id: Operating system identifier number, AIX, BSD, HP-UX, GNU/Linux, Solaris, MS Windows® are supported.
  • Interval: Time in seconds between each check.
  • Group id: Group identifier number to which the agent will belong.
  • エージェントの別名: 将来のエージェントの別名。名前として別名を利用 オプションを選択すると、名前は別名と同じになります。
  • IP アドレス: エージェントがインストールされたコンピュータの IP アドレス。
  • OS ID: OS を特定する番号。AIX, BSD, HP-UX, Linux, Solaris, Windows など。
  • 間隔: 各チェックの秒単位の間隔
  • グループ ID: エージェントが所属するグループの ID 番号。

ソフトウエアのデプロイ

You may only schedule deployment against targets whose information is complete, specifying both credentials and software versions to deploy.

認証情報とデプロイするソフトウェアバージョンの両方を指定して、情報が完全なターゲットに対してのみ展開をスケジュールできます。

When you have possible targets on the list, launch agent deployment. Select the IPs of the targets from the list (only valid targets will appear in Available targets) and click Deploy to start afent deployment.

一覧に対象がある場合、エージェントのデプロイを起動します。一覧(正しい対象のみ表示されます)から対象の IP を選択し、エージェントのデプロイを開始するには デプロイ(Deploy) ボタンをクリックします。

A Discovery task for background deployment will automatically be created, which will install the agent on the desired targets. You may verify that the agent was successfully installed from the list of targets of the deployment center.

バックグラウンドでのデプロイするための検出タスクが自動的に作成され、指定した対象にエージェントをインストールします。デプロイセンターの対象のリストから、エージェントが正常にインストールされたことを確認できます。

A list of devices can be imported to represent them as agents using the agent import wizard through CSV.

エージェントインポートウィザードを用いて、CSV でデバイスの一覧をエージェントとしてインポートできます。

This feature only creates agents in Pandora FMS for its remote monitoring.

この機能は、Pandora FMS でリモート監視用のエージェントのみを作成します。

Select the separator used, the server on which you wish to import and the file that contains the data, then click Go.

使用する区切り文字、インポート先のサーバ、データを含むファイルを選択して、Go をクリックします。

It allows the execution of custom scripts for the execution of network recognition tasks. Specify the group it belongs to and the execution interval. Once the process of creating the task is complete, specify the script that you wish to run, as well as the configuration file necessary for its execution.

ネットワーク検出タスクを実行するためのカスタムスクリプトの実行ができます。所属するグループと実行間隔を指定します。 タスクの作成処理が完了したら、実行するスクリプトとその実行に必要な指定ファイルを指定します。

This section will show the different scripts that have been created for custom recognition tasks. Access it from the menu Management > Discovery > Host&devices > Manage scan scripts.

このセクションでは、カスタム検出タスク用に作成されたさまざまなスクリプトを表示します。管理(Management) > 自動検出(Discovery) > ホスト&デバイス(Host&devices) > スキャンスクリプト管理(Manage scan scripts) からアクセスします。

Pandora FMS allows adding additional scripts to make monitoring and recognition of required networks easier. Creating scripts allows adding macros with which to define all the parameters needed for the correct execution of the script.

andora FMS では、スクリプトを追加することにより、必要なネットワークの監視と検出を容易にすることができます。スクリプトを作成することにより、それを正しく実行するために必要なすべてのパラメータを定義するマクロを追加できます。

Pandora FMS 自動検出ツールでは、コンソールタスク(Console Tasks)サーバタスク(Server Tasks) 両方における計画されているすべてのタスクの一覧を表示できます。

Enterprise versionFor each Console task listed:

Enterprise 版コンソールタスク一覧:

  • User: It is the user who created the task.
  • Task: Description of the programmed task
  • Scheduled: It specifies how often the task will be executed.
  • Next Execution: It specifies the next task execution.
  • Last Execution: It indicates when the task was last executed.
  • Group: The group to which the task belongs.
  • Operations: It shows the actions that can be performed on the task, such as editing and deleting .
  • ユーザ(User): タスクの作成したユーザ。
  • タスク(Task): 計画されているタスクの説明。
  • 実行計画(Scheduled): どの程度の間隔でタスクが実行されるか。
  • 次の実行(Next Execution): タスクの次回の実行時間。
  • 最後の実行(Last Execution): 最後にいつタスクが実行されたか。
  • グループ(Group): タスクが所属するグループ。
  • 処理(Operations): タスクで実行実行できるアクション、編集および、削除の表示。

NG 770 version or later.

バージョン NG 770 以降

To balance the load in Discovery server task execution, you may declare and add consoles in the config.php section. Use the Console ID to identify and assign these consoles when creating or editing Console Tasks.

自動検出サーバタスクの実行の負荷を分散するには、config.php設定を追加することができます。コンソールタスク(Console Tasks) を作成または編集する際に、コンソールを識別して割り当てるために、コンソール ID(Console ID) を利用します。

Version 770 or later.

Each console has its own CRON that executes the corresponding tasks. You may only force the execution of a console task on its corresponding button. For example, if you have two consoles named A and B, these consoles work separately from each other, they are in no way connected to each other.

バージョン 770 以降

各コンソールには、それぞれのタスクを実行する独自の CRON があります。 それぞれの対応するボタンでのみコンソールタスクの実行を強制できます。 たとえば、A と B という名前の 2 つのコンソールがある場合、これらのコンソールは互いに独立して動作し、互いに接続されていません。

コンソールタスクの作成および編集

Enterprise versionTo create a Console task, go to the DiscoveryNew console task menu.

Enterprise 版コンソールタスクを作成するには、自動検出(Discovery)新規コンソールタスク(New console task) メニューへ行きます。

To edit a Console task click on the icon described in the previous section.

コンソールタスクを編集するには、前章で説明しているアイコンをクリックします。

In both cases the interface is the same except for the respective Create button or Update button for save the changes.

どちらの場合も、変更を保存するための 作成(Create) ボタンまたは 更新(Update) ボタンが異なることを除いて、インターフェースは同じです。

The common fields for each task are:

各タスクの共通フィールドは次の通りです。

  1. Scheduled: Periodicity of the task, Daily, Hourly, Monthly, Not scheduled (see next point), Weekly and Yearly.
  2. Next execution: Next execution of the task, select date in the first field and time in the second field (pop-up menu when clicking on each).
  3. Group: Group to which the task will belong.
  1. 計画済(Scheduled): タスクの実行間隔で、毎日毎時毎月スケジュールなし(以下を参照)、毎週毎年 です。
  2. 次の実行(Next execution): タスクの次回の実行日時です。最初のフィールドで日付を選択し、2番目のフィールドで時刻を選択します(それぞれをクリックするとポップアップメニューが表示されます)。
  3. グループ(Group): タスクが所属するグループです。

The fields to be filled in change depending on the task you choose from the drop-down list of Task:

タスク のドロップダウンリストから選択したタスクに応じて、入力するフィールドが変わります。

Pandora FMS データベースバックアップ

Enterprise versionPandora FMS database backup task:

Enterprise 版Pandora FMS データベースバックアップタスク:

Save to disk in path: Path where the backup information will be stored.

保存パス(Save to disk in path): バックアップ情報を保存する場所のパス。

Active backups: Specific number of backups to maintain to conserve storage space.

アクティブなバックアップ(Active backups): ストレージスペースを節約するために維持するバックアップの数。

PHP 関数呼び出し(Call PHP function)

Enterprise versionFunction execution task written in PHP language:

Enterprise 版PHP 言語で書かれた関数の実行:

Function name: Name of the PHP function to be executed once or periodically.

関数名(Function name): 一回または定期的に実行する PHP 関数名。

**カスタムスクリプト実行(Execute custom script)

Enterprise versionScript execution task:

Enterprise 版スクリプト実行タスク:

Custom script: Name of the script to be executed.

カスタムスクリプト(Custom script): 実行するスクリプトの名前。

カスタムレポートの保存(Save custom report to disk)

Enterprise versionCustomized report generation and saving task:

Enterprise 版カスタムレポートの生成とタスクの保存:

Report pending to be created: Custom report (drop-down list) from which this report will be generated. See “Creating a (custom) report”.

作成中レポート(Report pending to be created): このレポートの生成元となるカスタムレポート(ドロップダウンリスト)。“(カスタム)レポートの作成” を参照してください。

Save to disk in path: Path where the created report will be stored (apache user must have read and write rights to this directory).

保存パス(Save to disk in path): 作成したレポートを保存するパス(このディレクトリに対して apache ユーザが読み書きできる必要があります)。

File name prefix: Name prefix for successive reports.

ファイル名プレフィックス(File name prefix): レポートの名前のプレフィックス。

Report Type: To be saved in the format XML, PDF, JSON o CSV.

レポートタイプ(Report Type): XML、PDF、JSON、CSV の保存フォーマット。

csv ログ送信(Send csv log)

Version 768 or earlier.

バージョン 768 およびそれ以前

Enterprise versionTask of sending event logs in CSV format, via e-mail.

Enterprise 版メールでの CSV フォーマットのログ送信:

Send to e-mail: Mailbox to which to send event logs in CSV format.

メール送信先(Send to e-mail): イベントログを CSV 形式でメール送信する先。

メールでの(テンプレートからの)カスタムレポート送信(Send custom report (from template) by email)

Enterprise versionReports (created from a template) to be sent by e-mail:

Enterprise 版(テンプレートから作成した)レポートのメールでの送信:

  • Template pending to be created: Custom template to be created.
  • Agents: Agents from which the information that will be reflected in the report will be obtained.
  • Report per agent: If you wish to generate separate reports for each report.
  • Send to email addresses: Email addresses to which the report will be sent.
  • Subject: Topic of the mail to be sent.
  • Message: Body of the message with which the reports will be sent.
  • Report Type: Type of report that will be sent.
  • 作成中テンプレート(Template pending to be created): 作成されるカスタムテンプレート。
  • エージェント(Agents): レポートに反映される情報を取得するエージェント。
  • エージェントごとのレポート(Report per agent): エージェントごとに個別のレポートを生成する場合。
  • メール送信先アドレス(Send to email addresses): レポートを送信するメールアドレス。
  • 件名(Subject): メールの件名。
  • メッセージ(Message): 送信されるレポートの本文。
  • レポートタイプ(Report Type): 送信されるレポートのタイプ。
メールでのカスタムレポートの送信(Send custom report by email)

Enterprise versionReports to be sent by e-mail:

Enterprise 版メールでのレポート送信:

  • Customized report (see “Creating a report” ) for report creation, Report pending to be created.
  • Agent information for the report, Agents; if you wish to generate separate reports for each report, Report per agent.
  • Mailing addresses (separated by commas) for sending the report, Send to email addresses.
  • Subject of the mail to be sent, Subject.
  • Body of the message with which the reports will be sent, Message .
  • Type of report to be sent, Report Type.
  • レポート作成用にカスタマイズされたレポート(“レポート作成” を参照)、作成中のレポート(Report pending to be created)
  • レポートのエージェント情報、エージェント(agents)。エージェントごとに別のレポートを生成したい場合は、エージェントごとのレポート(Report per agent)
  • レポート送信先メールアドレス(カンマ区切り)、メール送信先アドレス(Send to email addresses)
  • 送信するメールの件名、件名(Subject)
  • 送信されるレポートの本文、メッセージ(Message)
  • 送信するレポートのタイプ、レポートタイプ(Report Type)

This section reflects the recognition tasks programmed by the server. The information is shown according to the following parameters:

このセクションでは、サーバによってプログラムされ認識されているタスクを表示します。 情報は、次のパラメーターに従って表示されます。

  • Force: Option that will allow forcing the task execution.
  • Task name: Name assigned to the task.
  • Server name: Server that will execute the task.
  • Interval: Time interval during which the task will be performed.
  • Network: Network where the checks will be made.
  • Status: Status of the scheduled task.
  • Task type: Type of the task that has been generated.
  • Progress: Progress of the task in case of being executed.
  • Updated at: It indicates when the task was last executed.
  • Operations: Actions that can be performed on the task. Display of the task status, display of the map of the discovered network, editing and deletion.
  • 強制(Force): タスクを強制実行するオプション。
  • タスク名(Task name): タスクの名前。
  • サーバ名(Server name): タスクを実行するサーバ。
  • 間隔(Interval): タスクの実行間隔。
  • ネットワーク(Network): チェックが行われるネットワーク。
  • 状態(Status): 計画タスクの状態。
  • タスクタイプ(Task type): 実行されるタスクのタイプ。
  • 進捗(Progress): タスクが実行されているときの進捗。
  • 更新日時(Updated at): タスクが最後に実行された日時。
  • 操作(Operations): タスクで実行可能なアクション、タスクの状態表示、検出されたネットワークのマップ表示、編集、削除。

操作

サーバ検出タスクの編集では、次のパラメーターを調整できます。

  • 間隔(Interval): タスクの実行間隔を、手動または定義済のものいずれかで設定できます。
  • タスク名(Task name): タスク名。
  • 自動検出サーバ(Discovery server): 自動検出タスクを実行するサーバ。これは、正しい検出処理のためには必須のパラメータです。
  • ネットワーク(Network): チェックが実行されるネットワーク。
  • グループ(Group): 所属するグループ。
  • コメント(Comment): 追加するコメント。

Enterprise versionNow, it is possible to monitor applications remotely using Discovery Applications.

Enterprise 版アプリケーション検出(Discovery Applications) を用いて、アプリケーションをリモートで監視することができます。

バージョン NG 747 以上

Enterprise versionTo monitor the DB2 relational database engine from IBM, the IBM official client is used, to be more specific ibm_data_server_driver_package_linuxx64_v11.5.tar.gz. Once the package has been downloaded, follow these instructions to decompress and install it:

Enterprise 版IBM の DB2 リレーショナルデータベースエンジンを監視するには、IBM official clientibm_data_server_driver_package_linuxx64_v11.5.tar.gz を利用します。パッケージのダウンロード後、展開してインストールするには次の手順を実施します。

tar -zxvf ibm_data_server_driver_package_linuxx64_v11.5.tar.gz

インストールしたいディレクトリ(例: /opt/dsdriver)にファイルを移動します。

 mv PATH/ibm_data_server_driver_package_linuxx64_v11.5 /opt/dsdriver/
 cd /opt/dsdriver
 bash installDSDriver
 export DB2_HOME =/opt/dsdriver
 export DB2LIB =/opt/dsdriver/lib
 cd /usr/lib64
 ln -s /opt/dsdriver/lib/* ./
/etc/pandora/pandora_server.env'' で以下の設定を行います。
 #!/bin/bash
 VERSION = 12.2
 export PATH =$PATH:$HOME/bin:/usr/lib/oracle/$VERSION/client64/bin
 export LD_LIBRARY_PATH =$LD_LIBRARY_PATH:/usr/lib/oracle/$VERSION/client64/lib
 export LD_LIBRARY_PATH =$LD_LIBRARY_PATH:/opt/dsdriver/lib
 
 export ORACLE_HOME =/usr/lib/oracle/$VERSION/client64
 export DB2_HOME =/opt/dsdriver
 export DB2LIB =/opt/dsdriver/lib

インストールしたシステムに応じて、バージョンは 11.1 または 12.2 となります。

機能

Enterprise versionComponents to be monitored:

Enterprise 版監視対象コンポーネント:

  • 事前定義モジュール、Get database summary:

  • 事前定義モジュール、Check transactional log utilization:

  • 事前定義モジュール、Number of connections:

  • 事前定義モジュール、DB size:

  • 事前定義モジュール、Retrieve cache statistics:

  • カスタムクエリモジュール:

このカスタム監視を実行するには、DB2 タスクを設定するウィザードに従います。

最初のステップでは、次のパラメータを定義します。

  • タスク名(Task name): タスクの名前。
  • 自動検出サーバ(Discovery server): DB2 監視タスクを実行するサーバ。
  • グループ(Group): 作成したエージェントが所属するグループ。
  • DB2 対象文字列(DB2 target strings): タスクの対象文字列を定義するセクション。必要な数の対象 IP をカンマまたは行で区切って追加できます。# を使用して、必要な行にコメントを付けることができます。
  • ユーザ(User): 監視を実行するために DB2 へ接続するユーザ。
  • パスワード(Password): 上記ユーザのパスワード。
  • 間隔(Interval): 実行間隔。

タスク設定の 2つ目のパートには以下が表示されます。

  • 対象エージェント(Target agent): DB2 監視から情報を受け取るエージェント。複数の対象文字列を定義する場合は、このフィールドに複数の名前をカンマで区切って示すことができます。
  • カスタムモジュールプレフィックス(Custom module prefix): これは、タスクによって生成されたモジュールの名前と連結されるカスタムプレフィックスを定義します。
  • データベース概要の取得(Get database summary): データベースの状態の概要を返します。
  • トランザクションログ利用量確認(Check transactional log utilization): 使用中のレコードの合計スペースのパーセンテージを示します。
  • 接続数の取得(Get number of connections): 接続数を返します。
  • DB サイズの確認(Check DB size): データベースのサイズを返します。
  • キャッシュ統計の取得(Retrieve cache statistics): キャッシュ統計を返します。
  • カスタムクエリの実行(Execute custom queries): カスタムクエリを実行します。
  • カスタムクエリ(Custom queries): カスタムクエリを定義できます。

例:

SELECT count(*) FROM SYSIBMADM.SNAPLOCKWAIT

これは、データベースエージェントがロックを取得するために待機しているリクエストに関する情報を返します。次のクエリフォーマットに従って、データベースではすべての種類のモジュールを取得できます。

SELECT * FROM <schema_name>.<table_name>

以上の手順を完了すると、次のような画面が表示されます。

バージョン NG 733 以上

Enterprise versionThe following parameters must be defined for the task:

Enterprise 版タスクのために、以下のパラメータを定義する必要があります。

discmysql1.jpg

  • タスク名(Task name): MySQL の監視を実行するタスク名。
  • 自動検出サーバ(Discovery Server): 指定のタスクを実行するサーバ。
  • MySQL サーバ IP(MySQL server IP): 監視対象の MySQL 環境のサーバ IP。
  • MySQL サーバポート(MySQL server port): MySQL の監視情報を取得するためのポート番号。
  • 間隔(Interval): 監視を実行する間隔。
  • ユーザ(User): MySQL へログインするためのユーザ。
  • パスワード(Password): 上記 MySQL ユーザのパスワード。

ユーザは、データベースでクエリを実行できる十分な権限がある必要があります。

設定を行ったら、モジュールを指定します:

discmysql2.jpg

  • 対象エージェント(Target agent): モジュールが作成されるエージェント。
  • カスタムモジュールプレフィックス(Custom module prefix): タスクによって生成されたモジュール名の前につけるプレフィックス。
  • スキャンデータベース(Scan databases): スキャンするデータベース。
  • データベースごとのエージェント作成(Create agent per database): MySQL 環境で見つかったデータベースごとにエージェントを作成するオプション。
  • エンジン稼働時間(Check engine uptime): MySQL エンジンが稼働状態の時間を確認します。
  • クエリの統計取得(Retrieve query statistics): 実行されたクエリの統計情報を取得します。
  • 接続分析(Analyze connections): 接続状況を分析します。
  • InnoDB の統計取得(Retrieve InnoDB statistics): InnoDB の統計情報を取得します。
  • キャッシュの統計取得(Retrieve cache statistics): キャッシュの統計情報を取得します。
  • カスタムクエリ(Custom queries): カスタムクエリの定義をします。
  • Version NG 733 or later.
  • From Pandora FMS 769 or later versions, it is necessary to upgrade Oracle Instant Client to version 19.8 in environments that have a previous version.
  • バージョン NG 733 以上
  • Pandora FMS 769 以降で、以前のバージョンが入っている場合は、Oracle Instant Clinet をバージョン 19.8 へアップグレードする必要があります。

Oracle パッケージのインストール

  • Install Oracle Instant Client® from the Oracle® page:
  • Oracle® のページから、Oracle Instant Client® をインストールします。
EL8 への Oracle パッケージのインストール
dnf install -y \
 https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-basic-19.8.0.0.0-1.x86_64.rpm
dnf install -y
 https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-sqlplus-19.8.0.0.0-1.x86_64.rpm
Ubuntu 22 用の Oracle パッケージのインストール

Make a temporary directory that you can delete once the installation is successful:

インストールが成功したら削除する一時ディレクトリを作成します:

mkdir -p /opt/oracle

Download from the Oracle® website:

Oracle® ウェブサイトからダウンロード:

wget 'https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-basic-linux.x64-19.8.0.0.0dbru.zip'
wget 'https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip'

Unzip and install:

展開とインストール:

unzip instantclient-basic-linux.x64-19.8.0.0.0dbru.zip -d /opt/oracle
unzip instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip -d /opt/oracle/
echo "export PATH=\"$PATH:/opt/oracle/instantclient_19_8\"">> /root/.profile
echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:/opt/oracle/instantclient_19_8\"">> /root/.profile
echo "export ORACLE_HOME=\"/opt/oracle/instantclient_19_8\"">> /root/.profile

If the installation was successful, delete the temporary directory.

インストールが成功したら、一時ディレクトリを削除します。

CentOS 7 用の Oracle パッケージのインストール

Pandora FMS versions 733 to 768:

If you are using the E7 package, you must install the library and environment variables of version 12.2, as well as use the Oracle® packages (v12.2).

Versions 769 or later:

PFMS server 769 or later does not have support for Oracle® Instant Client version 12, use the recommended version 19.8 .


Pandora FMS バージョン 733 から 768:

E7 パッケージを使用している場合は、バージョン 12.2 のライブラリのインストールと環境変数を設定し、Oracle® パッケージ (v12.2) を使用する必要があります。

バージョン 769 以降:

Pandora FMS サーバ 769 以降は、Oracle® Instant Client バージョン 12 をサポートしていません。推奨バージョン 19.8 を使用してください


* Required packages:

* 必要なパッケージ:

https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-basic-19.8.0.0.0-1.x86_64.rpm
https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-sqlplus-19.8.0.0.0-1.x86_64.rpm
  • Prepare the boot environment of pandora_server:
  • pandora_server の起動環境を準備します。

In the pandora_server path, you need to create a file called pandora_server.env with the following information and execute ./pandora_server.env

pandora_server のパスで、次のように pandora_server.env というファイルを作成する必要があります。./pandora_server.env の実行が必要です。

# Set Oracle environment for pandora_server
cat> /etc/pandora/pandora_server.env <<'EOF_ENV'
#!/bin/bash
VERSION=11.1
export PATH=$PATH:$HOME/bin:/usr/lib/oracle/$VERSION/client64/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/$VERSION/client64/lib
export ORACLE_HOME=/usr/lib/oracle/$VERSION/client64
EOF_ENV
  • pandora_server を再起動します。
/etc/init.d/pandora_server restart

From version NG 754 onwards, additional options are available for manual startup and shutdown of High Availability (HA) environments.

Pandora FMS での Oracle の監視

Enterprise versionOracle® monitoring allows you to define the following task parameters:

Enterprise 版Oracle® 監視では次のパラメータを定義できます:

Oracle 監視には、以下のパラメータを定義する必要があります。

  • タスク名(Task name): MySQL の監視を実行するタスク名。
  • 自動検出サーバ(Discovery Server): 指定のタスクを実行するサーバ。
  • グループ(Group): 所属グループ。
  • Oracle 対象文字列(Oracle target strings): タスクの対称文字列を定義します。
  • ユーザ(User): 監視の実行のために Oracle へアクセスするユーザ。
  • パスワード(Password): 上記ユーザのパスワード。
  • 間隔(Interval): 監視を実行する間隔。

定義を行ったら、次のタスクモジュールの設定に進みます。

  • Target agent: Agent that will receive Oracle monitoring information.
  • Custom module prefix: It defines a custom prefix that will be concatenated with the name of the modules generated by the task.
  • Check engine uptime: It will check the time that Oracle is operational.
  • Retrieve query statistics: It allows to recover the statistics of the executed queries. If you enable this option it is necessary to give permissions to the V$SQLSTATS table.
  • Analyze connections: It analyzes connections.
  • Calculate fragmentation ratio: It calculates the fragmentation rate. It is necessary to give permissions to the dba_tables table.
  • Monitor tablespaces: It monitors tablespaces.
  • Retrieve cache statistics: It returns cache statistics. It is necessary to give permissions to the tables v$librarycache and v$rowcache.
  • Execute custom queries: It executes custom queries.
  • Custom queries: It allows to define customized queries.
  • 対象エージェント(Target agent): モジュールが作成されるエージェント。
  • カスタムモジュールプレフィックス(Custom module prefix): タスクによって生成されたモジュール名の前につけるプレフィックス。
  • エンジン稼働時間(Check engine uptime): MySQL エンジンが稼働状態の時間を確認します。
  • クエリの統計取得(Retrieve query statistics): 実行されたクエリの統計情報を取得します。このオプションを有効にすると V$SQLSTATS テーブルへ権限を与える必要があります。
  • 接続分析(Analyze connections): 接続状況を分析します。
  • フラグメンテーション率の計算(Calculate fragmentation ratio): フラグメンテーション率を計算します。dba_tables `テーブルへ権限を与える必要があります。
  • テーブルスペースの監視(Monitor tablespaces): テーブルスペースを監視します。
  • キャッシュの統計取得(Retrieve cache statistics): キャッシュの統計情報を取得します。 v$librarycache および v$rowcache テーブルへ権限を与える必要があります。
  • カスタムクエリの実行(Execute custom queries): カスタムクエリを実行します。
  • カスタムクエリ(Custom queries): カスタムクエリの定義をします。


Important: the necessary permissions must be granted in order to be able to perform the queries; for example:



重要: クエリを実行できるようにするには、必要な権限を付与する必要があります。例:


CREATE USER pandora IDENTIFIED BY pandora;
GRANT CREATE SESSION TO pandora;
GRANT SELECT any dictionary TO pandora;
GRANT SELECT ON V_$SYSSTAT TO pandora;
GRANT SELECT ON V_$STATNAME TO pandora;
GRANT SELECT ON gv$sysstat TO pandora;
GRANT SELECT ON v$sesstat TO pandora;
GRANT SELECT ON V_$INSTANCE TO pandora;
GRANT SELECT ON V_$LOG TO pandora;
GRANT SELECT ON SYS.DBA_DATA_FILES TO pandora;
GRANT SELECT ON SYS.DBA_FREE_SPACE TO pandora;
GRANT SELECT ON V_$parameter TO pandora;
GRANT SELECT ON dba_tablespaces TO pandora;
GRANT SELECT ON dba_data_files TO pandora;
GRANT SELECT ON dba_free_space TO pandora;
GRANT SELECT ON V$SQLSTATS TO pandora;
GRANT SELECT ON dba_tables TO pandora;
GRANT SELECT ON v$librarycache TO pandora;
GRANT SELECT ON v$rowcache TO pandora;
.
.
(others GRANTs necessary, for all tables used in the plugin configuration file)
.
.
--
-- if somebody still uses Oracle 8.1.7...
GRANT SELECT ON sys.dba_tablespaces TO pandora;
GRANT SELECT ON dba_temp_files TO pandora;
GRANT SELECT ON sys.v_$Temp_extent_pool TO pandora;
GRANT SELECT ON sys.v_$TEMP_SPACE_HEADER TO pandora;
GRANT SELECT ON sys.v_$session TO pandora;

SAP 自動検出コネクタ手動インストール

Pandora FMS をバージョン 741 より前にインストールしている場合、コネクタをダウンロードして手動で設定します。

  • SAP 自動検出のために Pandora FMS サーバへ JAVA(JRE) をインストールします。
  • コネクタまたは SAP Linux 用のリモートプラグインをダウンロードします。
  • pandora_server.conf を設定し、次のパラメータを設定します。
 # Discovery SAP 
 java /usr/bin/java
 
 # Discovery SAP utils
 sap_utils /usr/share/pandora_server/util/recon_scripts/SAP
  • sap_utils の設定で指定したディレクトリに、ライブラリからダウンロードした “Pandora FMS SAP Discovery for Linux” という tar ファイルを展開します。次のファイルを含んでいます。
 Deset_SAP_Plugin.jar
 dev_jco_rfc.trc
 libsapjco3.so
 sapjco3.dll
 sapjco3.jar
  • Pandora FMS サーバを再起動します。
/etc/init.d/pandora_server restart

SAP 表示

Enterprise versionIt allows you to see the general state of the SAP servers:

Enterprise 版SAP システムサーバの一般的な状態を見ることができます。

この表示には、選択した SAP エージェントの使用可能な SAP モジュールを含むパネルが表示されます。グラフ表示の更新時間および間隔を選択できます。

SAP 固有の表示

Enterprise versionThe SAP view is also integrated as a new tab within the agent view. If the system detects that the agent is a SAP agent, an access to the SAP View tab will be displayed:

Enterprise 版SAP 表示は、エージェント表示内の新しいタブとしても統合されています。エージェントが SAP エージェントであることをシステムが検出すると、SAP 表示タブへのアクセスが表示されます。

エージェント表示には、現在のエージェントの SAP モジュールの状態の概要が表示されます。

Microsoft ODBC のインストール方法

CentOS 7 の場合
curl https://packages.microsoft.com/config/rhel/7/prod.repo \
 > /etc/yum.repos.d/mssql-release.repo && \
   yum remove unixODBC-utf16 unixODBC-utf16-devel && \
   ACCEPT_EULA=Y yum install -y msodbcsql17
Rocky Linux 8 の場合
curl https://packages.microsoft.com/config/rhel/8/prod.repo -o /etc/yum.repos.d/mssql-release.repo
dnf remove unixODBC-utf16 unixODBC-utf16-devel
env ACCEPT_EULA=Y dnf install -y msodbcsql17

Ubuntu 22 の場合
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
echo "deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main" | tee /etc/apt/sources.list.d/mssql-release.list
apt update
env ACCEPT_EULA=Y apt install -y msodbcsql17
Pandora FMS 設定

Check the configuration file from Pandora FMS server.

Pandora FMS サーバの設定ファイルを確認します。

/etc/pandora/pandora_server.conf

Once you go to the configuration file, look for the following token:

ファイルを開いたら、以下のトークンを探します。

mssql_driver < IDENTIFYING STRING >

The < IDENTIFYING STRING > parameter can be found in /etc/odbcinst.ini, which will be created when installing ODBC.

ODBC インストール時に作成される /etc/odbcinst.ini 内に、IDENTIFYING STRING を確認できます。

This is the default string:

以下がデフォルトの文字列です。

ODBC Driver 17 for SQL Server

Pandora FMS ドキュメント一覧に戻る

  • ja/documentation/pandorafms/monitoring/04_discovery.txt
  • 最終更新: 2023/05/31 06:18
  • by 127.0.0.1