Database Management from the Console
The core of Pandora FMS system is its database.
It stores all the data collected by the monitored systems, agent configurations, alerts, events, audit data, different users and their information. In other words, all system data.
There are several extensions you can use from the web Console to view information about the database. Some of them are described here.
Diagnostic info
Menu Management → Admin tools → Diagnostic info.
In this section you can view the general information of the Pandora FMS installation.
It may take a few moments to load all the information. Then it will show the following sections:
- Info status Pandora FMS: With the installed versions, access link to the Console and basic license information.
- PHP setup: Installed PHP language version and the values set for execution time, timeout and memory management.
- Database size stats: Basic database information and its usage with PFMS.
- Database health status: It contains, among other values, the latest execution of the script pandora_db.
- Database status info: Installed database version.
- System Info: Information about the hardware and operating system hosting the Web Console.
- MySQL Performance metrics: A series of recommended values are shown and compared with the configured ones. Validated values are denoted with green icons, items that need some correction are shown with red icons.
- Tables fragmentation in the Pandora FMS database: Analyzes table fragmentation so it stays below the recommended percentage (10% by default).
- Pandora FMS logs dates: Size of the record files or logs.
- Pandora FMS Licence Information: Extended information of the used license.
- Status of the attachment folder: Total number of files in the attachments directory.
- Information from the tagente_datos table: Special table with agent data and information, its size must be constantly monitored.
- Pandora FMS server threads: Threads used for the different PFMS servers.
- Date system: Date and time of the Web Console (which can be different from the database date and time).
At the end, in addition, the graphs of the modules that represent the self-monitoring of the PFMS Server will be shown.
DB Interface
Management → Admin tools → DB Interface menu.
It is an extension that allows you to execute commands on the database and view the results. This is an advanced tool that should only be used by people who are familiar with SQL and the Pandora FMS database schema in sufficient detail. It is reserved for users of type superadmin.
Improper use of this tool can destroy data or render the application permanently inoperable. It should be used with caution.
DB Schema Check
Menu Management → Admin tools → DB Schema check.
This extension allows you to check for structural differences between the Pandora FMS database and a reference schema to compare potential errors. It is recommended to use this extension to verify if a database migration has been performed correctly.
This check can only be performed on MySQL databases. The user must have privileges for the SELECT, DROP, CREATE, and REFERENCES commands.
- DB User with privileges:
root. - DB Password for this user:
pandoraorPandor4!. - DB Hostname:
localhost. - DB Name (testing purposes only; temporary):
db_test.
Steps taken during the check:
- A temporary database is created with the structure the installation database should have (different depending on the installed version).
- The schema of the created database is compared with the database schema referenced in the installation.
- The temporary database is deleted.
- The results are displayed, and if something is incorrect, messages with instructions will be shown to bring the database to its correct structure.

