Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
enh(chore) replace centcore by gorgone (#8172)
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau authored Dec 18, 2019
1 parent 05394a1 commit 47d3f41
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 721 deletions.
8 changes: 1 addition & 7 deletions doc/en/faq/remote_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,7 @@ Then generate the Remote Server configuration from the central Centreon server.

3. Missing files in /etc/centreon

Check that **/etc/centreon** includes the following files and that they are not empty:

* instCentCore.conf
* instCentPlugins.conf
* instCentWeb.conf

If missing or empty, copy them from the Central Server.
Check that **/etc/centreon/instCentWeb.conf** file is not empty. If missing or empty, copy it from the Central Server.

Purge the import tasks table: ::

Expand Down
8 changes: 1 addition & 7 deletions doc/fr/faq/remote_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,7 @@ central.

3. Fichiers manquants dans le répertoire /etc/centreon

Vérifiez que le répertoire **/etc/centreon** contient les fichiers suivants :

* instCentCore.conf
* instCentPlugins.conf
* instCentWeb.conf

et que ces fichiers ne sont pas vides, sinon copiez les depuis le serveur Centreon
Vérifiez que le fichier **/etc/centreon/instCentWeb.conf** n'est pas vide, sinon copiez le depuis le serveur Centreon
Central.

Purgez la table des tâches d'import : ::
Expand Down
202 changes: 0 additions & 202 deletions libinstall/CentCore.sh

This file was deleted.

17 changes: 0 additions & 17 deletions libinstall/functions
Original file line number Diff line number Diff line change
Expand Up @@ -881,23 +881,6 @@ locate_centstorage_libdir() {
log "INFO" "CENTSTORAGE_LIBDIR: $CENTSTORAGE_LIBDIR"
}

#----
## Define where is centCore binary directory
## @Globals CENTCORE_BINDIR, INSTALL_DIR_CENTREON, DEFAULT_CENTCORE_BINDIR
#----
locate_centcore_bindir() {
if [ -z "$CENTCORE_BINDIR" ] ; then
answer_with_createdir "$(gettext "Where is your CentCore binary directory")" "$INSTALL_DIR_CENTREON/$DEFAULT_CENTCORE_BINDIR" "CENTCORE_BINDIR"
echo_success "$(gettext "Path" ) $CENTCORE_BINDIR" "$ok"
elif [ ! -d "$CENTCORE_BINDIR" -a "$silent_install" -eq 1 ] ; then
mkdir -p $CENTCORE_BINDIR
log "INFO" "$(gettext "Create") $CENTCORE_BINDIR"
fi
CENTCORE_BINDIR=`trim ${CENTCORE_BINDIR%/}`
export CENTCORE_BINDIR
log "INFO" "CENTCORE_BINDIR: $CENTCORE_BINDIR"
}

#----
## Define where is centPlugins temporary directory
## @Globals CENTPLUGINS_TMP, DEFAULT_CENTPLUGINS_TMP
Expand Down
10 changes: 0 additions & 10 deletions logrotate/centcore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
class CentcoreConfigService
{

const CONF_CORE = 'instCentCore.conf';
const CONF_PLUGINS = 'instCentPlugins.conf';
const CONF_WEB = 'instCentWeb.conf';

const MACROS_DELIMITER_TEMPLATE = '@%s@';
Expand Down Expand Up @@ -48,11 +46,7 @@ public function replaceMacros(&$string): void

private function initMacros(): void
{
$data = array_merge(
$this->parseIniFile(_CENTREON_ETC_ . '/' . static::CONF_CORE),
$this->parseIniFile(_CENTREON_ETC_ . '/' . static::CONF_PLUGINS),
$this->parseIniFile(_CENTREON_ETC_ . '/' . static::CONF_WEB)
);
$data = $this->parseIniFile(_CENTREON_ETC_ . '/' . static::CONF_WEB);

$this->macros = [
'centreon_dir' => "{$data['INSTALL_DIR_CENTREON']}/",
Expand Down
9 changes: 0 additions & 9 deletions tmpl/install/debian/centcore.default

This file was deleted.

Loading

0 comments on commit 47d3f41

Please sign in to comment.