Ensure oid starts with dot - braa requriements

This commit is contained in:
fbsanchez 2021-05-18 13:27:06 +02:00
parent 171275200a
commit 0d50ea94db
1 changed files with 4 additions and 0 deletions

View File

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