/support_debug_archive

Download a zipped archive with the platform's informations and logs to identify issues easier

Primary LanguagePHP

Support debug archive tool

Download a zipped archive with the platform's informations and logs to identify issues easier (can take more than 5 min to generate).

How to install ?

  1. Clone this repository on to your centreon central server :
  • git clone https://github.com/ykacherCentreon/support_debug_archive.git ~/support_debug_archive
  1. Backup the content of /usr/share/centreon/www/include/Administration/parameters/debug :
  • cp -r /usr/share/centreon/www/include/Administration/parameters/debug{,.origin}
  1. Copy all the files from this repo in /usr/share/centreon/www/include/Administration/parameters/debug :
  • /bin/cp ~/support_debug_archive/* /usr/share/centreon/www/include/Administration/parameters/debug
  1. Change the ProxyTimeout setting of apache to 1000 in the configuration file :
  • Path for RHEL : /etc/httpd/conf.d/10-centreon.conf
  • Path for Debian : /etc/apache2/sites-available/centreon.conf
  1. Enjoy in Administration > Parameters > Debug :
image

Log

Incase there is any issue with the tool, check the log files below for clues :

  • /var/log/centreon/get_platform_log_and_info.log
  • /var/log/php-fpm/centreon-error.log