how to control how often smartd-runner fires.

Ray Andrews <[email protected]> Wed, 18 Jan 2017 09:22:40 -0800
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Gentlemen:

I'm trying to control how often 'smart-notifier'/'smartd-runner' sends 
me a message.  I seem to be able to control how often 'smartd' itself runs:

in /etc/smartd.conf:

DEVICESCAN -a -i 30 -m root -M test -M exec 
/usr/share/smartmontools/smartd-runner

Then:

$  smartctl -t short /dev/sdb
$ killall -HUP smartd
$ /etc/init.d/smartmontools restart

... and sure enough the test messages popup, but they contain no 
actualinformation.

But it seems that setting '-i xxxx' to anything does not change how 
often smartd-runner works in practice, I get about one message per day.

  Also, I get the same message over and over again about my 77 pending 
sectors, but it's been 77 pending sectors for years, and I'd really 
rather not seeany further notifications about it untilsomethingelse goes 
wrong.

And, is there some way of running smartd/smart-notifier/smartd-runner as 
a test 'right now' but with realtest information, not just the 'dummy' 
output of the  '-M test' ?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support