Here is what I do (crude, but it works). I do this from a box that TSM
is not running on, in case not only TSM crashes, but the whole box
crashes:
#!/usr/bin/ksh
ADMIN=userid
ADMINPASS=passwrd
ADSMPATH=/usr/bin
$ADSMPATH/dsmadmc -id=$ADMIN -password=$ADMINPASS q proc > /tmp/proc.out
temp=`grep -c AIX /tmp/proc.out`
if [ "$temp" = "0" ]; then
/usr/bin/mailx user@email < /usr/local/adsmdown
fi
Andy Carlson |\ _,,,---,,_
[EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_
BJC Health System |,4- ) )-,_. ,\ ( `'-'
St. Louis, Missouri '---''(_/--' `-'\_)
Cat Pics: http://andyc.dyndns.org/animal.html
On Fri, 15 Mar 2002, Marc Levitan wrote:
> Hi All -
>
> Does anyone have a script that will send out an email alert if the TSM
> server goes down.
>
> I am running AIX 4.3.0
> TSM 3.7.4
>
> Thanks!
> Marc Levitan
> Storage Manager
> PFPC Global Fund Services
>