Skip to main content

Server Configuration

For the correct operation of the command command email  you must configure in the file file pandora_server.conf  a mail server that allows to make make relay.

In the example, the mail server located in our local host (localhost) using using Postfix  . You must put the IP address of the local mail server, or one on the Internet (configuring authentication for it).

To modify the server configuration file, you must access to él, located in in /etc/pandora/pandora_server.conf  as user user root  elevating its privileges by means of the command command sudo su. You are the only  only responsible  for that key.

guiarapida_mailconf02.png

To edit such a configuration file in this example, the program program vim is used. You can get more information in the tutorial video«File editing with VIM».

Look for the lines seen in the screenshot below and set those values. If you do not have a mail server, you can use for example a Gmail® account. You can see a quick guide on how to configure the Pandora FMS server to work with a Gmail® account in the following link:  Configuration of email alerts.

Lines beginning with the #  character are comments and are not taken into account by the server.

guíaapida_mailconf03.png

Once the changes are made press ESC and and :wq  to save the changes and exit. Once you are in the command line, restart the Pandora FMS server:

/etc/init.d/pandora_server restart

.