Configuration files and diagnostic information sources

The main configuration files that we may need to modify or review are the following: 

 

 /etc/pandora/pandora_server.conf : Main configuration file of the Pandora FMS server. If you modify something there, you will have to restart the Pandora FMS server. 

 /etc/pandora/pandora_agent.conf : Main configuration file of the Pandora FMS EndPoint on Unix. If you modify something there, you will have to restart the Pandora FMS agent. 

 %ProgramFiles%\pandora_agent\pandora_agent.conf : Main configuration file of the Pandora FMS EndPoint on Windows. If you modify something there, you will have to restart the Pandora FMS agent service. 

 /etc/my.cnf : MySQL main configuration file. 

 /var/www/html/pandora_console/include/config.php : Pandora FMS console configuration file. During the installation it configures itself, but if you have changed any environment parameter (path, IP, MySQL user/password, MySQL host) you will have to modify it manually. 

 

 Information sources (logs) where we can search for more information, errors, etc.: 

 

 /var/log/pandora/pandora_server.log: Server log file, contains very important clues. If you want more detail, modify the verbosity parameter of the server configuration file so that it shows more detail. 

 /var/log/pandora/pandora_server.error : Log file of uncaught server errors, contains traces of errors and exceptions not handled by the server. 

 /var/log/pandora/pandora_agent.log : Unix agent log file. 

 %PROGRAM_FILES%\pandora_agent\pandora_agent.log : Agent log file on Windows®. 

 /var/www/html/pandora_console/log/console.log : Pandora FMS console log file. 

 /var/log/httpd/error_log : Apache server error log file (httpd). 

 /var/log/messages : System log file. 

 dmesg : Command that displays kernel warnings. 

 /var/log/pandora/pandora_snmptrap.log : SNMP trap log. If there is any error in booting the SNMP trap console it may show error traces there. 

 /var/log/mysqld.log : MySQL log. 

 /var/log/pandora/web_socket.log : WebSocket log. 

 /var/www/html/pandora_console/log/cron.log : cron log. 

 

 Permissions of some directories: 

 

 /var/spool/pandora/data_in/ Must be from pandora:apache with permissions 755. 

 /var/log/pandora/ Must be from pandora:root with permissions 755. 

 /var/www/html/pandora_console/include/config.php must be from apache:apache with permissions 600 . 

 

 In versions prior to 747, the console log storage path is: /var/www/html/pandora_console/pandora_console.log 

 In case of updating by OUM, the corresponding achievement file must be modified.