Re: script to see if TSM Server is down
2002-03-15 11:57:41
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 |\ _,,,---,,_
andyc AT andyc.carenet DOT org 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
>
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- script to see if TSM Server is down, Marc Levitan
- Re: script to see if TSM Server is down,
Andy Carlson <=
- Re: script to see if TSM Server is down, Taha, Hana
- Re: script to see if TSM Server is down, PINNI, BALANAND (SBCSI)
- Re: script to see if TSM Server is down, Miles Purdy
- Re: script to see if TSM Server is down, Taha, Hana
- Re: script to see if TSM Server is down, Martin, Jon R.
- Re: script to see if TSM Server is down, Shawn Bierman
- Re: script to see if TSM Server is down, George Lesho
- Re: script to see if TSM Server is down, PINNI, BALANAND (SBCSI)
- Re: script to see if TSM Server is down, Michael Benjamin
|
|
|