Hello
I’ve just upgrade my platform from Centreon 24.10 to 26.10
I have to supervise a pool of LENOVO SR630 V4 and I have issues for the disk and raid check.
The OID to check disk is hard coded into the lenovo-xcc plugin.
If I use the plugin on a SR630, I’ve got the good result :
/usr/lib/centreon/plugins/centreon_lenovo_xcc_snmp.pl --plugin=hardware::server::lenovo::xcc::snmp::plugin --mode=hardware --hostname= www.xxx.yyy.2 --snmp-version=3 --snmp-force-getnext --snmp-username=USERID --component=disk --no-component=OK --debug
OK: All 5 components are ok [5/5 disk]. | 'count_disk'=5;;;;
snmp request: [1] snmpwalk -v3 -r5 -t1 www.xxx.yyy.2 -uUSER -lnoAuthNoPriv -On .1.3.6.1.4.1.19046.11.1.1.12.2.1
.1.3.6.1.4.1.19046.11.1.1.12.2.1.1.0 = 0
.1.3.6.1.4.1.19046.11.1.1.12.2.1.1.1 = 1
.1.3.6.1.4.1.19046.11.1.1.12.2.1.1.2 = 2
.1.3.6.1.4.1.19046.11.1.1.12.2.1.1.26 = 26
.1.3.6.1.4.1.19046.11.1.1.12.2.1.1.27 = 27
.1.3.6.1.4.1.19046.11.1.1.12.2.1.2.0 = Drive 0
.1.3.6.1.4.1.19046.11.1.1.12.2.1.2.1 = Drive 1
.1.3.6.1.4.1.19046.11.1.1.12.2.1.2.2 = Drive 2
.1.3.6.1.4.1.19046.11.1.1.12.2.1.2.26 = M2 Drive 0
.1.3.6.1.4.1.19046.11.1.1.12.2.1.2.27 = M2 Drive 1
.1.3.6.1.4.1.19046.11.1.1.12.2.1.3.0 = Normal
.1.3.6.1.4.1.19046.11.1.1.12.2.1.3.1 = Normal
.1.3.6.1.4.1.19046.11.1.1.12.2.1.3.2 = Normal
.1.3.6.1.4.1.19046.11.1.1.12.2.1.3.26 = Normal
.1.3.6.1.4.1.19046.11.1.1.12.2.1.3.27 = Normal
Checking disks
disk 'Drive 0' status is Normal [instance: 0].
disk 'Drive 1' status is Normal [instance: 1].
disk 'Drive 2' status is Normal [instance: 2].
disk 'M2 Drive 0' status is Normal [instance: 26].
disk 'M2 Drive 1' status is Normal [instance: 27].
But for a SR630 V4, the same plugin had no result :
/usr/lib/centreon/plugins/centreon_lenovo_xcc_snmp.pl --plugin=hardware::server::lenovo::xcc::snmp::plugin --mode=hardware --hostname=www.xxx.yyy.1 --snmp-version=3 --snmp-force-getnext --snmp-username=USERID --component=disk --no-component=OK --debug
OK: All 0 components are ok []. - No components are checked.
snmp request: [1] snmpwalk -v3 -r5 -t1 www.xxx.yyy.1 -lnoAuthNoPriv -uUSER -On .1.3.6.1.4.1.19046.11.1.1.12.2.1
Checking disks
I add the --no-component=OK argument, because if not, all the result from this command are in CRITICAL status
After check, a SR630 use XCC (XClarity Controller) and a SR630 V4 use XCC3 (XClarity Controller V3) and in XCC3, the OID for Disk is not .1.3.6.1.4.1.19046.11.1.1.12.2.1 anymore, but .1.3.6.1.4.1.19046.11.1.1.15.2.1
And as the OID is hard coded into the plugin, we can’t have a result
Do you know if there is a solution to have the result for Disk and Raid Volume for SR630 V4 ?
