Skip to main content
Question

HP MSA plugin issue

  • November 18, 2025
  • 2 replies
  • 27 views

Hello,

I updated multiple servers to Debian 12 and all Centreon 24.10.18. I got an issue with the HP MSA plugin

UNKNOWN: Can't use an undefined value as a subroutine reference at /usr/lib/centreon/plugins//centreon_hp_msa2000.pl line 11214.

or

UNKNOWN: Can't use an undefined value as a subroutine reference at /usr/lib/centreon/plugins//centreon_hp_msa2000.pl line 11168.

(It depend of the update).

 

both are targeting the line : $func->($self);

}
sub load_components {
my ($self, %options) = @_;

foreach (@{$self->{components_module}}) {
if (/$self->{option_results}->{component}/) {
my $mod_name = $self->{components_path} . "::$_";
centreon::plugins::misc::mymodule_load(
output => $self->{output}, module => $mod_name,
error_msg => "Cannot load module '$mod_name'.") if ($self->{load_components} == 1);
$self->{loaded} = 1;
if ($self->{components_exec_load} == 1) {
my $func = $mod_name->can('load');
$func->($self);
}
}
}
}

Any idea ? 😶

 

Thanks.

2 replies

Forum|alt.badge.img+5
  • Steward *
  • November 20, 2025

same problem i have remove and install old version on my poller alma8

yum remove centreon-plugin-Hardware-Storage-Hp-Msa2000-Snmp -y
yum install centreon-plugin-Hardware-Storage-Hp-Msa2000-Snmp-20250800-1.el8.noarch -y
 


Forum|alt.badge.img+5
  • Steward *
  • November 26, 2025

same problem with my preprod in centreon 25.10