smartmontools and periodic.conf

I have a small problem.
I’ve installed smartmontools and added
Code:
smartd_enable="YES"
to /rc.conf.

As soon as I enter
Code:
daily_status_smart_devices=”/dev/da0”
into /etc/periodic.conf I stop getting my daily mails.

# Smartctl -a /dev/da0
works.

/etc/periodic.conf contains
Code:
# periodic script dirs
local_periodic="/usr/local/etc/periodic"

and the installation of smartmontools added
Code:
/usr/local/etc/periodic/daily/smart
 
All I can see is 'weird quotes' in
Code:
daily_status_smart_devices=[color="red"]”[/color]/dev/da0[color="Red"]”[/color]

Are they actually looking like that? If so, try (explicitly)

Code:
daily_status_smart_devices="/dev/da0"
 
The weird quotes were a Word thing.
Everything worked just fine the second time periodic daily ran.
I removed the line and tried again. Same thing happened this time to. Nothing the first time the script ran and then it worked perfectly every time after that.
 
And then the next time I only got the security run mail….
I get the security run mail most of the time. I get the daily run mail some of the time and some of the time I don’t get anything at all.

There is nothing in the firewall blocking email traffic.

Any ideas?
 
Back
Top