Re: script to see if TSM Server is down
2002-03-15 12:18:14
Subject: |
Re: script to see if TSM Server is down |
From: |
George Lesho <GLesho AT AFCE DOT COM> |
Date: |
Fri, 15 Mar 2002 11:02:00 -0600 |
I wrote this one for the scheduler but you can modify the grep for the
server process...
#!/bin/ksh
#check to make sure TSM scheduler running
cd /usr/local/bin
SCHED=$(ps -aef | grep -v grep | grep -v tsmsched.scr | grep sched)
echo "${SCHED}" | while read -r SCHEDULER_RUNNING
do
case "${SCHEDULER_RUNNING}" in
"")
echo "TSM Scheduler not running at `date`" >>
/tmp/tsmscheduler.log
echo "The TSM Scheduler was restarted at `date`" >>
/tmp/tsmscheduler.log
telinit a
echo "TSM Scheduler was restarted at `date`" | mail -s "TSM
Scheduler quit!" "lesho AT satx DOT net" "foreiron AT yahoo DOT co
m" "glesho AT afce DOT com"
;;
*)
;;
esac
done
George Lesho
System/Storage Admin
AFC Enterprises
Marc Levitan
<marc.levitan@ To: ADSM-L AT VM.MARIST DOT EDU
PFPC.COM> cc: (bcc: George
Lesho/Partners/AFC)
Sent by: Subject: script to see if TSM
Server is down
"ADSM: Dist
Stor Manager"
<ADSM-L AT VM DOT MAR
IST.EDU>
03/15/02 10:02
AM
Please respond
to "ADSM: Dist
Stor Manager"
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, 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
- script to see if TSM Server is down, Marc Levitan [mailto:marc.levitan
- Re: script to see if TSM Server is down, Taha , Hana [mailto:Hana.Taha
- script to see if TSM Server is down, Marc Levitan [mailto:marc.levitan
- Re: script to see if TSM Server is down, SBCSI
- Re: script to see if TSM Server is down, Taha , Hana [mailto:Hana.Taha
|
|
|