Need driver for hardware watchdog
-
Add it into your config.xml
<installedpackages>[...] <menu> <name>IPMP Sensors</name> <tooltiptext>IPMP Sensors</tooltiptext> Diagnostics <url>/diag_ipmi-sensors.php</url> </menu> [...]</installedpackages>
No code hacks, and it'll never go away.
-
Thanks a lot!
-
Thanks Jimp!!! I'm always learn something new from you :-)
-
one more question: after adding the item to the config.xml, do i have to reboot or is there a manual way to get the menus reloaded to get the new entry shown?
Thanks again for your help! -
If you just restore the config it may force a reboot. If you edit it in live on the box in the gui, then rm /tmp/config.cache
If you edit it from the console with viconfig, it will do that automatically and should show up next time you refresh the page in the browser.
-
Another change i did, which is cosmetic:
in the "diag_ipmi-sensors.php" i changed the call of the sensors from
$text = `/usr/local/sbin/ipmi-sensors`
to
$text = `/usr/local/sbin/ipmi-sensors | sed 's/\[Unrecognized\ State\].*/\ /'`;
So the final entry of the ipmi-sensors output doesn't have the multiple "[Unrecognized State]" occurencies which destroy the page-layout. Its a crude hack, but works - with the Supermicro board.
And again thanks jimp for your quick answer to reload the menu! Great! That makes test changes quickly.
-
Good stuff guys! I have updated my article to raise the hearbeat (although it worked fine for me) and added instructions how to add the diagnostics menu item.
Keep up the good work!
-
Thanks for the code change igor!! I've been meaning to play with it as I didn't like the spacing either.
-
Sorry for being somewhat active the last days, but i did a bit more looking about and ended with this:
$text = `/usr/local/sbin/ipmi-sensors | sed -e 's/\[[^P].*\]*/\[OK\]/' -e 's/\:\ /\:\t/g'`;
it reproduces now the following output:
edit: the regex has an error, it should be this:```
's/[[^PO].*]//' -e 's/:\ /:\t/g' 
-
i like the new format!! thanks again..
I wish i could get my box down to 32c/27c i'm running 56c/63c….
-
Nice temperatures indeed. Mine is at about 48 degrees Celsius though it being totally passive cooled without a single fan.