<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nullmailer on nagg.eu</title><link>https://nagg.eu/tags/nullmailer/</link><description>Recent content in Nullmailer on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 02 Feb 2017 10:20:34 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/nullmailer/index.xml" rel="self" type="application/rss+xml"/><item><title>Monitor hard disk health status with smartd on Linux</title><link>https://nagg.eu/monitor-hard-disk-health-status-with-smartd-on-linux/</link><pubDate>Thu, 02 Feb 2017 10:20:34 +0000</pubDate><guid>https://nagg.eu/monitor-hard-disk-health-status-with-smartd-on-linux/</guid><description>&lt;h2 id="this-does-not-really-works-read-this"&gt;This does not really works, read this: &lt;!-- raw HTML omitted --&gt;&lt;a href="https://nagg.eu/monitor-hard-disk-smart-status-in-python/"&gt;https://nagg.eu/monitor-hard-disk-smart-status-in-python/&lt;/a&gt;&lt;!-- raw HTML omitted --&gt;&lt;/h2&gt;
&lt;p&gt;First of all install smartmontools, it has the same name on pretty much every distro:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ emerge -a1 smartmontools
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Proceed to edit its configuration file, at the bottom of the file there is a quick explaination of all the available parameters:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat/etc/smartd.conf
---
DEVICESCAN -H -R 1 -R 5 -R 7 -R 10 -R 11 -R 196 -R 197 -R 199 -R 200 -m user@domain.tld -n standby,10,q
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Parameter &lt;code&gt;-H&lt;/code&gt; tells smartd to check the result of &lt;code&gt;overall-health self-assesment test&lt;/code&gt; which is pretty much useless, &lt;code&gt;-R&lt;/code&gt; is used to specify a single SMART attribute, if its value changes a mail is sent to &lt;a href="mailto:user@domain.tld"&gt;user@domain.tld&lt;/a&gt;.&lt;br&gt;
To send emails a MTA must be installed, in centos that is sendmail, in gentoo it is not strictly necessary to have a full fledget MTA installed, nullmailer will suffice.&lt;br&gt;
If it is not already installed:&lt;/p&gt;</description></item></channel></rss>