>
> Has anyone out there managed to get volwatch to send mail to a smtp
> address.
>
> #man volwatch and the manuals aren't very helpful.
>
> Apparently volwatch will send any LSM errors to a mail user using
mailx.
>
>
> I have tried ..
>
>
> # volwatch bill.boddy_at_nts.hl.siemens.de and it just hangs. It also
> hangs if you type
> # volwatch root
>
> Cheers
>
>
> Bill Boddy
Hi,
I've done it. You have to modify two files: /etc/rc.config and
/sbin/init.d/lsm
1) add the following lines to /etc/rc.config:
LSMNOTIFYID="root,user_at_host"
export LSMNOTIFYID
2) make the following modifications to /sbin/init.d/lsm:
After the export PATH line at the start of the file add:
USER_ID='rcmgr get LSMNOTIFYID root'
and change the line:
/usr/sbin/volwatch &
to:
/usr/sbin/volwatch $USER_ID &
Received on Tue Feb 10 1998 - 15:15:14 NZDT