# Pre requisites

**INSTALL THE PANDORA FMS CENTRAL SERVER**

To install the Pandora FMS Mainframe Server, decompress the tar file:

```bash
tar zxvf pandorafms_mf_server-X.Y.tar.gz && cd mf_server
```

Then run the installer as root:

```bash
./mf_server_installer --install
```

Edit the configuration file */etc/pandora/mf\_server.conf*, set the server\_ip, and customize the rest of the parameters according to your needs.

**Configuration options for mf\_server.conf**

- **agent\_conf\_dir:** Directory where the agent configuration files are stored.
- **group:** Group where the agents will be placed (must already exist in the Pandora FMS console).
- **agent\_interval:** Agent interval (shared by all agents).
- **conf\_interval:** Interval for checking remote configuration.
- **daemon:** Run in background if set to 1.
- **log\_file:** Server log file.
- **module\_interval:** Module execution interval (shared by all modules).
- **module\_threads:** Number of threads for module execution.
- **pandora\_license:** Pandora FMS Enterprise license.
- **remote\_config:** Enable (1) or disable (0) remote configuration.
- **server\_ip:** Tentacle server address.
- **server\_path:** Path where XML files are copied (used if transfer mode is set to local).
- **server\_port:** Tentacle server port.
- **temporal:** Temporary directory where XML files are created.
- **tentacle\_client:** Full path to the Tentacle client.
- **timeout:** Timeout for HTTP GET requests in seconds.
- **transfer\_mode:** Transfer mode. Only *tentacle* and *local* are supported.
- **xml\_buffer:** Enable (1) or disable (0) XML buffer.
- **temporal\_min\_size:** Minimum available bytes in the temporary directory required to enable the XML buffer.

**INSTALL THE PANDORA FMS Z/OS CONSOLE EXTENSION**

To install the Z/OS console extension, run the following command from the *mf\_server* directory:

```bash
cp -r ./extensions/* /var/www/pandora_console/enterprise/extensions/
```

If your Pandora FMS console is installed in a different path, adjust the command accordingly.