Skip to main content

my platform is almalinux 9.6 and centreon 24.10.11.

before that i update the plugin centreon-plugin-Hardware-Servers-Dell-IDrac-Snmp to the version 20250800-1.el9

when i made a check, it return me that, and to centreon web console it was ok so green color

/usr/lib/centreon/plugins//centreon_dell_idrac.pl --plugin=hardware::server::dell::idrac::snmp::plugin --mode=hardware --hostname='x.x.x.x' --snmp-version=x --snmp-community='confidentiel' --component='amperage' --verbose
OK: All 0 components are ok k].

now after the plugin update, it return that and to centreon web console it was critical so red color

/usr/lib/centreon/plugins//centreon_dell_idrac.pl --plugin=hardware::server::dell::idrac::snmp::plugin --mode=hardware --hostname='x.x.x.x' --snmp-version=x --snmp-community='confidentiel' --component='amperage' --verbose
CRITICAL: No components are checked.
Checking amperages

it’s same for all components from the plugin 

check it correctly the components before or after ? which is it correct ?

It doesn’t check the component “amperage”, so it may not be available on your iDRAC. To restore the previous behavior, use this parameter:
    --no-component
            Define the expected status if no components are found (default:
            critical).


Hello,

It seems both are correct

The old version return an OK when 0 components are found while the new version return a critical, but the output is pretty much the same

I think the goal is to warn you that no component are found and it may be a problem in the check (check on the idrac ui if the component are indeed absent or check the snmp rights)

If you want to go back to the old output, there is an option you can add to change the returned status when 0 component are found

 

You can add something like “--no-component=ok” or “--no-component=warning”  (to keep the warning) on the EXTRAOPTIONS macro

I hope it helps

 


add `--debug` to get more context


Reply