From: BitBucket <fil...@gm...> - 2009-05-13 02:49:27
|
Uh, but it turns out I'm not smart enough to understand it. I inserted the option in smartd.conf, but got the below error from Windows 2003 Server system. Reread the man page and couldn't find any man pages for syslog.syslog.conf, syslogd, and syslog. The line containing 'DEVICESCAN' has been commented out, so I'm unclear as to why it's interpreting this option as a directive. -- Roy Lines from smartd.conf: -------------------------------------------------- /dev/hda \ -a \ -W 2,40,45 \ -o on \ -S on \ -s (S/../.././04|L/../../6/05) \ -m sysmsgbox -M test \ -l local3 /dev/hdb \ -a \ -W 2,40,45 \ -o on \ -S on \ -s (S/../.././04|L/../../6/05) \ -m sysmsgbox -M test \ -l local4 -------------------------------------------------- Error in Windows application log: -------------------------------------------------- Event Type: Error Event Source: smartd Event Category: None Event ID: 4 Date: 5/12/2009 Time: 19:12:23 User: N/A Computer: K7N Description: The description for Event ID ( 4 ) in Source ( smartd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: smartd, 2372, CRIT, File ./smartd.conf line 164 (drive /dev/hda): Invalid argument to -l Directive: local3, Valid arguments to -l Directive are: , error, selftest, Configuration file ./smartd.conf has fatal syntax errors.. -------------------------------------------------- ----- Original Message ----- From: "BitBucket" <fil...@gm...> To: "Christian Franke" <Chr...@t-...> Cc: <sma...@li...> Sent: Tuesday, May 12, 2009 18:47 Subject: Re: [smartmontools-support] How have smartd log to file instead ofsyslog Thanks. -- found it. ----- Original Message ----- From: "Christian Franke" <Chr...@t-...> To: "BitBucket" <fil...@gm...> Cc: <sma...@li...> Sent: Tuesday, May 12, 2009 14:17 Subject: Re: [smartmontools-support] How have smartd log to file instead of syslog BitBucket wrote: > Some time ago I knew how to tell smartd to log to a local file instead > of syslog, but I seem to have forgotten what the option was and I > can't find it now. See '-l local0' option (not directive) on smartd man page. Cheers, Christian |