アップデート

恐らく基本方法は同じ

ここでは2.2.2→2.3.3を例にする。
  • 投入コマンド
  • 下記はあくまで例です。
    • <code>root@youmu:~/centreon-2.3.3# ./install.sh -u /etc/centreon ############################################################################### # # # Centreon (www.centreon.com) # # Thanks for using Centreon # # # # v2.3 # # # # infos@centreon.com # # # # Make sure you have installed and configured # # sudo - sed - php - apache - rrdtool - mysql # # # ###############################################################################

      Checking all needed binaries


      rm OK cp OK mv OK /bin/chmod OK /bin/chown OK echo OK more OK mkdir OK find OK /bin/grep OK /bin/cat OK /bin/sed OK


      Detecting old installation


      Finding configuration file in: /etc/centreon OK You seem to have an existing Centreon.

Do you want to use the last Centreon install parameters ? Using: /etc/centreon/instCentCore.conf /etc/centreon/instCentPlugins.conf /etc/centreon/instCentStorage.conf /etc/centreon/instCentWeb.conf

Do you want to install : Centreon Web Front [y/n], default to [n]:

y

Do you want to install : Centreon CentCore [y/n], default to [n]:

y

Do you want to install : Centreon Nagios Plugins [y/n], default to [n]:

y

Do you want to install : Centreon Snmp Traps process [y/n], default to [n]:

y

————————————————————————

      Start CentWeb Installation

———————————————————————— p1_file : /usr/local/nagios/bin/p1.pl OK /usr/bin/perl OK Finding Apache group : www-data Finding Apache user : www-data Finding Nagios user : nagios Finding Nagios group : nagios


      Configure Sudo

———————————————————————— Nagios init script OK Your sudo has been configured previously

Do you want me to reconfigure your sudo ? (WARNING) Please configure your sudo with this example:

       /usr/local/centreon/examples/centreon.sudo        PASSED

      Configure Apache server

———————————————————————— Create '/etc/apache2/conf.d/centreon.conf' OK Configuring Apache OK

Do you want to reload your Apache ? [y/n], default to [n]:

y

R

eloading Apache service OK Preparing Centreon temporary files Change right on /usr/local/centreon/log OK Change right on /etc/centreon OK Change right on /usr/local/nagios/share/images/logos OK Install nagios documentation OK Change macros for insertBaseConf.sql OK Change macros for php files OK Change right on /usr/local/nagios/etc OK Copy CentWeb in system directory Install CentWeb (web front of centreon) OK Install libraries OK Copying libinstall OK Change macros for centreon.cron OK Install Centreon cron.d file OK Change macros for centAcl.php OK Change macros for downtimeManager.php OK Change macros for eventReportBuilder.pl OK Change macros for dashboardBuilder.pl OK Install cron directory OK Change right for eventReportBuilder.pl OK Change right for dashboardBuilder.pl OK


Pear Modules

Check PEAR modules PEAR 1.4.9 1.9.0 OK DB 1.7.6 1.7.13 OK DBDataObject 1.8.4 1.9.5 OK DBDataObjectFormBuilder 1.0.0RC4 1.0.1 OK MDB2 2.0.0 2.4.1 OK Date 1.4.6 1.4.7 OK HTMLCommon 1.2.2 1.2.5 OK HTMLQuickForm 3.2.5 3.2.12 OK HTMLQuickFormadvmultiselect 1.1.0 1.5.1 OK HTMLTable 1.6.1 1.8.3 OK ArchiveTar 1.1 1.3.3 OK AuthSASL 1.0.1 1.0.4 OK ConsoleGetopt 1.2 1.2.3 OK NetSMTP 1.2.8 1.5.1 OK NetSocket 1.0.1 1.0.10 OK NetTraceroute 0.21 0.21.3 OK NetPing 2.4.1 2.4.5 OK Validate 0.6.2 0.8.4 OK XMLRPC 1.4.5 1.5.4 OK SOAP 0.10.1 0.12.0 OK Log 1.9.11 1.12.5 OK All PEAR modules OK


              Centreon Post Install

———————————————————————— Create /usr/local/centreon/www/install/install.conf.php OK Create /etc/centreon/instCentWeb.conf OK


      Start CentStorage Installation

———————————————————————— Finding Nagios group : nagios Finding Nagios user : nagios Preparing Centreon temporary files /tmp/centreon-setup exists, it will be moved… install www/install/createTablesCentstorage.sql OK CentStorage status Directory already exists PASSED CentStorage metrics Directory already exists PASSED Change macros for centstorage binary OK Install CentStorage binary OK Install library for centstorage OK Change right : /var/run/centreon OK Change macros for centstorage init script OK

Do you want me to install CentStorage init script ? CentStorage init script not installed, please use : /usr/local/centreon/examples/centstorage.init.d PASSED Change macros for logAnalyser OK Install logAnalyser OK Change macros for nagiosPerfTrace OK Install nagiosPerfTrace OK Change macros for purgeLogs OK Install purgeLogs OK Change macros for purgeCentstorage OK Install purgeCentstorage OK Change macros for centreonPurge.sh OK Install centreonPurge.sh OK Change macros for centstorage.cron OK Install CentStorage cron OK Create /etc/centreon/instCentStorage.conf OK


      Start CentCore Installation

———————————————————————— Finding Nagios group : nagios Finding Nagios user : nagios Preparing Centreon temporary files /tmp/centreon-setup exists, it will be moved… Change CentCore Macro OK Copy CentCore in binary directory OK Change right : /var/run/centreon OK Change right : /var/lib/centreon OK Replace CentCore init script Macro OK

Do you want me to install CentCore init script ? CentCore init script not installed, please use : /usr/local/centreon/examples/centcore.init.d PASSED Create /etc/centreon/instCentCore.conf OK


      Start CentPlugins Installation

———————————————————————— Finding Nagios user : nagios Finding Nagios group : nagios Preparing Centreon temporary files /tmp/centreon-setup exists, it will be moved… Change macros for CentPlugins OK Installing the plugins OK Change right on centreon.conf OK CentPlugins is installed


      Start CentPlugins Traps Installation

———————————————————————— Finding Nagios group : nagios Finding Apache user : www-data Preparing Centreon temporary files /tmp/centreon-setup exists, it will be moved… Change macros for CentPluginsTraps OK Installing the plugins Trap binaries OK Backup all your snmp files OK Change macros for snmptrapd.conf OK Change macros for snmptt.ini OK Install : snmptrapd.conf OK Install : snmp.conf OK Install : snmptt.ini OK Install : snmptt OK Install : snmpttconvertmib OK Generate SNMPTT configuration OK Create /etc/centreon/instCentPlugins.conf OK

Go to the URL : http://youmu.ainoniwa.net/centreon/

to finish the setup

Report bugs at http://forge.centreon.com

Thanks for using Centreon.

-----------------------

Contact : infos@centreon.com

http://www.centreon.com

</code>
management/centreon/upgrade/start.txt · 最終更新: 2011/11/16 00:09 by yuki
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0