Aller au contenu principal

Supermicro BMC SNMP

Contenu du Pack de supervision​

Objets supervisés​

Le Pack Supermicro collecte les données pour:

  • Sensors

Métriques collectées​

Metric nameDescriptionUnit
sensor statusStatus of the sensor
sensor_name#hardware.sensor.reading.countSensor reading value

Prérequis​

Afin de contrôler vos équipements Supermicro, le Baseboard Management Controller doit être configuré. Pour plus d'information, vous pouvez vous référer à la page officiel : https://www.supermicro.com/en/solutions/management-software/bmc-resources

Installation​

  1. Installer le Plugin sur tous les Collecteurs Centreon :
yum install centreon-plugin-Hardware-Servers-Supermicro-Bmc-Snmp
  1. Sur l'interface Web de Centreon, installer le Pack Supermicro BMC SNMP depuis la page Configuration > Gestionnaire de connecteurs de supervision

Configuration​

  • Ajoutez un nouvel Hôte depuis la page Configuration > Hôtes
  • Complétez les champs Adresse IP/DNS, Communauté SNMP et Version SNMP
  • Appliquez le Modèle d'Hôte HW-Server-Supermicro-Bmc-SNMP-custom

Si vous utilisez SNMP en version 3, vous devez configurer les paramètres spécifiques associés via la macro SNMPEXTRAOPTIONS. Plus d'informations dans la section Troubleshooting SNMP.

MandatoryNameDescription
SNMPEXTRAOPTIONSExtra options SNMP

Comment puis-je tester le Plugin et que signifient les options des commandes ?​

Une fois le Plugin installé, vous pouvez tester celui-ci directement en ligne de commande depuis un collecteur Centreon en vous connectant avec l'utilisateur centreon-engine :

/usr/lib/centreon/plugins/centreon_supermicro_bmc_snmp.pl
--plugin=hardware::server::supermicro::bmc::snmp::plugin
--mode=sensors
--hostname=10.30.2.114
--snmp-version='2c'
--snmp-community='supermicro_ro'
--verbose

La commande devrait retourner un message de sortie de la forme ci-dessous:

OK: All 60 components are ok [60/60 sensors]. | 'CPU1 Temp#hardware.sensor.reading.count'=61;10:96;5:101;; 'CPU2 Temp#hardware.sensor.reading.count'=44;10:96;5:101;; 'PCH Temp#hardware.sensor.reading.count'=43;10:85;5:90;; 'System Temp#hardware.sensor.reading.count'=29;10:80;5:85;; 'Peripheral Temp#hardware.sensor.reading.count'=33;10:80;5:85;; 'VRMCpu1 Temp#hardware.sensor.reading.count'=39;10:95;5:100;; 'VRMCpu2 Temp#hardware.sensor.reading.count'=34;10:95;5:100;; 'VRMP1ABC Temp#hardware.sensor.reading.count'=36;10:95;5:100;; 'VRMP1DEF Temp#hardware.sensor.reading.count'=37;10:95;5:100;; 'VRMP2ABC Temp#hardware.sensor.reading.count'=37;10:95;5:100;; 'VRMP2DEF Temp#hardware.sensor.reading.count'=36;10:95;5:100;; 'FAN1#hardware.sensor.reading.count'=4700;700:25300;500:25400;; 'FAN2#hardware.sensor.reading.count'=4600;700:25300;500:25400;; 'FAN7#hardware.sensor.reading.count'=4700;700:25300;500:25400;; 'FAN8#hardware.sensor.reading.count'=4700;700:25300;500:25400;; 'P1-DIMMA1 Temp#hardware.sensor.reading.count'=52;10:80;5:85;; 'P1-DIMMA2 Temp#hardware.sensor.reading.count'=45;10:80;5:85;; 'P1-DIMMB1 Temp#hardware.sensor.reading.count'=58;10:80;5:85;; 'P1-DIMMB2 Temp#hardware.sensor.reading.count'=55;10:80;5:85;; 'P1-DIMMC1 Temp#hardware.sensor.reading.count'=51;10:80;5:85;; 'P1-DIMMC2 Temp#hardware.sensor.reading.count'=59;10:80;5:85;; 'P1-DIMMD1 Temp#hardware.sensor.reading.count'=49;10:80;5:85;; 'P1-DIMMD2 Temp#hardware.sensor.reading.count'=46;10:80;5:85;; 'P1-DIMME1 Temp#hardware.sensor.reading.count'=40;10:80;5:85;; 'P1-DIMME2 Temp#hardware.sensor.reading.count'=44;10:80;5:85;; 'P1-DIMMF1 Temp#hardware.sensor.reading.count'=40;10:80;5:85;; 'P1-DIMMF2 Temp#hardware.sensor.reading.count'=39;10:80;5:85;; 'P2-DIMMA1 Temp#hardware.sensor.reading.count'=45;10:80;5:85;; 'P2-DIMMA2 Temp#hardware.sensor.reading.count'=41;10:80;5:85;; 'P2-DIMMB1 Temp#hardware.sensor.reading.count'=44;10:80;5:85;; 'P2-DIMMB2 Temp#hardware.sensor.reading.count'=45;10:80;5:85;; 'P2-DIMMC1 Temp#hardware.sensor.reading.count'=43;10:80;5:85;; 'P2-DIMMC2 Temp#hardware.sensor.reading.count'=43;10:80;5:85;; 'P2-DIMMD1 Temp#hardware.sensor.reading.count'=48;10:80;5:85;; 'P2-DIMMD2 Temp#hardware.sensor.reading.count'=42;10:80;5:85;; 'P2-DIMME1 Temp#hardware.sensor.reading.count'=49;10:80;5:85;; 'P2-DIMME2 Temp#hardware.sensor.reading.count'=51;10:80;5:85;; 'P2-DIMMF1 Temp#hardware.sensor.reading.count'=38;10:80;5:85;; 'P2-DIMMF2 Temp#hardware.sensor.reading.count'=44;10:80;5:85;; '12V#hardware.sensor.reading.count'=12.366;10.780:12.915;10.536:13.281;; '5VCC#hardware.sensor.reading.count'=5.030;4.520:5.600;4.280:5.720;; '3.3VCC#hardware.sensor.reading.count'=3.401;2.976:3.707;2.823:3.775;; 'VBAT#hardware.sensor.reading.count'=4;;;; 'Vcpu1#hardware.sensor.reading.count'=1.800;1.395:2.097;1.260:2.304;; 'Vcpu2#hardware.sensor.reading.count'=1.800;1.395:2.097;1.260:2.304;; 'VDimmP1ABC#hardware.sensor.reading.count'=1.200;1.086:1.350;1.026:1.374;; 'VDimmP1DEF#hardware.sensor.reading.count'=1.194;1.086:1.350;1.026:1.374;; 'VDimmP2ABC#hardware.sensor.reading.count'=1.200;1.086:1.350;1.026:1.374;; 'VDimmP2DEF#hardware.sensor.reading.count'=1.200;1.086:1.350;1.026:1.374;; '12VSB#hardware.sensor.reading.count'=12.325;10.765:12.910;10.505:13.300;; '3.3VSB#hardware.sensor.reading.count'=3.443;2.979:3.699;2.819:3.763;; 'P1V8_PCH#hardware.sensor.reading.count'=1.737;1.629:2.025;1.539:2.061;; 'PVNN_PCH#hardware.sensor.reading.count'=1.006;0.904:1.120;0.856:1.144;; 'P1V05_PCH#hardware.sensor.reading.count'=1.050;0.948:1.176;0.900:1.200;; 'PS1 Status#hardware.sensor.reading.count'=1;;;; 'PS2 Status#hardware.sensor.reading.count'=1;;;; 'NVMe_SSD Temp#hardware.sensor.reading.count'=33;10:65;5:70;; 'AOC_SAS Temp#hardware.sensor.reading.count'=68;10:100;5:105;; 'HDD Temp#hardware.sensor.reading.count'=31;10:50;5:55;; 'HDD Status#hardware.sensor.reading.count'=1;;;; 'hardware.sensor.count'=60;;;;
Checking sensors
sensor 'CPU1 Temp' reading is '61' [instance: 1#CPU1 Temp]
sensor 'CPU2 Temp' reading is '44' [instance: 2#CPU2 Temp]
sensor 'PCH Temp' reading is '43' [instance: 3#PCH Temp]
sensor 'System Temp' reading is '29' [instance: 4#System Temp]
sensor 'Peripheral Temp' reading is '33' [instance: 5#Peripheral Temp]
sensor 'VRMCpu1 Temp' reading is '39' [instance: 8#VRMCpu1 Temp]
sensor 'VRMCpu2 Temp' reading is '34' [instance: 9#VRMCpu2 Temp]
sensor 'VRMP1ABC Temp' reading is '36' [instance: 10#VRMP1ABC Temp]
sensor 'VRMP1DEF Temp' reading is '37' [instance: 11#VRMP1DEF Temp]
sensor 'VRMP2ABC Temp' reading is '37' [instance: 12#VRMP2ABC Temp]
sensor 'VRMP2DEF Temp' reading is '36' [instance: 13#VRMP2DEF Temp]
sensor 'FAN1' reading is '4700' [instance: 14#FAN1]
sensor 'FAN2' reading is '4600' [instance: 15#FAN2]
sensor 'FAN7' reading is '4700' [instance: 20#FAN7]
sensor 'FAN8' reading is '4700' [instance: 21#FAN8]
sensor 'P1-DIMMA1 Temp' reading is '52' [instance: 23#P1-DIMMA1 Temp]
sensor 'P1-DIMMA2 Temp' reading is '45' [instance: 24#P1-DIMMA2 Temp]
sensor 'P1-DIMMB1 Temp' reading is '58' [instance: 25#P1-DIMMB1 Temp]
sensor 'P1-DIMMB2 Temp' reading is '55' [instance: 26#P1-DIMMB2 Temp]
sensor 'P1-DIMMC1 Temp' reading is '51' [instance: 27#P1-DIMMC1 Temp]
sensor 'P1-DIMMC2 Temp' reading is '59' [instance: 28#P1-DIMMC2 Temp]
sensor 'P1-DIMMD1 Temp' reading is '49' [instance: 29#P1-DIMMD1 Temp]
sensor 'P1-DIMMD2 Temp' reading is '46' [instance: 30#P1-DIMMD2 Temp]
sensor 'P1-DIMME1 Temp' reading is '40' [instance: 31#P1-DIMME1 Temp]
sensor 'P1-DIMME2 Temp' reading is '44' [instance: 32#P1-DIMME2 Temp]
sensor 'P1-DIMMF1 Temp' reading is '40' [instance: 33#P1-DIMMF1 Temp]
sensor 'P1-DIMMF2 Temp' reading is '39' [instance: 34#P1-DIMMF2 Temp]
sensor 'P2-DIMMA1 Temp' reading is '45' [instance: 35#P2-DIMMA1 Temp]
sensor 'P2-DIMMA2 Temp' reading is '41' [instance: 36#P2-DIMMA2 Temp]
sensor 'P2-DIMMB1 Temp' reading is '44' [instance: 37#P2-DIMMB1 Temp]
sensor 'P2-DIMMB2 Temp' reading is '45' [instance: 38#P2-DIMMB2 Temp]
sensor 'P2-DIMMC1 Temp' reading is '43' [instance: 39#P2-DIMMC1 Temp]
sensor 'P2-DIMMC2 Temp' reading is '43' [instance: 40#P2-DIMMC2 Temp]
sensor 'P2-DIMMD1 Temp' reading is '48' [instance: 41#P2-DIMMD1 Temp]
sensor 'P2-DIMMD2 Temp' reading is '42' [instance: 42#P2-DIMMD2 Temp]
sensor 'P2-DIMME1 Temp' reading is '49' [instance: 43#P2-DIMME1 Temp]
sensor 'P2-DIMME2 Temp' reading is '51' [instance: 44#P2-DIMME2 Temp]
sensor 'P2-DIMMF1 Temp' reading is '38' [instance: 45#P2-DIMMF1 Temp]
sensor 'P2-DIMMF2 Temp' reading is '44' [instance: 46#P2-DIMMF2 Temp]
sensor '12V' reading is '12.366' [instance: 47#12V]
sensor '5VCC' reading is '5.030' [instance: 48#5VCC]
sensor '3.3VCC' reading is '3.401' [instance: 49#3.3VCC]
sensor 'VBAT' reading is '4' [instance: 50#VBAT]
sensor 'Vcpu1' reading is '1.800' [instance: 51#Vcpu1]
sensor 'Vcpu2' reading is '1.800' [instance: 52#Vcpu2]
sensor 'VDimmP1ABC' reading is '1.200' [instance: 53#VDimmP1ABC]
sensor 'VDimmP1DEF' reading is '1.194' [instance: 54#VDimmP1DEF]
sensor 'VDimmP2ABC' reading is '1.200' [instance: 55#VDimmP2ABC]
sensor 'VDimmP2DEF' reading is '1.200' [instance: 56#VDimmP2DEF]
sensor '12VSB' reading is '12.325' [instance: 57#12VSB]
sensor '3.3VSB' reading is '3.443' [instance: 58#3.3VSB]
sensor 'P1V8_PCH' reading is '1.737' [instance: 59#P1V8_PCH]
sensor 'PVNN_PCH' reading is '1.006' [instance: 60#PVNN_PCH]
sensor 'P1V05_PCH' reading is '1.050' [instance: 61#P1V05_PCH]
sensor 'PS1 Status' reading is '1' [instance: 63#PS1 Status]
sensor 'PS2 Status' reading is '1' [instance: 64#PS2 Status]
sensor 'NVMe_SSD Temp' reading is '33' [instance: 65#NVMe_SSD Temp]
sensor 'AOC_SAS Temp' reading is '68' [instance: 66#AOC_SAS Temp]
sensor 'HDD Temp' reading is '31' [instance: 67#HDD Temp]
sensor 'HDD Status' reading is '1' [instance: 68#HDD Status]

Cette commande contrôle le matériel (--mode=sensors) d'un équipement Supermicro ayant pour adresse 10.30.2.114 (--hostname=10.30.2.114) en version 2c du protocol SNMP (--snmp-version='2c') et avec la communauté supermicro_ro (--snmp-community='supermicro_ro').

Pour chaque mode, la liste de toutes les métriques, seuils associés et options complémentaires peut être affichée en ajoutant le paramètre --help à la commande:

/usr/lib/centreon/plugins/centreon_supermicro_bmc_snmp.pl
--plugin=hardware::server::supermicro::bmc::snmp::plugin
--mode=sensors
--help

Diagnostique​

Diagnostique des plugins