no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
— | server_und_serverdienste:hdd-temp [2017/04/01 18:41] (aktuell) – angelegt admin | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== HDDTEMP ====== | ||
+ | |||
+ | hddtemp is a small utility (daemonizable) that gives you the temperature of your hard drive by reading S.M.A.R.T. informations (for drives that support this feature). | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | |||
+ | First get hddtemp by | ||
+ | |||
+ | < | ||
+ | |||
+ | After that do test if hddtemp is working properly | ||
+ | |||
+ | < | ||
+ | |||
+ | If you get something like | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | then your database file may be too old or the drive too new. You can update your drive manually by editing the database file **/ | ||
+ | |||
+ | < | ||
+ | |||
+ | This will give: Model: HDS722525VLAT80. Take that model descriptor and add it to the database: | ||
+ | |||
+ | < | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | **Make sure, that your temperature is referred in field 194 of the S.M.A.R.T interface and is in degrees celsius** otherwise correct the two fields. Read the man page of hddtemp, how to check this. | ||
+ | |||
+ | Define the drives you want to monitor in **/ | ||
+ | |||
+ | < | ||
+ | HDDTEMP_DRIVES="/ | ||
+ | </ | ||
+ | |||
+ | Start the init script for this session and add it to the default runlevel: | ||
+ | / | ||
+ | rc-update add hddtemp default | ||
+ | Wobei das Hinzufügen zum Runlevel in Baselayout2 nicht mehr sein muss. Es wird beim Check der Temperatur automatisch in den dynamischen Runlevel eingefügt. | ||
+ | |||
+ | |||
+ | ===== View temperature in the webbrowser ===== | ||
+ | |||
+ | |||
+ | Open [[http:// | ||
+ | |||
+ | |/ | ||
+ | |||
+ | Meaning that /dev/sda is at 34°C, /dev/sdb at 38°C and /dev/sdc at 38°C | ||