From 9b68e7d04e28351f7a57f4c6e859fcb2d04678b3 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 20 Mar 2019 14:15:33 +0100 Subject: [PATCH] Switch extended events to standard events in host creation (recon) Former-commit-id: 74ee131b3b4083fd50cc37e1a7854ad159afa13a --- pandora_server/lib/PandoraFMS/DiscoveryServer.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm index d250c36988..6c4b3a5ad4 100644 --- a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm +++ b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm @@ -473,8 +473,7 @@ sub PandoraFMS::Recon::Base::create_agent($$) { $self->{'pa_config'}, $self->{'pa_config'}->{'servername'}, $host_name, $device, $self->{'group_id'}, 0, $id_os, '', 300, $self->{'dbh'}, undef, $location->{'longitude'}, - $location->{'latitude'}, undef, undef, undef, undef, - undef, undef, $self->{'main_event_id'} + $location->{'latitude'} ); return undef unless defined ($agent_id) and ($agent_id > 0);