On Mon, 23 Feb 2004, Daniel Fernandez wrote:
[...]
> On the other hand, is possible to deviate smartd log to a specific file
> and check it regularly when it's updated, adding this parameter to
> smartd:
>> -l facility
>> Of course some syslog.conf modifying will be needed to instruct syslogd
> to log on a specific file from the "facility" specified.
Thanks for the hints, I was not yet aware of the -l and -M flags.
Still, I think directly calling "smartctl" from a cron job is the
better solution. With just smartd and the flags above, you still won't
get any updates if the smartd simply dies and you won't even notice,
because grep simply finds the last entry in the log. Besides, you
still have the problem of log rotate (except if you let grow your log
file forever...).
Regards,
Felix
---
Felix Rauch | Email: rauch at inf.ethz.ch
Institute for Computer Systems | Homepage: http://www.cs.inf.ethz.ch/~rauch/
ETH Zentrum / RZ H18 | Phone: ++41 1 632 7489
CH - 8092 Zuerich / Switzerland | Fax: ++41 1 632 1307
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf