plugin Dell IDRAC - centreon_dell_idrac.pl working weirdly before and last after update
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 ?
Page 1 / 1
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
it’s same return with whole sensors from this plugin
before i update the plugin this picture at the below, and when i update all become red color with this comment : No components are checked.
with --debug no more information
Hi, After upgrading to 24.10.12 (currently the latest), we’re seeing the same issue with the following plugins: