[Eisfair_dev] E1 smartmon 1.6.3

Marcus Roeckrath marcus.roeckrath at gmx.de
So Okt 15 10:46:07 CEST 2017


Hallo Thomas,

Thomas Zweifel wrote:

> This email was generated by the smartd daemon running on:
> 
>    host name: eis
>   DNS domain: irgend.wo
>   NIS domain: (none)
> 
> The following warning/error was logged by the smartd daemon:
> 
> Device: /dev/sdb, ATA error count increased from 667 to 670
> 
> For details see host's SYSLOG (default: /var/log/messages).
> 
> You can also use the smartctl utility for further investigation.
> No additional email messages about this problem will be sent.

Mir fällt gerade auf, dass die Optik der Mail nicht ganz passt, denn mit der
neuen Version sollte sie etwas so aussehen:

This message was generated by the smartd daemon running on:

   host name:  eis
   DNS domain: senden.germany

The following warning/error was logged by the smartd daemon:

TEST EMAIL from smartd for device: /dev/hda

Device info:
ST3160215A, S/N:9RABEDAP, FW:3.AAD, 160 GB

For details see host's SYSLOG.
-------------------------------------------------------
The following partitions are affected:
Device /dev/hda:
 - /dev/hda1 mounted on /boot
 - /dev/hda3 mounted on /
-------------------------------------------------------

Gibt es bei Dir /etc/smartd_warning.sh?

eis # ls -la /etc/smartd_warning.sh
-rwxr-xr-x 1 root root 5847 Aug 27 12:15 /etc/smartd_warning.sh

Bitte restarte den Service und poste die komplette Testmail (eventuell
vorher in der Konfiguration die Testmail anschalten).

Was ergibt folgender Befehl:

export SMARTD_MAILER="/var/install/bin/smartmon-mail" ; export
SMARTD_FAILTYPE="ErrorCount" ;  /etc/smartd_warning.sh --dryrun

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair_dev