Skip to content

Instantly share code, notes, and snippets.

@vhr
Last active October 11, 2018 10:41
Show Gist options
  • Save vhr/5004578eecbfa28cd77e3f143ef00135 to your computer and use it in GitHub Desktop.
Save vhr/5004578eecbfa28cd77e3f143ef00135 to your computer and use it in GitHub Desktop.
$dependencyInjector['centreon_remote.export']->export((new \CentreonRemote\Infrastructure\Export\ExportCommitment(3, [1,3])));
exit;
echo "SENDEXPORTFILE:1" > /var/lib/centreon/centcore.cmd
/usr/share/perl5/vendor_perl/centreon/script/centcore.pm
sendExportFile
unless ( -e $self->{centreonDir} . "filesGeneration/export/".$id) {
$self->{logger}->writeLogInfo("Export directory is empty for poller $self->{centreonDir}filesGeneration/export/$id.");
return;
}
tail -f /var/opt/remi/php72/log/php-fpm/www-error.log
tail -f /var/log/centreon/sql-error.log
tail -f /var/log/centreon/login.log
tail -f /var/log/centreon/ldap.log
tail -f /var/log/httpd/error_log
tail -f /var/log/centreon-broker/central-broker.log
tail -f /var/log/centreon-broker/central-module.log
tail -f /var/log/centreon-broker/central-rrd.log
tail -f /var/log/centreon/centcore.log
SELECT t.*, crir.instance_id AS `_instance_id` FROM cfg_resource AS t INNER JOIN cfg_resource_instance_relations AS crir ON crir.resource_id = t.resource_id WHERE crir.instance_id IN (2,3) GROUP BY t.resource_id
../../src/Centreon/Domain/Repository/CfgResourceRepository.php
../../src/CentreonRemote/Domain/Exporter/PollerExporter.php
../../src/CentreonRemote/Domain/Service/PollerDefaultsOverwriteService.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment