-
Error en pandora_server.error
Hola muy buenas.
Desde hace un tiempo estoy teniendo un error dentro de pandora_server.error.
Use of uninitialized value in string ne at /usr/lib/perl5/PandoraFMS/DataServer.pm line 644.
Este error me sale creo que cada vez que se pone en contacto con un agente, he estado revisando el error pero no veo el problema.
Este es el fragmento del archivo DataServer.pm en el cual da el error:
636 ##########################################################################
  637 # Update module configuration in tagente_modulo if necessary.
  638 ##########################################################################
  639 sub update_module_configuration ($$$$) {
  640    my ($pa_config, $dbh, $module, $module_conf) = @_;
  641
  642    # Update if at least one of the configuration tokens has changed
  643    foreach my $conf_token (‘min’, ‘max’, ‘descripcion’, ‘post_process’, ‘module_interval’, ‘mi    n_critical’, ‘max_critical’, ‘min_warning’, ‘max_warning’, ‘disabled’, ‘min_ff_event’, ‘extended_in    fo’, ‘unit’) {
  644        if ($module->{$conf_token} ne $module_conf->{$conf_token}) {
  645            logger ($pa_config, “Updating configuration for module ‘” . $module->{‘nomb    re’} . “‘.”, 10);
  646            db_do ($dbh, ‘UPDATE tagente_modulo SET unit = ?, min = ?, max = ?, descrip    cion = ?, post_process = ?, module_interval = ?, min_critical = ?, max_critical = ?, min_warning =    ?, max_warning = ?, disabled = ?, min_ff_event = ?, extended_info = ?
  647                WHERE id_agente_modulo = ?’, $module_conf->{‘unit’}, $module_conf->    {‘min’}, $module_conf->{‘max’}, $module_conf->{‘descripcion’} eq ” ? $module->{‘descripcion’} : $m    odule_conf->{‘descripcion’},
  648                $module_conf->{‘post_process’}, $module_conf->{‘module_interval’},    $module_conf->{‘min_critical’}, $module_conf->{‘max_critical’}, $module_conf->{‘min_warning’}, $mod    ule_conf->{‘max_warning’}, $module_conf->{‘disabled’}, $module_conf->{‘min_ff_event’}, $module_conf    ->{‘extended_info’}, $module->{‘id_agente_modulo’});
  649            last;
  650        }¿ Sabéis cual puede ser el problema?
Un Saludo