nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.63k stars 1.52k forks source link

SMART plugin does not show information #2525

Closed der-tkw closed 1 year ago

der-tkw commented 1 year ago

Describe the bug SMART information of my drives is not shown in terminal and/or webui.

To Reproduce Steps to reproduce the behavior:

  1. Start Glances sudo /usr/bin/glances -w --enable-plugin smart

Expected behavior SMART information is shown in terminal and/or webui.

Environement

Additional context

=== START OF INFORMATION SECTION === Model Family: WD Blue / Red / Green SSDs Device Model: WDC WDS500G1R0A-68A4W0 [...]

nicolargo commented 1 year ago

Installation through DNF only include basics dependencies, you need to install SMART python lib on your system in order to make the Glances plugin works (see optional dependencies list here: https://github.com/nicolargo/glances#readme) .

My advice, if it is possible, uninstall Glances with DNF and use the following procedure to install Glances with all the deps you want: https://github.com/nicolargo/glances#pypi-the-standard-way, example:

pip install --user 'glances[web,smart,raid]'

or full faiture:

pip install --user 'glances[all]'