Installing
Pandora FMS Console and Server Installation
What operating systems does Pandora FMS run on?
Pandora FMS requires Linux for the server and the console. It is not officially supported on MS Windows® or any other operating system.
Monitoring agents are supported for any platform:
- Microsoft Windows® (all versions from Windows NT4 to the latest Windows 11).
- Different GNU/Linux distributions (Debian, RedHat, Fedora, Centos, Mint, SUSE, etc.).
- Unix® (Solaris®, HPUX, AIX, BSD, etc.).
- There is also an agent for Android devices.
Minimum hardware requirements
The requirements set out in this table are the minimum recommendations for different installations. These recommendations are calculated assuming that 80% of the modules have historical data and the average sampling time is 5 minutes. These recommendations are specified for an environment where they are installed in the same database server, server and console.
| Hardware | SMALL: up to 5.000 modules | MEDIUM: up to 15.000 modules | BIG*: up to 30.000 modules | Extra BIG*: up to 80.000 modules |
|---|---|---|---|---|
| CPU | 2 core at 2 GHz | 4 cores at 2,5 GHz | 6 cores at 3 GHz | 10 cores at 3 GHz |
| RAM | 4 GB | 8 GB | 16 GB | 32 GB |
| Hard drive | 7200 rpm | 15K rpm or SSD | SSD | SSD |
| Disk Space | 40GB minimum 60GB recommended | 60GB minimum 150GB recommended | 120GB minimum 250GB recommended | 250GB minimum 400GB recommended |
These are approximative values and they take as reference an environment with hybrid monitoring (software agent and remote) with a 5-minute dfault intervale and default atastorage. Should those values be alterend, the requirements could change.
* * For environments exceeding 80 thousand metrics, a distributed monitoring system using multiple nodes should be chosen.
(*) In the case of requiring higher performance per node, there is the possibility to deploy the database on another instance or even configure the node to connect to an xtradb database cluster.
In case you install Pandora FMS in a virtual environment, make sure to assign an independent disk with reserved space and high access speed. It is recommended to use SSD hard drives , due to their high impact on performance improvement.
Minimum software requirements
| Software | Requirements | |
|---|---|---|
| Operating System | RedHat Enterprise (RHEL) 8 (recommended). Rocky Linux 8. RedHat Enterprise (RHEL) 7.X (Enterprise version only). CentOS 7.X. Ubuntu Server 22.04 (version 766 or later): in the Enterprise version only for stand alone nodes, Metaconsole environments must be fully installed on RHEL 8 / Rocky Linux 8 (recommended) or, failing that, RHEL 7 or CentOS 7. |
|
| Windows Server (2003 or higher) SLES 11 SP1 or higher OpenSUSE 11.X or higher Debian 5, 6, 7 or higher Ubuntu Server 21 or earlier Ubuntu Desktop FreeBSD 9.X or higher Solaris 10/OpenSolaris | Pandora FMS does not give official support in these platforms | |
| Permissions | Server Pandora FMS Server service must be executed with root permissions. Execution as non-root user is possible, being a special and different procedure. Find out more information in this link. Console To be able to use the console from any web browser, Apache must have reading and executing permissions on the console files. Additionally, the config.php file must have the 600 permissions (read and write for administrator/root). It is necessary to have writing permissions in the server directory: /var/spool/pandora/. Agent -Linux®: The Pandora FMS Server Software Agent must be executed with root permissions in order to have all the agent features available, although it is also possible to execute it with other permissions. -Windows®: Pandora FMS Server Software Agent must be executed with administrator permissions. |
|
| Console | PHP 8 → For Pandora FMS version 760 or later (Since version 766, PHP 8 by default). PHP 7.4 → For Pandora FMS from version 759 to 767. PHP 7.2 → For Pandora FMS from version 729 to 758. PHP 5 → For Pandora FMS version 728 or older. |
|
| Browsers | Microsoft Edge® Opera web browser® Google Chrome® Mozilla Firefox® |
|
| Mozilla Firefox® and Google Chrome® are recommended to make use of interactive graphs and network maps. | ||
For Pandora FMS (at server level) the term EL8 is used to name the set of recommended operating systems, which consists of Rocky Linux 8™, AlmaLinux 8® and RedHat 8®.
Database requisites
| BBDD | Details |
|---|---|
| MySQL Standard | Version 5.7 by default, from version 760 onwards has support for MySQL version 8. For standard installations, a user with creating privileges in pandora DB is required. In case of not having this user, manual installation can be performed. |
| Percona Server for MySQL | Percona Server for MySQL installation is recommended for large Pandora FMS environments where more than 4000 agents must be created. Version 5.7 by default, from version 760 onwards it has support for MySQL version 8. For standard installations, a user with creating privileges in pandora DB is required. In case of not having this user, it will be possible to carry out manual installation. |
Satellite Server Requirements
| Satellite | Details |
|---|---|
| Hardware | Similarly to Pandora FMS installation, the hardware requirements of the system that will host the satellite server will depend on the monitoring volume to be managed. For environments with less than 1000 agents, a minimum of 1 core at 2GHz and 1 GB of RAM is recommended. |
| Dependencies | The main dependencies are: fping nmap perl wmic (NG 761 and earlier). pandorawmic (NG 762 version or later). |
| Binaries | The main dependencies are: Linux® 32 Bits Linux® 64 Bits Windows® 32 Bits Windows® 64 Bits Raspberry Pi OS |
Port requirements
| Port | Protocol | Service/Process | Descripction | Address |
|---|---|---|---|---|
| 80 | TCP | Pandora FMS Console | IP management | Browser → Pandora FMS Console Server |
| 80 | TCP | Pandora FMS Console (API Communication) | Use of API/CLI feature | Browser/Server that starts the query → Pandora FMS Console Server |
| 80 | TCP | Metaconsole | Communication between Metaconsole and Nodes | Metaconsole server → Node Server Node Server → Metaconsole server |
| 162 | UDP | Pandora FMS Server | Trap reception | Trap generator device → Pandora FMS Server |
| 443 | TCP | Pandora FMS Console (API Communication) | Use of API/CLI feature | Browser/Server that starts the query → Pandora FMS Console Server |
| 443 | TCP | Metaconsole | Communication between Metaconsole and Nodes | Metaconsole server → Node server Node server → Metaconsole server |
| 3306 | TCP | Pandora FMS Console and Server | DB connection | Pandora FMS Console Server → Pandora FMS Database Server Pandora FMS Server → Pandora FMS Database Server |
| 3306 | TCP | Metaconsole | Communication between Metaconsole and DB Nodes | Metaconsole server → DB Nodes Server Node Server → Metaconsole BBDD Server |
| 4444 | TCP | Pandora FMS Server | Connection with Selenium GRID | Pandora FMS Server → Selenium Server |
| 9995 | UDP | Pandora FMS Server | Receiving Netflow probes | nfcapd Server → Pandora FMS Server |
| 9200 | TCP | Pandora FMS Console and Server | Log storage management with Elasticsearch | Elasticsearch Server → Pandora FMS Server |
| 41121 | TCP | Pandora FMS Agents | Tentacle Communication | Software Agent Server Agent → Pandora FMS Server |
| It is recommended to make communication from Pandora FMS server and console to the whole network easier. For standard monitoring you should need at least: | ||||
| 80 | TCP | Pandora FMS Server | Web monitoring for WUX server | Pandora FMS Server → Server to monitor |
| 161 | UDP | Pandora FMS Console and Server | Monitoring via SNMP Polling | Pandora FMS Server → Server to monitor |
| 443 | TCP | Pandora FMS Server | Web monitoring for WUX server | Pandora FMS Server → Server to monitor |
| ICMP | ICMP | Console and Pandora FMS Server | Web monitoring for WUX server | Pandora FMS Server → Server to monitor |
Package Dependencies
Pandora FMS has a strong dependency on the Linux® Operating System, but it also needs additional packages which, in many cases, are not installed by default.
Issues prior to Installation
MySQL
You will need a MySQL Server installed before installing Pandora FMS. If you are installing MySQL Server at the same time as Pandora FMS, remember that you need to set up the root user for MySQL:
- Start MySQL Server daemon by systemd:
systemctl start mysql. Alternatively, you may use:/etc/init.d/mysql start. - Configure the root password for MySQL root user:
mysqladmin password <password>. The system will ask for this password throughout the entire Pandora FMS installation process.
Pandora FMS Installation Order
- Install console
- Install server
The reason for this is that MySQL database is configured during the initial configuration phase of the console installation. To ensure the correct working of the server, it is recommended to conduct the whole console installation process first.
It is also possible to host Pandora FMS Server and console in different machines. It is possible to indicate both where MySQL database is through the corresponding configuration file, although in Enterprise environments when carrying out a distributed installation you should take into account more factors for installation.
Regarding the agent: You may install it before or after installing the server and console, because the agent works independently and it may be installed on any machine.
Installing Pandora FMS Enterprise Version
The correct order for an Enterprise installation is as follows:
- Install the open-source console.
- Install the Enterprise Console.
- Install the Enterprise Server.
- When accessing the console, a box will appear requiring you to enter your Enterprise license code.
Validation of the license is only done in the console. Not in the server.
Enterprise Alternative Server packages
You may also choose to download and install the Enterprise version in a novel alternate package.
It is a set of binary files available in .tar.gz and .rpm format, it is a binary compilation different from the usual one.
It has as advantages the implementation of the encrypted connection to the MySQL® database as well as the option to use MS SQL Server®.
From the technical support section you may request access to this resource.
Online installation tool
If you have access to the Internet, it is recommended for you to perform the installation online using this useful tool.
Monolith environment Pandora FMS (server/console/database)
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.
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, Ubuntu Server 22.04 and Centos 7.x.
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 minimum hardware requirements section.
Requirements for the use of the online installation tool
- Internet access (specific URL's). In addition to these URLs, it is necessary to have access to the official repositories of the distribution used (RHEL / Rocky Linux / CentOS / Ubuntu).
- Have curl installed (it comes by default in most distributions)
- Be an administrator user root.
- Have a compatible OS.
- In the case of using RHEL 8, it will be necessary to be previously activated with a license and subscribed to the standard repositories.
To use the online installation tool, just access the command line as provided by your Cloud provider as root administrator user and run:
For RHEL 8.x and Rocky Linux 8.x:
curl -sSL https://pfms.me/deploy-pandora-el8 | bash
For Ubuntu Server 22.04:
curl -SsL https://pfms.me/deploy-pandora-ubuntu | bash
There is a similar online installation tool for the Pandora FMS Enterprise version that can be requested if you are already a user of this version through the support portal or through this link to get a free trial (demo).
In addition, an online installer is also available for Satellite server installation.
With this execution, the whole Pandora FMS stack will be installed, getting a fully functional instance ready to start monitoring.
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.
Custom parameters for RHEL 8.x and Rocky Linux 8.x
- TZ: Defines the 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=80(deploys MySQL 8.0). - PHPVER: Defines the PHP version to install, by default
PHPVER=8(deploys PHP 8). - 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
1the packages of the latest available beta version will be installed (only for test environments). By defaultPANDORA_BETA=0(if specific packages are defined this option is ignored). - PANDORA_LTS: It installs the latest Long Term Support (LTS) version, a maximum stability version that incorporates major bug fixes. By default active (
PANDORA_LTS=1), if set to zero it installs the latest Regular Rolling Release (RRR).
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:
env TZ='Europe/Madrid' \ DBHOST='127.0.0.1' \ DBNAME='pandora' \ DBUSER='pandora' \ DBPASS='pandora' \ DBPORT='3306' \ DBROOTPASS='pandora' \ MYVER=80 \ PHPVER=8 \ SKIP_PRECHECK=0 \ SKIP_DATABASE_INSTALL=0 \ SKIP_KERNEL_OPTIMIZATIONS=0 \ PANDORA_SERVER_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_server-7.0NG.noarch.rpm" \ PANDORA_CONSOLE_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_console-7.0NG.noarch.rpm" \ PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/RHEL_CentOS/pandorafms_agent_linux-7.0NG.noarch.rpm" \ PANDORA_BETA=0 \ PANDORA_LTS=1 \ sh -c "$(curl -fsSL https://pfms.me/deploy-pandora-el8)"
Custom parameters for Ubuntu Server 22.04
- TZ: It defines the time zone of the machine, by default
Europe/Madrid. - PHPVER: It defines the PHP version to install. By default
PHPVER=8(installs PHP 8). - DBHOST: The host of the database, by default
DBHOST=127.0.0.1. - DBNAME: The name of the database to be created, by default
DBNAME=pandora. - DBUSER: The user of the database to be created, by default
DBUSER=pandora. - DBPASS: The password for the user to be created, by default
DBPASS=pandora. - DBPORT: Port number of the database to be connected, by default
DBPORT=3306. - DBROOTPASS: Password for the database root user, by default
DBROOTPASS=pandora. - SKIP_PRECHECK: Skip the check if a previous Pandora FMS 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 its credentials 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. - POOL_SIZE: It specifies a memory value to be used, by default it is done automatically.
- PANDORA_BETA: If set to
1, the packages of the latest beta version available will be installed (only for test environments). By defaultPANDORA_BETA=0. - PANDORA_LTS: It installs the latest Long Term Support (LTS) version, a maximum stability version that incorporates major bug fixes. By default active (
PANDORA_LTS=1), if set to zero it installs the latest Regular Rolling Release (RRR).
To use these environment variables just define them before executing the installation script, for example, in an installation in Ubuntu Server 22.04 with defined variables, execute the block:
env TZ='Europe/Madrid' \ DBHOST='127.0.0.1' \ DBNAME='pandora' \ DBUSER='pandora' \ DBPASS='pandora' \ DBPORT='3306' \ DBROOTPASS='pandora' \ PHPVER='8.0' \ SKIP_PRECHECK=0 \ SKIP_DATABASE_INSTALL=0 \ SKIP_KERNEL_OPTIMIZATIONS=0 \ PANDORA_BETA=0 \ PANDORA_LTS=1 \ bash -c "$(curl -SsL https://pfms.me/deploy-pandora-ubuntu)"
Installing Pandora FMS with an external database
NG 765 version or later.
In case you have a powerful exclusive server to host the database (DB) for Pandora FMS, there is another customization for the online installation.
First you must consider, roughly, how you should plan the installation so that both the PFMS server and your Web Console (PANDORA FMS SERVER+CONSOLE) connect to a remote database (DB):
- Connect to the server hosting the database engine, take exact note of its URL or its IP address (DBHOST).
- The default port number (DBPORT) is
3306, please note it if you use a different one. - Create the database, write down exactly the name used (it is recommended to use
pandoraas DBNAME). - Create the user to be used to connect to the database (it is recommended to use
pandoraas DBUSER). - Assign a password for the user created in the previous step (DBPASS).
To comply with Pandora FMS Security Architecture, use a different password than the default one.
- Assign all permissions to the created database to the created user.
To comply with Pandora FMS Security Architecture, set limit the connection to the IP address or URL of the future PFMS server and to the created user. This will guarantee that, if the passwords are compromised, they will be useless if they are used from a device different from the PFMS server to be created.
- Once all of this is set, make a test connection through shell from the future PFMS server to the created database, this will ensure that there is verified communication and it is ready to work.
- The installation parameter that allows connecting to a remote database during online installation is SKIP_DATABASE_INSTALL and its value must be set to
1. - Proceed to the actual installation with the online installation tool. A simplified example with default values is shown below (always remember to use a user password different from the default one).
env \ DBHOST='192.168.1.107' \ DBNAME='pandora' \ DBUSER='pandora' \ DBPASS='pandora' \ DBPORT='3306' \ SKIP_DATABASE_INSTALL=1 \ sh -c "$(curl -fsSL https://pfms.me/deploy-pandora-el8)"
Pandora FMS Software Agent online installation
To install only the Software Agent there is also a online installation tool through the BASH command:
- It supports Red Hat base OS (Fedora, Centos, etc.) and Debian (Ubuntu, Devuan, Lubuntu, etc.).
- Available in MS Windows® through the PowerShell® technology.
For GNU/Linux
Requirements for the use of the online installation tool:
- Internet access.
- Have curl installed (it comes by default in most distributions).
- Be an administrator root user.
- Have a supported OS.
The script support a series of environment variables to customize the installation. Just one of it is mandatory: $PANDORA_SERVER_IP, so to perform a standard installation in one line just execute:
export PANDORA_SERVER_IP=<PandoraServer IP or FQDN> && curl -Ls https://pfms.me/agent-deploy | bash
This environment variables are used just for the installation process, they can be destroyed or changed after installation without altering Pandora FMS Software Agent performance.
Optionally, it is possible to use another env variables to customize the installation:
- $PANDORA_REMOTE_CONFIG: Configure the remote config setting -
0by default (disabled). - $PANDORA_AGENT_NAME: Configure the agent name setting - autogenerated by default.
- $PANDORA_AGENT_ALIAS: Configure the agent alias setting - hostname by default.
- $PANDORA_GROUP: Configure the agent group setting -
Serversby default. - $PANDORA_SECONDARY_GROUPS: Configure the agent secondary groups setting - Empty by default.
- $PANDORA_DEBUG: Configure the debug setting -
0by default (disabled). - $TIMEZONE : Configure the system timezone.
- $PANDORA_AGENT_SSL: It allows to configure the encrypted communications between the Software Agent and the corresponding PFMS server. By default not enabled (
no), to enable it useyes(this will also install the software dependencies to encrypt such communications). Use single quotes to delimit the value, see example below:
env \ PANDORA_SERVER_IP='192.168.10.245' \ PANDORA_REMOTE_CONFIG=1 \ PANDORA_AGENT_NAME='pandora_agent_name' \ PANDORA_AGENT_ALIAS='pandora_AGENT_ALIAS' \ PANDORA_GROUP='Servers' \ PANDORA_SECONDARY_GROUPS='VMware,Web' \ PANDORA_AGENT_SSL='yes' \ curl -Ls https://pfms.me/agent-deploy | bash
Please note that in order to encrypt communications through the Tentacle protocol between software agents and their corresponding PFMS servers, SSL certificates and keys are required. Visit the “Communication Encryption” section in the Tentacle protocol technical reference.
For MS Windows
Requirements for the use of the online installation tool:
- Internet access.
- Have powershell installed.
Execute the following commands in a terminal window with Powershell and with administrator permissions:
Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/latest/Windows/Pandora%20FMS%20Windows%20Agent%20v7.0NG.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1
Afterwards:
NET START PandoraFMSAgent
Package installation
This section is referential as it saves time and effort when using the online installation tool. It is strongly recommended to use this option to install the PFMS server.
Installation by packages in RHEL 7/8
Pandora FMS installation at RHEL 7 and RHEL 8 systems is an Enterprise service. You may check how to perform the installation in these systems contacting your salesparson or filling in the following contact form.
Installation under docker
This resource is only intended for testing, learning and even pre-production environments.
We have an entry in the docker hub website explaining step by step how to build a Pandora FMS stack, now based on Rocky Linux™ 8, in the following link:
Installation is also possible through a yaml file, as a quick installation method. The following explains how to perform this deployment via docker-compose.
First, you need to have installed in your system Docker and Docker Compose. Read the official installation documentation at:
https://docs.docker.com/get-docker/
Once installed, use the yaml file from the official Pandora FMS repository:
mkdir $HOME/pandorafms; cd $HOME/pandorafms wget https://raw.githubusercontent.com/pandorafms/pandorafms/develop/extras/docker/centos8/docker-compose.yml docker-compose -f $HOME/pandorafms/docker-compose.yml up
Wait a few seconds for the download and configuration of the environment. You may access Pandora FMS console from the URL:
http://127.0.0.1:8080/pandora_console
Use admin as user and pandora as password.
Uninstalling Pandora FMS
Uninstalling Pandora FMS on CentOS or RHEL
Just execute the command:
yum remove pandorafms_console pandorafms_server
If you uninstall version 761 or later:
yum remove pandorawmic
If you have installed MySQL and no longer need it, you can delete it in a similar way:
yum remove Percona-Server*
Custom Installation
Manual Installation from Sources under Linux / UNIX / MAC OS
It will be necessary to install all dependencies installed depending of the OS, and then download the files in tarball format (.tar.gz,.tgz or .tar.bz2) and unzip them. To do it, locate the latest version of Pandora FMS and download the files from here:
Console Installation
Once you have opened the console zip file, follow these steps:
1. Acquire root privileges by entering:
su -
2. Copy to /tmp and execute:
tar xvzf pandorafms_console-X.Y.tar.gz cd pandora_console ./pandora_console_install --install
Server Installation
Once you have opened the server zip file named
pandorafms_server-7.0NG.7xx.tar.gz
or similar, follow the steps described below:
1. Acquire root privileges. You are the only one responsible for said key:
su -
2. Copy it to a directory where you can unzip the file (in this example /tmp y used again) and execute:
tar xvzf pandorafms_server-7.0NG.7xx.tar.gz cd pandora_server ./pandora_server_installer --install
If you experience any dependency-related problems, fix them before attempting any installation. It might be possible to force the installation and ignore the problems with the dependencies, but Pandora FMS will not work properly in that case.
Server Manual Installation (from source code)
Alternatively to the general installation script, you can “compile” the Pandora FMS code through the Perl interpreter of your system. This process simply installs the minimum libraries and executables, but does not alter the boot script system, maintenance scripts, configuration or anything else that strictly concerns the application and its libraries. This process is recommended when the server code must be updated, but without overwriting its configuration.
To do it properly, unzip your server code to /tmp, as described in the previous step.
1. Acquire root privileges. You are the only one responsible for that key:
su -
2. Copy it to the directory where you are unzipping files (/tmp in this example) and once there, execute:
tar xvzf pandorafms_server-X.Y.tar.gz cd pandora_server perl Makefile.PL make make install
If any dependency is missing or there is another problem, the system will warn you. If you see a message similar to:
Warning: prerequisiete Mail::Sendmail 0 not found Warning: prerequisiete Net::Traceroute::PurePerl 0 not found
It means that there are some Perl packages that Pandora FMS needs and that the system does not have them installed. Check the previous paragraphs to know how to install the necessary dependencies to be able to install Pandora FMS. However, you can temporarily ignore these warnings (that is why they are warnings and not errors) and force the installation. But you will surely have problems at one time or another since you are missing a component needed to function. However, if you know that the component that is not installed will not be used (e. g. traceroute is used exclusively for Pandora FMS Recon Server), you can continue without any problem.
After this process, these files are automatically copied:
/usr/local/bin/pandora_server /usr/local/bin/pandora_exec
And several .pm files (Perl libraries) that Pandora FMS needs. Those .pm libraries are copied to different directories, depending on the version of your distribution and distribution. Examples:
/usr/local/share/perl/5.10.0/PandoraFMS/
/usr/lib/perl5/site_perl/5.10.0/PandoraFMS/
Installing the Enterprise Version
To install the Enterprise version of Pandora FMS, install the packages Open of the Console and Server, and then add the packages Enterprise of each one. In the case of the Console use one package or another, depending on the installed distribution.
Enterprise Console Installation
To install the Enterprise Console by using the source code:
Once you have opened the console and arrived at the location of the compressed file named pandorafms_console_enterprise-X.X.tar.gz or similar, follow the steps mentioned bellow:
1. Acquire root privileges by entering:
su -
2. Copy it to a directory where you can unzip de file /tmp and then execute:
tar xvzf pandorafms_console-X.Xtar.gz
3. Later, copy it to the directory in which your Pandora FMS open-source console is installed.
cp -R enterprise /var/www/html/pandora_console
4. Just change the permissions in case the files are intended to get used by the web server user, e.g.:
chown -R apache /var/www/html/pandora_console/enterprise
Enterprise Server Installation
We are working on a beta version that will include upgrades in the Enterprise server. From 738 version on, it is advised to use Pandora FMS Enterprise server version E7. Version E6 should only be used in case of compatibility issues.
First, make sure the Open version of the server is installed. Then proceed to install the enterprise version in order to install the Enterprise Server.
Once you have the zip file with the server, named pandorafms_server_enterprise-X.X.tar.gz or similar, follow the steps mentioned below:
1. Acquire root privileges. You are the only one responsible for that key:
su -
2. Copy it to the directory where to unzip the files (/tmp in this example) and execute:
tar xvzf pandorafms_server_enterprise-X.X.tar.gz cd pandora_server/ # ./pandora_server_installer --install
If Pandora FMS Server Binary is not contained in the default directory /usr/bin, indicate the directory as follows:
# PREFIX=/usr/local ./pandora_server_installer --install
After installing, restart the server
/etc/init.d/pandora_server restart
Do not restart the server until Pandora FMS Enterprise license key installation is completed, otherwise the server will not start and your monitoring service will be interrupted.
From version NG 754 onwards, additional options are available for manual startup and shutdown of High Availability (HA) environments.
Then, the Enterprise Servers will be shown as enabled.
Installing on a different path
To install the Pandora FMS Server on a different path use this option:
./pandora_server_installer --install --destdir <path>
After the installation, configure the Pandora FMS server manually to run at startup and configure the database maintenance script, pandora_db, to run periodically. For example, on Linux (replace <destdir> with the actual path passed to destdir):
ln -s <destdir>/etc/init.d/pandora_server /etc/init.d/ echo "\"<destdir>/usr/share/pandora_server/util/pandora_db\" \ \"<destdir>/etc/pandora/pandora_server.conf\">/dev/null 2>&1"> /etc/cron.hourly/pandora_db
Installing with a non-privileged user
To install Pandora FMS server with a non-privileged user, launch the following command with the user you want to install.
./pandora_server_installer --install --no-root --destdir /opt/pandora
This user must have writing permissions on the path that is passed to destdir.
Pandora FMS Agent Installation
For online installation of Pandora FMS Software Agent go to “Pandora FMS Software Agent online installation”.