Re: [Monitorix-general] Special characters in IPMI config
Monitorix is a system monitoring tool
Brought to you by:
mikaku
From: Jordi S. <jo...@fi...> - 2018-09-03 07:59:57
|
Hi, Thanks for such a detailed and informative email, and glad to know you are enjoying Monitorix! :) I think that the problem is in the label '+12V'. Try to escape the plus sign. Just like this: 2 = CPU0 VCORE, 3.3V, \+12V, VBAT, 5V and just let us know. Thanks. On 08/31/2018 09:22 PM, mr2dave wrote: > Hi Jordi, et al. > > I'm having trouble configuring IPMI monitoring on a Tyan S7012 board, > running CentOS Linux release 7.5.1804, using monitorix 3.10.1-1.el7 > from the epel repo. > I suspect the problem is special characters, but I'm unsure of the > proper way to escape them. I tried a backslash but that didn't fix it > and now I'm out of idea. Monitorix is awesome btw, thanks for making it > and for making it open source. > > 'ipmitool sdr' outputs the following: > CPU0 below Tmax | 48 degrees C | ok > CPU1 below Tmax | disabled | ns > DIMM0 Area(RT3) | 27 degrees C | ok > PCI Area(RT2) | 31 degrees C | ok > CPU0 VCORE | 0.85 Volts | ok > CPU1 VCORE. | disabled | ns > 3.3V | 3.38 Volts | ok > +12V | 11.90 Volts | ok > VBAT | 3.22 Volts | ok > 5V | 4.87 Volts | ok > Sys.1(CPU 1) | 2610 RPM | ok > Sys.2(CPU 0) | 0 RPM | cr > Sys.3(Front 1) | 3330 RPM | ok > Sys.4(Front 2) | 3420 RPM | ok > Sys.5(Rear 1) | 0 RPM | cr > Sys.6 | 0 RPM | cr > Sys.7 | 0 RPM | cr > Sys.8 | no reading | ns > Sys.9 | 0 RPM | cr > Sys.10 | 0 RPM | cr > PSU Status | Not Readable | ns > > Note the (brackets) and the +12V. > > The IPMI portion of my config looks like this: > # IPMI graph > # ------------------------------------------------------------------- > ---------- > <ipmi> > list = Temperatures, Fans, Voltages > <desc> > 0 = CPU0 below Tmax, DIMM0 Area(RT3), PCI > Area(RT2) > 1 = Sys.1(CPU 1), Sys.3(Front 1), Sys.4(Front 2) > 2 = CPU0 VCORE, 3.3V, +12V, VBAT, 5V > </desc> > <units> > 0 = degrees C > 1 = RPM > 2 = Volts > </units> > <map> > </map> > <alerts> > </alerts> > graphs_per_row = 3 > rigid = 0 > limit = 100 > </ipmi> > > I get the following output in /var/log/monitorix: > ipmi_update(): Quantifier follows nothing in regex; marked by <-- HERE > in m/^(+ <-- HERE 12V)\s+\|\s+(\d+\.*\d*)\s+Volts\s+/ at > /usr/lib/monitorix/ipmi.pm line 161. > > That error just repeats. It isn't complaining about the ones with > brackets. > Monitoring works for sensors with no special characters in their names, > but I get 0.0 for the rest. Images attached. Any ideas? > > -- Jordi Sanfeliu FIBRANET Network Services Provider https://www.fibranet.cat |