centreon / centreon-plugins

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
https://www.centreon.com
Apache License 2.0
310 stars 273 forks source link

[hardware::server::dell::cmc::snmp::plugin] Mode hardware : add physical disk #2989

Closed s-duret closed 3 years ago

s-duret commented 3 years ago

Hello

With the Centreon Plugins, we can monitor the physical disks on DELL iDRAC but not on DELL CMC. Can you add it?

./check_centreon_dell_cmc.pl --plugin=hardware::server::dell::cmc::snmp::plugin --mode=hardware --hostname=<ServerIP> --snmp-version='2c' --snmp-community='<OurCommString>' --component='.*' --verbose

OK: All 17 components are ok [1/1 chassis, 9/9 health, 4/4 psus, 3/3 temperatures].

Product Name: PowerEdge VRTX, Service Tag: FD8W2S2, Firmware Version: 3.40.200.202101130302
Checking health
Blade status is ok [instance: 7].
Power status is ok [instance: 5].
IOM status is ok [instance: 2].
CMC status is ok [instance: 9].
Redundancy status is ok [instance: 4].
GlobalCurrentStatus is ok [instance: 1].
Temperature status is ok [instance: 8].
iKVM status is ok [instance: 3].
Fan status is ok [instance: 6].
Checking chassis
Chassis '1': power 857.000 W, current 3.785 A [instance: 1].
Checking temperatures
Processor temperature is 31C [instance: processor].
Chassis Ambient temperature is 20C [instance: chassis].
CMC Ambient temperarture is 34C [instance: ambient].
Checking power supplies
Power supply 'PS-1': power 1100.000 W, current 0.910 A, voltage 231.750 V [instance: 1.1].
Power supply 'PS-2': power 1100.000 W, current 1.023 A, voltage 231.750 V [instance: 1.2].
Power supply 'PS-3': power 1100.000 W, current 0.924 A, voltage 231.750 V [instance: 1.3].
Power supply 'PS-4': power 1100.000 W, current 0.928 A, voltage 231.750 V [instance: 1.4].

We were able to find the right OID for storage components on Dell VRTX exposed by VRTX CMC.

“The iDRAC and CMC have the same Storage attributes with some modification in CMC. The Object ID mentioned example: 1.3.6.1.4.1.674.10892.5.5.1.20.130.15.1.1 for the table group are attributes for checking on iDRAC. To check the corresponding set of attributes for VRTX CMC systems, use the Object ID example: 1.3.6.1.4.1.674.10892.2.6.1.20.130.15.1.1.”

Source: https://www.dell.com/support/manuals/pl-pl/openmanage-enterprise-modular/snmp_idrac_cmc_msm_9.5_ref_guide/idrac-mib?guid=guid-e686536d-bc8e-4e09-8e8b-de8eb052efee

garnier-quentin commented 3 years ago

i need the full snmpwalk and mib files.

s-duret commented 3 years ago

sent in private

garnier-quentin commented 3 years ago

Commit 4fafc965e1e062ab98953131b9ec1ad7d452400b