Centreon autoinstall for Debian/Ubuntu (with centreon-engine).
Full install or poller (engine+broker only).
Uses nagios plugins from the distro (to ease security upgrades).
Tested on Debian Wheezy (7.x), Ubuntu 14.04.
Won’t work on Debian >=8 and Ubuntu >=14.04 because the php version required for centreon is no more available.
-
CLIB_VER="1.4.2"
-
CONNECTOR_VER="1.1.2"
-
ENGINE_VER="1.5.0"
-
PLUGIN_VER="2.1.1"
-
BROKER_VER="2.11.4"
-
CENTREON_VER="2.7.4"
-
CLAPI_VER="1.8.0"
-
MARIADB_VER="10.1"
-
WIDGET_HOST_VER="1.3.2"
-
WIDGET_HOSTGROUP_VER="1.1.1"
-
WIDGET_SERVICE_VER="1.3.2"
-
WIDGET_SERVICEGROUP_VER="1.1.0"
-
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"
Change your vars at the beginning of the script
sudo ./centreon-install.sh -[f|s]
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 |
centreon-broker |
Centreon Broker etc directory |
/etc/centreon-broker |
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/ |
vagrant up
And open your web brower to http://127.0.0.1:8080/centreon/