| Title: | Ask the Storage Architecture Group | 
| Notice: | Check out our web page at http://www-starch.shr.dec.com | 
| Moderator: | SSAG::TERZA N | 
| Created: | Wed Oct 15 1986 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 6756 | 
| Total number of notes: | 25276 | 
    Hi,
    Need some help with Raid Array 450,SWCC V1.1 and mail notification.
    
    Customer running Digital_Unix V3.2g and has setup mail notification
    in SWCC. After failing a drive, he gets a syslog message but does
    not receive a mail notification.
    DXconsole reports:-
    /opt/steam/bin/spmsg.sh 1: not found
    /opt/steam/bin/spmsg.sh sed: not found
    
    We can reproduce this problem here at the CSC with V1.1A SWCC and
    DU V4.0
    
    Any help appreciated.
    
    Regards,
    Steve Hagan
    Digital CSC
    Sydney,Australia.
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 6671.1 | 1.1B Fixes | NQOS01::nqsrv406.nqo.dec.com::smith_p | Tue May 13 1997 10:38 | 3 | |
| Request version 1.1B and this should resolve most of you problems. Paul | |||||
| 6671.2 | Same Problem - POST A FIX PLEASE!!! | VNASWS::HAUSB | Its a hard life in the mountains | Thu Jun 05 1997 08:04 | 9 | 
| I have the same problem on DU 4.0B. I copied the SWCC 1.1B kit over the net. Can you please post a WORKING steamd + its scripts + notify I need that URGENT for a customer installation! Thanks Gerhard | |||||
| 6671.3 | replace spmsg.sh | GIDDAY::LUSTENHOUWER | set success=work_as_team/perm | Fri Jun 06 1997 06:06 | 54 | 
|        The fix mentioned in 6671 was is attached.
       Replace the file spmsg.sh in /opt/steam/bin
    
    Reg
    -----cut here----------------------------------------
#! /bin/sh
# 
# *****************************************************************
# *                                                               *
# *    Copyright (c) Digital Equipment Corporation, 1996          *
# *                                                               *
# *   All Rights Reserved.  Unpublished rights  reserved  under   *
# *   the copyright laws of the United States.                    *
# *                                                               *
# *   The software contained on this media  is  proprietary  to   *
# *   and  embodies  the  confidential  technology  of  Digital   *
# *   Equipment Corporation.  Possession, use,  duplication  or   *
# *   dissemination of the software and media is authorized only  *
# *   pursuant to a valid written license from Digital Equipment  *
# *   Corporation.                                                *
# *                                                               *
# *   RESTRICTED RIGHTS LEGEND   Use, duplication, or disclosure  *
# *   by the U.S. Government is subject to restrictions  as  set  *
# *   forth in Subparagraph (c)(1)(ii)  of  DFARS  252.227-7013,  *
# *   or  in  FAR 52.227-19, as applicable.                       *
# *                                                               *
# *****************************************************************
#
# This script is called by the Spinnaker Agent when it is processing
# messages to the system log. The name of this script must be 'spmsg.sh'
# and reside in the steam 'bin' directory.
#
# Arguments:
#	Severity: The severity of the event.
#		0=Information.
#		1=Warning.
#		2=Error.
#
#	Message: The message string.
#
# Modified 3/16/97 == Added the forgoton PATH  Warren Sypteras
#
PATH=.:/etc:/bin:/usr/bin:/usr/ucb:/sbin
export PATH
# build the notify program name from this script program name
# i.e. convert 'spmsg.sh' to 'notify.exe'.
PROGRAM=`echo $0 | sed "s/\spmsg.sh/\notify.exe/g"`
# execute the notify.exe program, sending the severity and message as arguments
$PROGRAM $1 "$2"
    
 | |||||