tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY  volwatch
@ 1998-02-10 14:09 Boddy Bill NTSE
  0 siblings, 0 replies; only message in thread
From: Boddy Bill NTSE @ 1998-02-10 14:09 UTC (permalink / raw)
  To: tru64-unix-managers


 
> 
> 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 &
				 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-02-10 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-10 14:09 SUMMARY volwatch Boddy Bill NTSE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox