![](https://seccdn.libravatar.org/avatar/c707e1599d8e9f78a390b0643118b43d.jpg?s=120&d=mm&r=g)
Per Jessen wrote:
Yamaban wrote:
On Thu, 5 Mar 2015 09:07, Per Jessen wrote:
Stanislav Brabec wrote: [snip]
Monitoring vital data is enabled in openSUSE since 2010. It is done twice a hour.
I'm curious, how is this done? I don't see anything in smartd.conf nor any cronjob. I don't recall receiving any reports either.
This is not in smartd.conf. It is defined by command line of smartd. See smartd --help or smartd(8) man page: -A and -s. If not specified, both are on by default.
look into the contents of /var/lib/smartmontools/
only one file:
cat /var/lib/smartmontools/smartd_opts # Generated by /usr/lib/smartmontools/generate_smartd_opts smartd_opts=""
This file is used by SUSE specific connector to YaST sysconfig editor: See "yast2 sysconfig" Hardware->S.M.A.R.T. Here are two configuration options. Both should be "yes" by default. SMARTD_SAVESTATES SMARTD_ATTRLOG The activation script just creates command line for smartd. Empty smartd_opts variable means, that both features are on.
for config: /etc/smartd.conf and look for the default values in "man 5 smartd.conf"
/etc/smartd.conf only has one line: DEVICESCAN -d removable
The logs are there, just not pressed upon the users.
Where do I look for the logs?
If smartd is running, it creates: /var/lib/smartmontools/attrlog.MODEL-SERIAL.ata.csv and /var/lib/smartmontools/smartd.MODEL-SERIAL.TYPE.state -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org