1. Red Hat Enterprise Linux Server release 5.4 (Tikanga) Release:
  1. yum install gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD httpd openssl-devel perl-DBD-MySQL mysql-server mysql-devel php php-mysql php-gd php-ldap php-xml php-mbstring perl-DBI perl-DBD-MySQL perl-Config-IniFiles rrdtool perl-rrdtool perl-Crypt-DES perl-Digest-SHA1 perl-Digest-HMAC net-snmp-utils perl-Socket6 perl-IO-Socket-INET6 net-snmp net-snmp-libs php-snmp dmidecode lm_sensors perl-Net-SNMP net-snmp-perl fping cpp gcc gcc-c++ libstdc++ glib2-devel php-pear 
  2.  
  3.  
  4. pear channel-update pear.php.net 
  5. pear upgrade-all 
  6. tar -zxf centreon-2.1.13.tar.gz
  7. cd centreon-2.1.13

 
  

[root@localhost centreon-2.1.13]# ./install.sh -i 

  1. ############################################################################### 
  2. #                                                                             # 
  3. #                         Centreon (www.centreon.com)                         # 
  4. #                          Thanks for using Centreon                          # 
  5. #                                                                             # 
  6. #                                    v2.1                                     # 
  7. #                                                                             # 
  8. #                              infos@centreon.com                             # 
  9. #                                                                             # 
  10. #                   Make sure you have installed and configured               # 
  11. #                   sudo - sed - php - apache - rrdtool - mysql               # 
  12. #                                                                             # 
  13. ############################################################################### 
  14. ------------------------------------------------------------------------ 
  15.         Checking all needed binaries 
  16. ------------------------------------------------------------------------ 
  17. rm                                                         OK 
  18. cp                                                         OK 
  19. mv                                                         OK 
  20. /bin/chmod                                                 OK 
  21. /bin/chown                                                 OK 
  22. echo                                                       OK 
  23. more                                                       OK 
  24. mkdir                                                      OK 
  25. find                                                       OK 
  26. /bin/grep                                                  OK 
  27. /bin/cat                                                   OK 
  28. /bin/sed                                                   OK 
  29.  
  30. You will now read Centreon Licence. 
  31.         Press enter to continue
  32.  
  33.  
  34. ..... 
  35.  
  36. Do you accept GPL license ? 
  37. [y/n], default to [n]: 
  38. >           y 
  39. ------------------------------------------------------------------------ 
  40.         Please choose what you want to install 
  41. ------------------------------------------------------------------------ 
  42.  
  43. Do you want to install : Centreon Web Front 
  44. [y/n], default to [n]: 
  45. > y 
  46.  
  47. Do you want to install : Centreon CentCore 
  48. [y/n], default to [n]: 
  49. > y 
  50.  
  51. Do you want to install : Centreon Nagios Plugins 
  52. [y/n], default to [n]: 
  53. > y 
  54.  
  55. Do you want to install : Centreon Snmp Traps process 
  56. [y/n], default to [n]: 
  57. > y 
  58.  
  59. ------------------------------------------------------------------------ 
  60.         Start CentWeb Installation 
  61. ------------------------------------------------------------------------ 
  62.  
  63. Where is your Centreon directory? 
  64. default to [/usr/local/centreon] 
  65. >  
  66. Path /usr/local/centreon                                   OK 
  67.  
  68. Where is your Centreon log directory 
  69. default to [/usr/local/centreon/log] 
  70. >  
  71. Path /usr/local/centreon/log                               OK 
  72.  
  73. Where is your Centreon etc directory 
  74. default to [/etc/centreon] 
  75. >  
  76. Path /etc/centreon                                         OK 
  77.  
  78. Where is your Centreon generation_files directory? 
  79. default to [/usr/local/centreon] 
  80. >  
  81. Path /usr/local/centreon                                   OK 
  82.  
  83. Where is your Centreon variable library directory? 
  84. default to [/var/lib/centreon] 
  85. >  
  86. Path /var/lib/centreon                                     OK 
  87.  
  88. Where is your CentPlugins Traps binary 
  89. default to [/usr/local/centreon/bin] 
  90. >  
  91. Path /usr/local/centreon/bin                               OK 
  92.  
  93. Where is the RRD perl module installed [RRDs.pm] 
  94. default to [/usr/lib/perl5/RRDs.pm] 
  95. > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/RRDs.pm 
  96. Path /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mulOK 
  97. /usr/bin/rrdtool                                           OK 
  98. /bin/mail                                                  OK 
  99.  
  100. Where is PEAR [PEAR.php]  
  101. default to [/usr/share/php/PEAR.php] 
  102. > /usr/share/pear/PEAR.php 
  103. Path /usr/share/pear                                       OK 
  104.  
  105. Where is installed Nagios ? 
  106. default to [/usr/local/nagios] 
  107. >  
  108. Path /usr/local/nagios                                     OK 
  109.  
  110. Where is your nagios config directory 
  111. default to [/usr/local/nagios/etc] 
  112. >  
  113. Path /usr/local/nagios/etc                                 OK 
  114.  
  115. Where is your Nagios var directory ? 
  116. default to [/usr/local/nagios/var] 
  117. >  
  118. Path /usr/local/nagios/var                                 OK 
  119.  
  120. Where is your Nagios plugins (libexec) directory ? 
  121. default to [/usr/local/nagios/libexec] 
  122. >  
  123. Path /usr/local/nagios/libexec                             OK 
  124.  
  125. Where is your nagios binary ?  
  126. default to [/usr/local/nagios/bin/nagios] 
  127. >  
  128. /usr/local/nagios/bin/nagios                               OK 
  129.  
  130. Where is your Nagios p_w_picpath directory ? 
  131. default to [/usr/local/nagios/share/p_w_picpaths/logos] 
  132. >  
  133. Path /usr/local/nagios/share/p_w_picpaths/logos                  OK 
  134.  
  135. Where is your nagiostats binary ?  
  136. default to [/usr/local/nagios/bin/nagiostats] 
  137. >  
  138. /usr/local/nagios/bin/nagiostats                           OK 
  139. p1_file : /usr/local/nagios/bin/p1.pl                      OK 
  140. /usr/bin/php                                               OK 
  141. /usr/bin/perl                                              OK 
  142. Finding Apache group :                                     apache 
  143. Finding Apache user :                                      apache 
  144. Finding Nagios user :                                      nagios 
  145. Finding Nagios group :                                     nagios 
  146.  
  147. Where is your NDO ndomod binary ?  
  148. default to [/usr/sbin/ndomod.o] 
  149. > /usr/local/nagios/bin/ndomod.o 
  150. /usr/local/nagios/bin/ndomod.o                             OK 
  151.  
  152. ------------------------------------------------------------------------ 
  153.         Configure Sudo 
  154. ------------------------------------------------------------------------ 
  155.  
  156. Where is sudo configuration file 
  157. default to [/etc/sudoers] 
  158. >  
  159. /etc/sudoers                                               OK 
  160. Nagios init script                                         OK 
  161. Your sudo is not configured 
  162.  
  163. Do you want me to configure your sudo ? (WARNING)  
  164. [y/n], default to [n]: 
  165. > y 
  166. Configuring Sudo                                           OK 
  167.  
  168. ------------------------------------------------------------------------ 
  169.         Configure Apache server 
  170. ------------------------------------------------------------------------ 
  171.  
  172. Do you want to add Centreon Apache sub configuration file ? 
  173. [y/n], default to [n]: 
  174. > y 
  175. Create '/etc/httpd/conf.d/centreon.conf'                   OK 
  176. Configuring Apache                                         OK 
  177.  
  178. Do you want to reload your Apache ? 
  179. [y/n], default to [n]: 
  180. > y 
  181. Reloading Apache service                                   OK 
  182. Preparing Centreon temporary files 
  183. Change right on /usr/local/centreon/log                    OK 
  184. Change right on /etc/centreon                              OK 
  185. Change right on /usr/local/nagios/share/p_w_picpaths/logos       OK 
  186. Install nagios documentation                               OK 
  187. Change macros for insertBaseConf.sql                       OK 
  188. Change macros for php files 
  189. Change macros for php files                                OK 
  190. Change right on /usr/local/nagios/etc                      OK 
  191. Copy CentWeb in system directory 
  192. Install CentWeb (web front of centreon)                    OK 
  193. Install libraries                                          OK 
  194. Copying libinstall                                         OK 
  195. Change macros for centreon.cron                            OK 
  196. Install Centreon cron.d file                               OK 
  197. Change macros for archiveDayLog                            OK 
  198. Change macros for centAcl.php                              OK 
  199. Install cron directory                                     OK 
  200.  
  201. ------------------------------------------------------------------------ 
  202. Pear Modules 
  203. ------------------------------------------------------------------------ 
  204. Check PEAR modules 
  205. PEAR                            1.4.9       1.4.9          OK 
  206. DB                              1.7.6                      NOK 
  207. DB_DataObject                   1.8.4                      NOK 
  208. DB_DataObject_FormBuilder       1.0.0RC4                   NOK 
  209. MDB2                            2.0.0                      NOK 
  210. Date                            1.4.6                      NOK 
  211. HTML_Common                     1.2.2                      NOK 
  212. HTML_QuickForm                  3.2.5                      NOK 
  213. HTML_QuickForm_advmultiselect   1.1.0                      NOK 
  214. HTML_Table                      1.6.1                      NOK 
  215. Archive_Tar                     1.1         1.3.1          OK 
  216. Auth_SASL                       1.0.1                      NOK 
  217. Console_Getopt                  1.2         1.2            OK 
  218. Net_SMTP                        1.2.8                      NOK 
  219. Net_Socket                      1.0.1                      NOK 
  220. Net_Traceroute                  0.21                       NOK 
  221. Net_Ping                        2.4.1                      NOK 
  222. Validate                        0.6.2                      NOK 
  223. XML_RPC                         1.4.5       1.5.4          OK 
  224. SOAP                            0.10.1                     NOK 
  225. Log                             1.9.11                     NOK 
  226.  
  227. Do you want me to install/upgrade your PEAR modules 
  228. [y/n], default to [y]: 
  229. > y 
  230. Upgrading PEAR modules 
  231. Installing PEAR modules 
  232. DB                              1.7.6       1.7.13         OK 
  233. DB_DataObject                   1.8.4       1.9.5          OK 
  234. DB_DataObject_FormBuilder       1.0.0RC4    1.0.1          OK 
  235. MDB2                            2.0.0       2.4.1          OK 
  236. HTML_QuickForm_advmultiselect   1.1.0       1.5.1          OK 
  237. HTML_Table                      1.6.1       1.8.3          OK 
  238. Auth_SASL                       1.0.1       1.0.4          OK 
  239. Net_SMTP                        1.2.8       1.5.2          OK 
  240. Net_Traceroute                  0.21        0.21.3         OK 
  241. Net_Ping                        2.4.1       2.4.5          OK 
  242. Validate                        0.6.2       0.8.4          OK 
  243. SOAP                            0.10.1      0.12.0         OK 
  244. Log                             1.9.11      1.12.5         OK 
  245. Check PEAR modules 
  246. PEAR                            1.4.9       1.9.2          OK 
  247. DB                              1.7.6       1.7.13         OK 
  248. DB_DataObject                   1.8.4       1.9.5          OK 
  249. DB_DataObject_FormBuilder       1.0.0RC4    1.0.1          OK 
  250. MDB2                            2.0.0       2.4.1          OK 
  251. Date                            1.4.6       1.4.7          OK 
  252. HTML_Common                     1.2.2       1.2.5          OK 
  253. HTML_QuickForm                  3.2.5       3.2.12         OK 
  254. HTML_QuickForm_advmultiselect   1.1.0       1.5.1          OK 
  255. HTML_Table                      1.6.1       1.8.3          OK 
  256. Archive_Tar                     1.1         1.3.1          OK 
  257. Auth_SASL                       1.0.1       1.0.4          OK 
  258. Console_Getopt                  1.2         1.2            OK 
  259. Net_SMTP                        1.2.8       1.5.2          OK 
  260. Net_Socket                      1.0.1       1.0.10         OK 
  261. Net_Traceroute                  0.21        0.21.3         OK 
  262. Net_Ping                        2.4.1       2.4.5          OK 
  263. Validate                        0.6.2       0.8.4          OK 
  264. XML_RPC                         1.4.5       1.5.4          OK 
  265. SOAP                            0.10.1      0.12.0         OK 
  266. Log                             1.9.11      1.12.5         OK 
  267. All PEAR modules                                           OK 
  268.  
  269. ------------------------------------------------------------------------ 
  270.                 Centreon Post Install 
  271. ------------------------------------------------------------------------ 
  272. Create /usr/local/centreon/www/install/install.conf.php    OK 
  273. Create /etc/centreon/instCentWeb.conf                      OK 
  274.  
  275. ------------------------------------------------------------------------ 
  276.         Start CentStorage Installation 
  277. ------------------------------------------------------------------------ 
  278.  
  279. Where is your Centreon Run Dir directory? 
  280. default to [/var/run/centreon] 
  281. >  
  282.  
  283. Do you want me to create this directory ? [/var/run/centreon] 
  284. [y/n], default to [n]: 
  285. > y 
  286. Path /var/run/centreon                                     OK 
  287.  
  288. Where is your CentStorage binary directory 
  289. default to [/usr/local/centreon/bin] 
  290. >  
  291. Path /usr/local/centreon/bin                               OK 
  292.  
  293. Where is your CentStorage RRD directory 
  294. default to [/var/lib/centreon] 
  295. >  
  296. Path /var/lib/centreon                                     OK 
  297. Finding Nagios group :                                     nagios 
  298. Finding Nagios user :                                      nagios 
  299. Preparing Centreon temporary files 
  300. /tmp/centreon-setup exists, it will be moved... 
  301. install www/install/createTablesCentstorage.sql            OK 
  302. Creating Centreon Directory '/var/lib/centreon/status'     OK 
  303. Creating Centreon Directory '/var/lib/centreon/metrics'    OK 
  304. Change macros for centstorage binary                       OK 
  305. Install CentStorage binary                                 OK 
  306. Install library for centstorage                            OK 
  307. Change right : /var/run/centreon                           OK 
  308. Change macros for centstorage init script                  OK 
  309.  
  310. Do you want me to install CentStorage init script ? 
  311. [y/n], default to [n]: 
  312. > y 
  313. CentStorage init script installed                          OK 
  314.  
  315. Do you want me to install CentStorage run level ? 
  316. [y/n], default to [n]: 
  317. > y 
  318. Change macros for logAnalyser                              OK 
  319. Install logAnalyser                                        OK 
  320. Change macros for nagiosPerfTrace                          OK 
  321. Install nagiosPerfTrace                                    OK 
  322. Change macros for purgeLogs                                OK 
  323. Install purgeLogs                                          OK 
  324. Change macros for purgeCentstorage                         OK 
  325. Install purgeCentstorage                                   OK 
  326. Change macros for centreonPurge.sh                         OK 
  327. Install centreonPurge.sh                                   OK 
  328. Change macros for centstorage.cron                         OK 
  329. Install CentStorage cron                                   OK 
  330. Create /etc/centreon/instCentStorage.conf                  OK 
  331.  
  332. ------------------------------------------------------------------------ 
  333.         Start CentCore Installation 
  334. ------------------------------------------------------------------------ 
  335.  
  336. Where is your CentCore binary directory 
  337. default to [/usr/local/centreon/bin] 
  338. >  
  339. Path /usr/local/centreon/bin                               OK 
  340. /usr/bin/ssh                                               OK 
  341. /usr/bin/scp                                               OK 
  342. Finding Nagios group :                                     nagios 
  343. Finding Nagios user :                                      nagios 
  344. Preparing Centreon temporary files 
  345. /tmp/centreon-setup exists, it will be moved... 
  346. Change CentCore Macro                                      OK 
  347. Copy CentCore in binary directory                          OK 
  348. Change right : /var/run/centreon                           OK 
  349. Change right : /var/lib/centreon                           OK 
  350. Replace CentCore init script Macro                         OK 
  351.  
  352. Do you want me to install CentCore init script ? 
  353. [y/n], default to [n]: 
  354. > y 
  355. CentCore init script installed                             OK 
  356.  
  357. Do you want me to install CentCore run level ? 
  358. [y/n], default to [n]: 
  359. > y 
  360. Create /etc/centreon/instCentCore.conf                     OK 
  361.  
  362. ------------------------------------------------------------------------ 
  363.         Start CentPlugins Installation 
  364. ------------------------------------------------------------------------ 
  365.  
  366. Where is your CentPlugins lib directory 
  367. default to [/var/lib/centreon/centplugins] 
  368. >  
  369.  
  370. Do you want me to create this directory ? [/var/lib/centreon/centplugins] 
  371. [y/n], default to [n]: 
  372. > y 
  373. Path /var/lib/centreon/centplugins                         OK 
  374. Finding Nagios user :                                      nagios 
  375. Finding Nagios group :                                     nagios 
  376. Preparing Centreon temporary files 
  377. /tmp/centreon-setup exists, it will be moved... 
  378. Change macros for CentPlugins                              OK 
  379. Installing the plugins                                     OK 
  380. Change right on centreon.conf                              OK 
  381. CentPlugins is installed 
  382.  
  383. ------------------------------------------------------------------------ 
  384.         Start CentPlugins Traps Installation 
  385. ------------------------------------------------------------------------ 
  386.  
  387. Where is your SNMP configuration directory 
  388. default to [/etc/snmp] 
  389. >  
  390. /etc/snmp                                                  OK 
  391.  
  392. Where is your SNMPTT binaries directory 
  393. default to [/usr/local/centreon/bin/] 
  394. >  
  395. /usr/local/centreon/bin/                                   OK 
  396. Finding Nagios group :                                     nagios 
  397. Finding Apache user :                                      apache 
  398. Preparing Centreon temporary files 
  399. /tmp/centreon-setup exists, it will be moved... 
  400. Change macros for CentPluginsTraps                         OK 
  401. Installing the plugins Trap binaries                       OK 
  402. Backup all your snmp files                                 OK 
  403. Change macros for snmptrapd.conf                           OK 
  404. Change macros for snmptt.ini                               OK 
  405. Install : snmptrapd.conf                                   OK 
  406. Install : snmp.conf                                        OK 
  407. Install : snmptt.ini                                       OK 
  408. Install : snmptt                                           OK 
  409. Install : snmpttconvertmib                                 OK 
  410. Create /etc/centreon/instCentPlugins.conf                  OK 
  411. ############################################################################### 
  412. #                                                                             # 
  413. #                 Go to the URL : http://your-server/centreon/                # 
  414. #                            to finish the setup                              # 
  415. #                                                                             # 
  416. #                  Report bugs at http://forge.centreon.com                   # 
  417. #                                                                             # 
  418. #                         Thanks for using Centreon.                          # 
  419. #                          -----------------------                            # 
  420. #                        Contact : infos@centreon.com                         # 
  421. #                          http://www.centreon.com                            # 
  422. #                                                                             # 
  423. ############################################################################### 

p_w_picpath

 

 

p_w_picpath

p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath p_w_picpath