when using multi-collecteur and no local poller are activate, there is a probleme when testing configuration. CLAPI can't retrieve nagios_bin binary. Is it possible ti use the same behavior than centreon-core. For exemple in core/class/centreon.Config.Poller.class.php by replacing
$DBRESULT_Servers =& $this->_DB->query("SELECT `nagios_bin` FROM `nagios_server` WHERE `ns_activate` = '1' AND `localhost` = '1' LIMIT 1");
by
$DBRESULT_Servers =& $this->_DB->query("SELECT `nagios_bin` FROM `nagios_server` WHERE `localhost` = '1' ORDER BY ns_activate DESC LIMIT 1;");
Author Name: Sebastien GIRAUD (Sebastien GIRAUD) Original Redmine Issue: 4857, https://forge.centreon.com/issues/4857 Original Date: 2013-08-29
Hello,
when using multi-collecteur and no local poller are activate, there is a probleme when testing configuration. CLAPI can't retrieve nagios_bin binary. Is it possible ti use the same behavior than centreon-core. For exemple in core/class/centreon.Config.Poller.class.php by replacing
by
Thanks, Sebastien