Skip to content

[storage::hp::msa2000::snmp::plugin]: undefined value as a subroutine reference at /usr/lib/centreon/plugins/centreon_hp_msa2000.pl line 11214 #5899

@christophe-activiumid

Description

@christophe-activiumid

Bug report

Quick description

In one or two sentences, what is your bug about?

running
/usr/lib/centreon/plugins/centreon_hp_msa2000.pl --plugin=storage::hp::msa2000::snmp::plugin --mode=hardware --hostname=xxxx --snmp-version='2c' --snmp-community='public' --component='.*' --verbose --snmp-timeout=10

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

Please provide the initial conditions to reproduce the bug down below
centreon plugin : noarch 20251100-1.el8

rolling back to version 20250800-1.el8 fix the issue

apparently a fix is here :
https://thewatch.centreon.com/infra-monitoring-platform-7/hp-msa-plugin-issue-5219?postid=18533#post18533 but this is for the compiled plugin, not sure where it is in the src file

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions