Configuration Files and Diagnosis Information Sources
the main configuration files you may need to modify or check are the following:
/etc/pandora/pandora_server.conf
: Main Pandora FMS server configuration file. If you modify something there, you will have to restart Pandora FMS server./etc/pandora/pandora_agent.conf
: Main Pandora FMS software agent configuration file in Unix. If you modify something there, you will have to restart Pandora FMS agent.%ProgramFiles%\pandora_agent\pandora_agent.conf
: Pandora FMS software agent main configuration file in Windows. If you modify something there, you will have to restart Pandora FMS agent service./etc/my.cnf
: Main MySQL server configuration file./var/www/html/pandora_console/include/config.php
: Pandora FMS console configuration file. It is auto-configured in the installation, but if some environment parameter changed (path, IP, MySQL user/password, MySQL host) you will have to modify it manually.
Information sources (logs) where you may look for more information, bugs, etc.:
/var/log/pandora/pandora_server.log
: Server log file, which contains very important clues. If you wish to have more details, modify the verbosity parameter in the server configuration file to show more details./var/log/pandora/pandora_server.error
: Server non-captured bug file, it contains traces of errors and exceptions nor handled by the server./var/log/pandora/pandora_agent.log
: Unix agent log file.%PROGRAM_FILES%\pandora_agent\pandora_agent.log
: Windows® agent log file./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 shows kernel warnings.
/var/log/pandora/pandora_snmptrap.log
: SNMP trap log. If there is any error in the SNMP trap console booting, it may show bug traces./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 from some directories:
/var/spool/pandora/data_in/
must be frompandora:apache
with permissions755
./var/log/pandora/
must be frompandora:root
with permissions755
./var/www/html/pandora_console/include/config.php
must be fromapache:apache
with permissions600
.
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 logrotate file must be modified.