OID fixes while retrieving from remote Satellite server

This commit is contained in:
fbsanchez 2021-05-26 17:55:30 +02:00
parent e5ebc52356
commit 50242d3030
1 changed files with 4 additions and 0 deletions

View File

@ -1951,6 +1951,10 @@ class AgentWizard extends HTML
|| $candidate['execution_type'] === EXECUTION_TYPE_NETWORK
) {
if ($this->serverType === SERVER_TYPE_ENTERPRISE_SATELLITE) {
if (substr($candidate['value'], 0, 1) !== '.') {
$candidate['value'] = '.'.$candidate['value'];
}
$tmp->module_interval(300);
$tmp->id_modulo(MODULE_DATA);
$tmp->updateConfigurationData(