If you have packaged IBM solution "NSM" it comes with a script named isitup.
The script does advanced checking to see if the server is up.

Otherwise, here is something simple for Unix ksh.

#########
dsmadmc -id=xxx -pass=xxx 'quit'

# Whether the server is up or down it will return you to the #prompt
# Now test the return code
if [ $? != 0 ]
then
        mail -s "TSM IS DOWN" [EMAIL PROTECTED]
fi
#########

Note the id and password don't need to be the administrator id.  You could
use an id with not authority.  It isn't foolproof but it solves the problem.


Thanks,
Jon Martin
-----Original Message-----
From: Taha, Hana [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: script to see if TSM Server is down


I am interested in a script that mails an alert if the TSM server goes down
as well.




Thank You,
Hana Taha
Systems Analyst
Parker Drilling
1401 Enclave Suite 600
Houston, Texas 77077
281-406-2486
[EMAIL PROTECTED]

-----Original Message-----
From: Marc Levitan [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 10:02 AM
To: [EMAIL PROTECTED]
Subject: script to see if TSM Server is down

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

Reply via email to