[[:en:quickguides:start|Go back to Quick Guides index]]
+
[[:ja:quickguides:start|クイックガイド一覧に戻る]]
===== 概要 =====
===== 概要 =====
行 18:
行 18:
<WRAP center round info 60%>\\
<WRAP center round info 60%>\\
-
Since the release of [[https://pandorafms.com/blog/whats-new-pandora-fms-7-0/|version 7 NG in 2017]] the operating system used in the ISO image is CentOS 7. However at present due to the very good speed on the Internet (100 mbps or more) **it is recommended to make an** [[:en:documentation:02_installation:01_installing#installation_via_cloud_provider|online installation (cloud)]] and, once completed, [[:en:quickguides:general_quick_guide_cloud#first_steps|go to the monitoring starting point]].\\
+
At present, due to the very good speed on the Internet (100 mbps or more), **it is recommended to make an** [[:en:documentation:02_installation:01_installing#installation_via_cloud_provider|online installation (cloud)]] and, once completed, [[:en:quickguides:general_quick_guide_cloud#first_steps|go to the monitoring starting point]].\\
</WRAP>
</WRAP>
<WRAP center round info 60%>\\
<WRAP center round info 60%>\\
-
[[https://pandorafms.com/blog/whats-new-pandora-fms-7-0/|2017年のバージョン 7 NG]]のリリースから、ISO イメージで利用している OS は CentOS 7 です。しかしながら、現在のインターネット接続が高速(100Mbps以上)になっていることから、[[:ja:documentation:02_installation:01_installing#クラウドプロバイダ経由のインストール|オンラインインストオール(クラウド)]]を利用することをお勧めします。また、インストールが完了したら、[[:ja:quickguides:general_quick_guide_cloud#最初のステップ|最初のステップ]]へ行きます。
If you have access to the Internet, it is recommended that you perform the installation online using this useful tool.
-
The term “Cloud provider” (or simply “Cloud”) is used to describe the hosting of virtual machines, either exclusively or shared, in specialized providers with hardware, hypervisors and customer support web systems for configuration and administration.
This installation method is especially useful when the environment is hosted by cloud providers, although it is not exclusive to this type of environment.
The term "Cloud provider" (or simply "Cloud") is used to describe the hosting of virtual machines, either exclusively or shared, in specialized providers with hardware, hypervisors and customer support web systems for configuration and administration.
"クラウドプロバイダー" (または単に "クラウド") という用語は、ハードウェア、ハイパーバイザー、および構成と管理用のカスタマーサポート Web システムを備えた専用プロバイダーでの仮想マシンの排他的または共有のホスティングを表すために使用されます。
"クラウドプロバイダー" (または単に "クラウド") という用語は、ハードウェア、ハイパーバイザー、および構成と管理用のカスタマーサポート Web システムを備えた専用プロバイダーでの仮想マシンの排他的または共有のホスティングを表すために使用されます。
-
For any of them you can install Pandora FMS Community edition. **CentOS 7.x** is recommended as operating system, 4 gigabytes in RAM memory and 20 gigabytes in free disk space, preferably Solid State Drive (SSD).
+
For any of them you can install Pandora FMS Community edition. **Red Hat (RHEL) 8.x** is recommended as operating system, although it also has official compatibility with **RockyLinux 8.x**, **AlmaLinux 8.x** y **Centos 7.x**.
Access the command line as provided by your Cloud provider and execute:
+
The minimum hardware requirements for this installation are: 1 core, 2 gigabytes RAM and 20 gigabytes free disk, preferably of type //Solid State Drive// (SSD).
These requirements are the minimum installation requirements, to properly size the monitoring environment we recommend going to the [[:en:documentation:02_installation:01_installing#minimum_hardware_requirements|minimum hardware requirements section]].
More information can be found in the video tutorial «[[https://www.youtube.com/watch?v=hpKQC0YLtqI|How to install Pandora FMS in Cloud environments]]».
+
<WRAP center round tip 80%>
+
+
There is a similar online installation tool for the enterprise version of Pandora FMS that can be requested if you are already a user of this version through the support portal or [[https://pandorafms.com/en/free-trial/|through this link]] to get a free trial (demo).
In addition, an online installer is also available for [[:en:documentation:05_big_environments:05_satellite#online_installation_tool|Satellite server installation]].
**Custom installation using the online installation tool **
+
+
**オンラインインストールツールを使ったカスタムインストール**
+
+
Although the above execution makes a complete installation environment, it is possible to define different modifiers through environment variable to customize the installation.
* **TZ**: Defines the [[https://en.wikipedia.org/wiki/Time_zone|time zone]] of the machine, default is ''Europe/Madrid''.
+
* **DBHOST**: The host of the database, default is ''DBHOST=127.0.0.1'' .
+
* **DBNAME**: The name of the database to be created, default is ''DBNAME=pandora''.
+
* **DBUSER**: The user of the database to be created, default ''DBUSER=pandora'' .
+
* **DBPASS**: The password for the user to be created, default ''DBPASS=pandora''.
+
* **DBPORT**: Port number of the database to be connected, default ''DBPORT=3306''.
+
* **DBROOTPASS**: Password for the root user of the database, default ''DBROOTPASS=pandora''.
+
* **SKIP_PRECHECK**: Skip the check if a previous pandora installation already exists, useful to create a new database and point the installation to this one; by default ''SKIP_PRECHECK=0''.
+
* **SKIP_DATABASE_INSTALL**: Skip the database installation, useful for when you already have a database installed, either local or remote and you use the credentials of this one to create the Pandora FMS database; by default ''SKIP_DATABASE_INSTALL=0''.
+
* **SKIP_KERNEL_OPTIMIZATIONS**: Skip the recommended kernel optimization, only for advanced users. Default ''SKIP_KERNEL_OPTIMIZATIONS=0''.
+
* **MYVER**: Defines the MySQL version to be installed, if **80** is defined, MySQL 8 will be installed. By default ''MYVER=57'' (deploys MySQL 5.7).
+
* **PHPVER**: Defines the PHP version to install, if **8** is defined, PHP 8 will be installed. By default ''PHPVER=7'' (deploys PHP 7).
+
* **PANDORA_SERVER_PACKAGE**: Defines the URL of the RPM package of the Pandora FMS server you want to install. By default it is defined the last available version.
+
* **PANDORA_CONSOLE_PACKAGE**: Defines the URL of the RPM of the Pandora FMS Web Console you want to install. By default it is defined the last available version.
+
* **PANDORA_AGENT_PACKAGE**: Defines the URL of the RPM of the Pandora FMS Software agent you want to install. By default it is defined the last available version.
+
* **PANDORA_BETA**: If set to ''1'' the packages of the latest available beta version will be installed (only for test environments). By default ''PANDORA_BETA=0'' (//if specific packages are defined this option is ignored//).
To use these environment variables just define them before executing the installation script, for example, in an installation in **RHEL 8** with defined variables, execute the block:
sh -c "$(curl -fsSL https://pfms.me/deploy-pandora-el8)"
+
+
</code>
-
より詳細はビデオチュートリアル «[[https://www.youtube.com/watch?v=hpKQC0YLtqI|How to install Pandora FMS in Cloud environments]]» でもご覧いただけます。
==== 最初のステップ ====
==== 最初のステップ ====
行 145:
行 303:
<WRAP center round important 60%> Enterprise 版をインストールした ''pandora_server'' は、Enterprise 版のコンソールが有効になっていない段階では**起動させないことが重要**です。そうでないと失敗します。</WRAP>
<WRAP center round important 60%> Enterprise 版をインストールした ''pandora_server'' は、Enterprise 版のコンソールが有効になっていない段階では**起動させないことが重要**です。そうでないと失敗します。</WRAP>
-
More information can be found in the video tutorial [[https://www.youtube.com/watch?v=SNQULvPVmYM|«How to renew Pandora FMS License»]]. Once you access your Pandora FMS through the browser, you will be asked to enter a valid license:
+
More information can be found in the video tutorial [[https://www.youtube.com/watch?v=SNQULvPVmYM|«How to renew Pandora FMS License Online»]] or [[https://www.youtube.com/watch?v=tj2LpFtt1_Y|«Offline»]]. Once you access your Pandora FMS through the browser, you will be asked to enter a valid license:
<WRAP center round tip 60%>From version NG 754 onwards, [[:en:documentation:05_big_environments:07_server_management#manual_startupshutdown_for_pandora_fms_servers|additional options are available for manual startup and shutdown]] of High Availability (HA) environments.</WRAP>\\
+
<WRAP center round tip 60%>From version NG 754 onwards, [[:en:documentation:05_big_environments:07_server_management#manual_startupshutdown_for_pandora_fms_servers|additional options are available for manual startup and shutdown]] of High Availability (HA) environments.</WRAP> \\
<WRAP center round tip 60%>バージョン NG 754 以降では、高可用性(HA)環境の[[:ja:documentation:05_big_environments:07_server_management#pandora_fms_サーバの手動起動停止|手動起動・停止の追加のオプションがあります]]。</WRAP>\\
<WRAP center round tip 60%>バージョン NG 754 以降では、高可用性(HA)環境の[[:ja:documentation:05_big_environments:07_server_management#pandora_fms_サーバの手動起動停止|手動起動・停止の追加のオプションがあります]]。</WRAP>\\
行 442:
行 600:
</file>
</file>
-
==== Alert configuration ====
+
==== アラート設定 ====
As previously mentioned, Pandora FMS alerts are made up by three components: **command, action and template**. You can find these options in the **Alerts** section.
As previously mentioned, Pandora FMS alerts are made up by three components: **command, action and template**. You can find these options in the **Alerts** section.
The "inverse interval" box is used to define non-contiguous ranges. In this example, the module will switch to critical status if the value is below 20 or above 80:
The "inverse interval" box is used to define non-contiguous ranges. In this example, the module will switch to critical status if the value is below 20 or above 80:
In text string type modules, the threshold is defined as a substring. Likewise, it is possible to invert it to make the module go into critical if it **does not** have the substring as a parameter:
In text string type modules, the threshold is defined as a substring. Likewise, it is possible to invert it to make the module go into critical if it **does not** have the substring as a parameter:
Module configuration is highly flexible, with dozens of possibilities. Explore the Pandora FMS official documentation to learn more about all of those options.
Module configuration is highly flexible, with dozens of possibilities. Explore the Pandora FMS official documentation to learn more about all of those options.
-
===== Solving problems. Where to look and who to ask =====
==== Configuration files and sources for diagnostic information ====
+
===== 問題解決にはどこを見て誰に聞けばよいか =====
+
+
==== 設定ファイルと診断のための情報ソース ====
The main configuration files that you may need to modify/review are the following:
The main configuration files that you may need to modify/review are the following:
+
+
確認する必要があるメインの設定ファイルは以下の通りです。
* ''/etc/pandora/pandora_server.conf'': Pandora FMS sever main configuration file. If modify anything here, reboot the Pandora FMS server.
* ''/etc/pandora/pandora_server.conf'': Pandora FMS sever main configuration file. If modify anything here, reboot the Pandora FMS server.
行 808:
行 974:
* ''/etc/my.cnf'': Main MySQL configuration file.
* ''/etc/my.cnf'': Main MySQL configuration file.
* ''/var/www/html/pandora_console/include/config.php'': Pandora FMS console configuration file. During the installation it is auto-configured, but if you need to change any environment parameters (path, IP, user/password of MySQL, host of MySQL) modify it manually.
* ''/var/www/html/pandora_console/include/config.php'': Pandora FMS console configuration file. During the installation it is auto-configured, but if you need to change any environment parameters (path, IP, user/password of MySQL, host of MySQL) modify it manually.
Sources of information (logs) where you can find more info, errors, etc:
Sources of information (logs) where you can find more info, errors, etc:
+
+
エラーなどのより詳細な情報(ログ)は以下にあります。
* ''/var/log/pandora/pandora_server.log'': Server log file, which contains very important clues. If you need more details, modify the "verbosity" parameter of the server configuration file to see more details.
* ''/var/log/pandora/pandora_server.log'': Server log file, which contains very important clues. If you need more details, modify the "verbosity" parameter of the server configuration file to see more details.
<WRAP center round important 80%>For versions prior to **747**, Pandora Console log path will be \\ ''/var/www/html/pandora_console/pandora_console.log''</WRAP>
<WRAP center round important 80%>For versions prior to **747**, Pandora Console log path will be \\ ''/var/www/html/pandora_console/pandora_console.log''</WRAP>
+
+
<WRAP center round important 80%>バージョン **747** までは、Pandora コンソールのログは、''/var/www/pandora_console/pandora_console.log'' に出力されます。</WRAP>
If updating from **OUM** you will need to modify the **logrotate** [[:en:documentation:04_using:11_managing_and_administration#local_server_logs|file]].
If updating from **OUM** you will need to modify the **logrotate** [[:en:documentation:04_using:11_managing_and_administration#local_server_logs|file]].