Switch extended events to standard events in host creation (recon)

Former-commit-id: 74ee131b3b4083fd50cc37e1a7854ad159afa13a
This commit is contained in:
fbsanchez 2019-03-20 14:15:33 +01:00
parent 9aecc6b85b
commit 9b68e7d04e
1 changed files with 1 additions and 2 deletions

View File

@ -473,8 +473,7 @@ sub PandoraFMS::Recon::Base::create_agent($$) {
$self->{'pa_config'}, $self->{'pa_config'}->{'servername'}, $self->{'pa_config'}, $self->{'pa_config'}->{'servername'},
$host_name, $device, $self->{'group_id'}, 0, $id_os, $host_name, $device, $self->{'group_id'}, 0, $id_os,
'', 300, $self->{'dbh'}, undef, $location->{'longitude'}, '', 300, $self->{'dbh'}, undef, $location->{'longitude'},
$location->{'latitude'}, undef, undef, undef, undef, $location->{'latitude'}
undef, undef, $self->{'main_event_id'}
); );
return undef unless defined ($agent_id) and ($agent_id > 0); return undef unless defined ($agent_id) and ($agent_id > 0);