phpsysinfo / phpsysinfo

phpSysInfo: a customizable PHP script that displays information about your system nicely
http://phpsysinfo.github.io/phpsysinfo
GNU General Public License v2.0
1.38k stars 233 forks source link

Storcli, unit of measure at BBU status. #362

Closed schabau closed 1 year ago

schabau commented 1 year ago

Hello,

I have included storcli in phpSysinfo as a test I noticed that the BBU status is displayed without a unit of measurement. (Akku-Zustand 48)

phpSysinfo_Screenshot 2022-12-01 125007

A unit of measure is listed in the raidstorcli.tmp, but it is written as a word, so there is a space between the value and the unit of measure.

BBU_Info :
========

-----------------------------------------------------------------------
Model  State   RetentionTime Temp Mode MfgDate    Next Learn           
-----------------------------------------------------------------------
iBBU08 Optimal 48 hours +    46C  5    2012/08/22 2022/12/24  00:02:41 
-----------------------------------------------------------------------

Mode 5: 48+ Hrs retention with a non-transparent learn cycle 
           and moderate service life.

Is it possible to use this specification of the unit of measure for phpSysinfo?

Many greetings Schabau

namiltd commented 1 year ago

It's a line parsing error. There should only be information about the state of the battery (good/bad). Try the current version from Github.

schabau commented 1 year ago

Hello,

I found the display of the BBU runtime in hours good, but it's okay like that. phpSysinfo_Screenshot 2022-12-01 200856 Now I hope that the status of Patrol read is displayed with storcli. With megaclisas-status, only the status of the consistency check is displayed, but nothing of the patrol read. That's why I wanted to try it with storcli. Patrol read's schedule starts tomorrow at 4:00 a.m., then I'll know more. I then also look in raidstorcli.tmp to see if there is useful information about the Patrol read status.

Thank you for your help.

Many greetings Schabau

namiltd commented 1 year ago

Continued in post https://github.com/phpsysinfo/phpsysinfo/issues/364