[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ssag::ask_ssag

Title:Ask the Storage Architecture Group
Notice:Check out our web page at http://www-starch.shr.dec.com
Moderator:SSAG::TERZAN
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

6671.0. "SWCC and Mail notification!" by GIDDAY::HAGAN () Fri May 09 1997 01:09

    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.RTitleUserPersonal
Name
DateLines
6671.11.1B FixesNQOS01::nqsrv406.nqo.dec.com::smith_pTue May 13 1997 11:383
Request version 1.1B and this should resolve most of you problems.

Paul
6671.2Same Problem - POST A FIX PLEASE!!!VNASWS::HAUSBIts a hard life in the mountainsThu Jun 05 1997 09:049
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.3replace spmsg.shGIDDAY::LUSTENHOUWERset success=work_as_team/permFri Jun 06 1997 07:0654
       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"