thomas-krenn / check_ipmi_sensor_v3

Monitoring plugin to check IPMI sensors
https://www.thomas-krenn.com/en/wiki/IPMI_Sensor_Monitoring_Plugin
GNU General Public License v3.0
54 stars 21 forks source link

Possible fix for #29 - Update regex of FRU for parsing not only digits #40

Closed MarcusCaepio closed 4 years ago

MarcusCaepio commented 4 years ago

This commit should fix it, as the regex now parses everything behind the columns. I don't have serials with columns, so please recheck this with valid hosts. Tests with my hosts and a regex test were ok.

gschoenberger commented 4 years ago

Yes, this regex should catch all behind ":" as FRU output consists of: FRU Product Manufacturer Name: Thomas-Krenn.AG FRU Product Name: 2HE Supermicro Chassis THX!