Private GIT

Skip to content
Snippets Groups Projects
Commit 46ee5ed9 authored by Kevin Duret's avatar Kevin Duret
Browse files

WEB-596 Remove old fifo external command file

parent 1298391b
Branches
No related tags found
No related merge requests found
...@@ -39,12 +39,6 @@ ...@@ -39,12 +39,6 @@
} }
] ]
}, },
{
"type": "dumper",
"tagname": "extcommands-broker-$POLLERID$",
"path": "%global_broker_data_directory%/poller-module.cmd",
"name": "poller-module-extcommands-broker"
},
{ {
"type": "dumper", "type": "dumper",
"tagname": "extcommands-engine-$POLLERID$", "tagname": "extcommands-engine-$POLLERID$",
...@@ -93,7 +87,6 @@ ...@@ -93,7 +87,6 @@
"command_file": "%global_broker_data_directory%/central-broker.cmd", "command_file": "%global_broker_data_directory%/central-broker.cmd",
"%callback%": [ "%callback%": [
"pollerCommandLineCentreonEngine", "pollerCommandLineCentreonEngine",
"pollerCommandLineCentreonBroker",
"pollerConfigCentreonEngine", "pollerConfigCentreonEngine",
"pollerConfigCentreonBroker" "pollerConfigCentreonBroker"
] ]
......
...@@ -46,12 +46,6 @@ ...@@ -46,12 +46,6 @@
} }
] ]
}, },
{
"type": "dumper",
"tagname": "extcommands-broker-$POLLERID$",
"path": "%global_broker_data_directory%/poller-module.cmd",
"name": "poller-module-extcommands-broker"
},
{ {
"type": "dumper", "type": "dumper",
"tagname": "extcommands-engine-$POLLERID$", "tagname": "extcommands-engine-$POLLERID$",
......
...@@ -285,9 +285,6 @@ class ConfigGenerateRepository ...@@ -285,9 +285,6 @@ class ConfigGenerateRepository
case 'pollerCommandLineCentreonEngine': case 'pollerCommandLineCentreonEngine':
$this->addEngineCommandLineBlock($file); $this->addEngineCommandLineBlock($file);
break; break;
case 'pollerCommandLineCentreonBroker':
$this->addBrokerCommandLineBlock($file);
break;
case 'pollerConfigCentreonEngine': case 'pollerConfigCentreonEngine':
$this->addConfigCentreonEngineBlock($file); $this->addConfigCentreonEngineBlock($file);
break; break;
...@@ -358,25 +355,6 @@ class ConfigGenerateRepository ...@@ -358,25 +355,6 @@ class ConfigGenerateRepository
} }
} }
/**
* Add block for external command line
*
* @param \XMLWriter $gile The xml file
*/
private function addBrokerCommandLineBlock($file)
{
/* Get broker modules list */
$brokerModules = self::getBrokerModules();
foreach ($brokerModules as $brokerModule) {
$file->startElement("input");
$file->writeElement("name", "central-broker-extcommands-broker-poller-module-" . $brokerModule['poller_id']);
$file->writeElement("type", "dump_fifo");
$file->writeElement("path", $this->baseConfig['%global_broker_data_directory%'] . "/central-broker-extcommands-broker-poller-module-" . $brokerModule['poller_id'] . ".cmd");
$file->writeElement("tagname", "extcommands-broker-" . $brokerModule['poller_id']);
$file->endElement();
}
}
/** /**
* Add block for external command line * Add block for external command line
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment