[Eisfair] smartmon mit /dev/cciss/c0d0 funktioniert nicht mehr

Jürgen Witt j-witt at web.de
Sa Dez 3 13:57:03 CET 2016


Hallo Marcus,

Am 03.12.2016 um 13:38 schrieb Marcus Roeckrath:
> Hallo Jürgen Witt,
>  
> Unter
> 
> http://home.foni.net/~marcusroeckrath/eisfair/smartmon.sh
> 
> liegt eine geänderte Version von
> 
> /var/install/config.d/smartmon.sh
> 
> die
> 
> - cciss nicht mehr bis 127 sondern nur noch Unterdevices bis 15 untersucht
> (also von z. B. c0d0,0 bos c0d0,15)
> 
> - die Konfiguration smartd.conf auch erstellt, wenn Device vorhanden aber
> Fehler hat
> 
> - bei vorhandenem Device mit Fehlern eine Error-text ausgibt
> 
> Ersetze mal die Datei, nach vorherigem Sichern der
> alten /var/install/config.d/smartmon.sh) und teste, ob nun die
> Konfigurationsdatei erstellt wird und dir zudem die Fehlerwarnung angezeigt
> wird.

vielen Dank.

OK, das sieht jetzt so aus:

Checking configuration file ...

Configuration file was saved as smartmon.2016-12-03-13-50-28 in
/etc/backup.d.
Backup directory contained 11 files for package smartmon (1 removed).

Activate configuration now (y/n) [yes]?
smartd monitors the following devices:
 - Compaq Smart Array SCSI drive '0' on '/dev/cciss/c0d0' (Monitoring
only - Plotting not supported)
   Drive reports (eventually critical) errors! Errorcode: '128'
smartd is not running.
smartd successfully started.
Press ENTER to continue

smartd läuft jetzt also.

Ich weiß jetzt nicht, ob das schon 'mal ging oder den SMART-Status der
Platte bekomme ich nicht angezeigt.

Beim Aufrufen wird kurz dies angezeigt

"/bin/sh" "/var/install/bin/smartmon-report" "pre" "smartmon" "doc"
"/var/smartmon/smartmon_report" "" "Show S.M.A.R.T. drive status"

 und danach wird nichts ausgegeben.

Danke und Gruß
Jürgen


Mehr Informationen über die Mailingliste Eisfair