/centreon-install

Centreon autoinstall script for Debian

Primary LanguageShell

centreon-install

Centreon autoinstall for Debian (with centreon-engine)

Tested on Debian Wheezy

Versions

  • CLIB_VER="1.4.2"

  • CONNECTOR_VER="1.1.1"

  • ENGINE_VER="1.4.11"

  • PLUGIN_VER="2.0.3"

  • BROKER_VER="2.8.1"

  • CENTREON_VER="2.5.4"

  • CLAPI_VER="1.7.1"

  • MARIADB_VER="10.0"

  • WIDGET_HOST_VER="1.3.2"

  • WIDGET_HOSTGROUP_VER="1.1.1"

  • WIDGET_SERVICE_VER="1.3.2"

  • WIDGET_SERVICEGROUP_VER="1.1.0"

Temp and install directories

  • DL_DIR="/usr/local/src"

  • INSTALL_DIR="/usr/local"

Users, groups and passwords

  • MYSQL_PASSWORD="password"

  • ENGINE_USER="centreon-engine"

  • ENGINE_GROUP="centreon-engine"

  • BROKER_USER="centreon-broker"

  • BROKER_GROUP="centreon-broker"

  • CENTREON_USER="centreon"

  • CENTREON_GROUP="centreon"

Usage

Change your vars at the beginning of the script

sudo ./centreon.sh

Complete the web wizard install

Monitoring engine

centreon-engine

Centreon Engine directory

/usr/local/centreon-engine

Centreon Engine Stats binary

/usr/local/centreon-engine/bin/centenginestats

Centreon Engine var lib directory

/var/lib/centreon-engine

Centreon Engine Connector path

/usr/local/centreon-connector

Centreon Engine Library (*.so) directory

/usr/local/centreon-engine/lib/centreon-engine/

Embedded Perl initialisation file

Broker Module Information

Broker Module

centreon-broker

Centreon Broker etc directory

/usr/local/centreon-broker/etc

Centreon Broker module (cbmod.so)

/usr/local/centreon-broker/lib/cbmod.so

Centreon Broker log directory

/var/log/centreon-broker/

Retention file directory

/var/lib/centreon-broker

Centreon Broker lib (*.so) directory

/usr/local/centreon-broker/lib/centreon-broker/

After the web wizard

Restart cbd
service cbd restart

Vagrant

vagrant up

And open your web brower to http://127.0.0.1:8080/centreon/