[smartmontools-support] smartd and blat issue

Sergiu srj.elmi at gmail.com
Thu Aug 30 13:12:04 CEST 2018


Hello,

I am trying to set smartd with blat to send email if an error is caught but
I can't seem to make a proper setting.

At first I set smartd to access blat.exe but blat always returned an exit
status 1:

smartd[8580]:CRIT: Test of blat.exe to mail at mail.com: failed, exit status 1

Now , I have created a batch file to set the server name and account:

blat.exe -server server.mail.com -f sender at mail.com -to mail at mail.com

and set smartd to execute it. Now the test email is sent but I still
receive an error each time from blat:

smartd[11488]:CRIT
Test of blat.bat to mail at mail.com produced unexpected output (202 bytes) to
STDOUT/STDERR:
Blat v3.2.19 (build : Nov 18 2017 03:14:35)
32-bit Windows, Full, Unicode
Sending stdin.txt to mail at mail.com
Subject: Contents of file: stdin.txt
Login name is sender at mail.com

Can anyone help me understand what is going on and how to fix it?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20180830/1c06d022/attachment.html>


More information about the Smartmontools-support mailing list