Dashboard SMART Status Widget - "Ident" too long and goes off screen

Started by rkubes, December 22, 2023, 05:23:42 PM

Previous topic - Next topic
Does anyone know what the "source" is for the "Ident" column on the SMART Status dashboard widget?

I have a USB thumb drive that has such a long "Ident" that it causes the "Status" column to get pushed behind the next column of widgets. See the attached screenshot.

I'd like to "shorten" this Ident, if it's possible. Or, preferably, not have the "da0" device show up here, since it's not SMART capable anyway. Or, as a third option, have the SMART Status widget automatically truncate the long name for display purposes. However, I didn't see any configuration available for the SMART widget itself.

The source of the ident is the HW itself.


smartctl -i /dev/da0


The file to modify:


/usr/local/www/widgets/widgets/smart_status.widget.php


Thanks for pointing me in the right direction. This was a super simple change to make. I also submitted a PR on the plugins git to hopefully get the correction merged.