How to monitor websphere services down?


 
Thread Tools Search this Thread
Operating Systems AIX How to monitor websphere services down?
# 1  
Old 06-06-2011
How to monitor websphere services down?

if websphere services is down, any unix command or scripts can send alert?
# 2  
Old 06-06-2011
Code:
#!/usr/bin/ksh
CHECK=`ps -ef | grep -v grep | grep websphere | wc -l`
if [ $CHECK = 0 ]
then
echo "Websphere is down" | mailx -s "websphere is down" user@domain.com
fi

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies

2. Shell Programming and Scripting

Monitor some of network services

Hi I want to write a script for netflow service because my service doesnt send any packet to netflow walker (server). Although the service is started but it does not send any packet to server until i restart the service I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies

3. Shell Programming and Scripting

Monitor the services by script

I developed for monitoring the network connections among the branch servers as I given below as script.But I don't know how to monitor the services through network script whether the services is running or not. eg : I want to check the postgres service for all the branch servers through network... (0 Replies)
Discussion started by: kannansoft1985
0 Replies

4. Red Hat

Websphere problem...

Hi all, i have some problem with was. if i start i obtain this output... ./startServer.sh server1 -username wasadmin -password wasadmin ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/startServer.log ADMU0128I:... (1 Reply)
Discussion started by: Zio Bill
1 Replies

5. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

6. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

7. Linux

Websphere

Hi, first, thanks for let me participate in this great forum, iŽam new here, IŽam begin in websphere, you know where i can download manual of websphere ? level of administration no Developer. I need know how to deploy a war, start a war, stop war, the basic..! thank you and regards..! (2 Replies)
Discussion started by: jtorres
2 Replies

8. HP-UX

MC Serviceguard and WebSphere ND 6.1

I am a Lawson Software consultant assisting a client with a Lawson upgrade. One of our components is WebSphere Application Server ND 6.1. Our client is using MC Serviceguard for failover. When testing failover, my Websphere instance is trying to start, but generating this error, referencing the old... (4 Replies)
Discussion started by: mrvitas
4 Replies
Login or Register to Ask a Question