From: Boddy Bill NTSE <Bill.Boddy () nts ! hl ! siemens ! de>
To: tru64-unix-managers
Subject: SUMMARY volwatch
Date: Tue, 10 Feb 1998 14:09:06 +0000 [thread overview]
Message-ID: <96078694111228.tru64-unix-managers.marc@archive.invalid> (raw)
>
> 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@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@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 &
reply other threads:[~1998-02-10 14:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox