目次

自動検出

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

自動検出

Pandora FMS 自動検出とは

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) を用いて、アプリケーションをリモートで監視することができます。

アプリケーション検出: SAP

バージョン 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

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

アプリケーション検出: VMware

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:

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

アプリケーション検出: MS SQL

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) から行います。

クラウド検出: Amazon Web Services (AWS)

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 の監視では以下があります。

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 特定インスタンスの監視

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

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

AWS.EC2 追加

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

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 は、存在するアカウントにもとづいて異なるマップを表示できます。

クラウド検出: Microsoft Azure

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

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

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

表示された鍵を控えておきます。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:

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

Pandora FMS のプラグイン

クラウド検出: Google Cloud Platform (GCP)

この機能は、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 キーを登録する必要があります。次のステップを行います。

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® で検出したインスタンスごとに作成するエージェントから取得するメトリックを選択することです。

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

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

ネットスキャン(NetScan)

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

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:

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

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、メモリ、およびディスクの使用状況について報告するモジュールによる監視が補完されます。

自動エージェントデプロイ


The steps to deploy agents from the console are:

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

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:

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

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, 説明

ソフトウエアのデプロイ

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.

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

CSV でのデバイス一覧のインポート

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

(OBSOLETE) 自動検出タスク一覧

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

コンソールタスク

Enterprise versionFor each Console task listed:

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

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 版(テンプレートから作成した)レポートのメールでの送信:

メールでのカスタムレポートの送信(Send custom report by email)

Enterprise versionReports to be sent by e-mail:

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

サーバタスク

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

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

操作

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

(OBSOLETE) アプリケーション検出

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

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

アプリケーション検出: DB2

バージョン 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 版監視対象コンポーネント:

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

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

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

例:

SELECT count(*) FROM SYSIBMADM.SNAPLOCKWAIT

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

SELECT * FROM <schema_name>.<table_name>

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

アプリケーション検出: MySQL

バージョン NG 733 以上

Enterprise versionThe following parameters must be defined for the task:

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

discmysql1.jpg

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

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

discmysql2.jpg

アプリケーション検出: Oracle

  • 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 パッケージのインストール

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

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
/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 監視には、以下のパラメータを定義する必要があります。

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


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

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

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

 # Discovery SAP 
 java /usr/bin/java
 
 # Discovery SAP utils
 sap_utils /usr/share/pandora_server/util/recon_scripts/SAP
 Deset_SAP_Plugin.jar
 dev_jco_rfc.trc
 libsapjco3.so
 sapjco3.dll
 sapjco3.jar
/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 モジュールの状態の概要が表示されます。

MS SQL

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 ドキュメント一覧に戻る