Private GIT

Skip to content
Snippets Groups Projects
Commit 6b97ca01 authored by Julien Mathis's avatar Julien Mathis
Browse files

rename Nagios to Engine (files, directories, objects...)

parent a6095ffb
No related branches found
No related tags found
No related merge requests found
...@@ -36,11 +36,11 @@ ...@@ -36,11 +36,11 @@
require_once "Centreon/Object/Object.php"; require_once "Centreon/Object/Object.php";
/** /**
* Used for interacting with Nagios * Used for interacting with Engine
* *
* @author sylvestre * @author sylvestre
*/ */
class Centreon_Object_Nagios extends Centreon_Object class Centreon_Object_Engine extends Centreon_Object
{ {
protected $table = "cfg_nagios"; protected $table = "cfg_nagios";
protected $primaryKey = "nagios_id"; protected $primaryKey = "nagios_id";
......
...@@ -36,11 +36,11 @@ ...@@ -36,11 +36,11 @@
require_once "Centreon/Object/Object.php"; require_once "Centreon/Object/Object.php";
/** /**
* Used for interacting with Nagios Broker Module * Used for interacting with Engine Broker Module
* *
* @author kevin duret <kduret@centreon.com> * @author kevin duret <kduret@centreon.com>
*/ */
class Centreon_Object_Nagios_Broker_Module extends Centreon_Object class Centreon_Object_Engine_Broker_Module extends Centreon_Object
{ {
protected $table = "cfg_nagios_broker_module"; protected $table = "cfg_nagios_broker_module";
protected $primaryKey = "bk_mod_id"; protected $primaryKey = "bk_mod_id";
......
...@@ -37,8 +37,8 @@ namespace CentreonClapi; ...@@ -37,8 +37,8 @@ namespace CentreonClapi;
require_once "centreonObject.class.php"; require_once "centreonObject.class.php";
require_once "centreonInstance.class.php"; require_once "centreonInstance.class.php";
require_once "Centreon/Object/Nagios/Nagios.php"; require_once "Centreon/Object/Engine/Engine.php";
require_once "Centreon/Object/Nagios/Nagios_Broker_Module.php"; require_once "Centreon/Object/Engine/Engine_Broker_Module.php";
require_once "Centreon/Object/Command/Command.php"; require_once "Centreon/Object/Command/Command.php";
/** /**
...@@ -66,8 +66,8 @@ class CentreonEngineCfg extends CentreonObject ...@@ -66,8 +66,8 @@ class CentreonEngineCfg extends CentreonObject
parent::__construct(); parent::__construct();
$this->instanceObj = new CentreonInstance(); $this->instanceObj = new CentreonInstance();
$this->commandObj = new \Centreon_Object_Command(); $this->commandObj = new \Centreon_Object_Command();
$this->object = new \Centreon_Object_Nagios(); $this->object = new \Centreon_Object_Engine();
$this->brokerModuleObj = new \Centreon_Object_Nagios_Broker_Module(); $this->brokerModuleObj = new \Centreon_Object_Engine_Broker_Module();
$this->params = array( $this->params = array(
'log_file' => '/var/log/centreon-engine/centengine.log', 'log_file' => '/var/log/centreon-engine/centengine.log',
'cfg_dir' => '/etc/centreon-engine/', 'cfg_dir' => '/etc/centreon-engine/',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment