Ubuntu Forums Archive Viewer

How do I set up smartd and smart-notifier

Archived thread 1000220 from New to Ubuntu. Markdown source: New_to_Ubuntu/thread_1000220_How_do_I_set_up_smartd_and_smart-notifier.md

Original URL About this archive
#1

I would like to have smartd (from smartmontools) run at startup. I've installed the package but can't get the daemon to run.

Also, I installed smart-notifier, but it will not run either. When I try to start it from the command line, it just sits there and I have to do a ctrl+c to kill it. After which it reports:


Traceback (most recent call last):
  File "/usr/bin/smart-notifier", line 17, in <module>
    smart_notifier.gui.service()
  File "/usr/share/smart-notifier/smart_notifier/gui.py", line 52, in service
    gtk.main()
KeyboardInterrupt

Can someone please help?

#2

Uncomment the &#8220;#start_smartd=yes&#8221; line by removing the &#8220;#&#8221; in /etc/default/smartmontools.