Solved

Test / Alert when Server Hangs

Posted on 2013-01-25
5
83 Views
Last Modified: 2015-04-14
We recently had a server hang that was responding to a ping.  We have alerts setup for when servers do not reply to a ping.  I am looking for ways to identify / alert when a server hangs.

One thought I had was to script an RDP test.  I expect that someone has already had much the same thought and has setup a similar test / alert.  Points liberally awarded for good suggestions and even more so for examples / solutions.

Thanks in advance.
0
Comment
Question by:tnesavich2
  • 3
5 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
Comment Utility
What does the server do? Often we can test only the main functionality of the server and plain tests like ping/rdp are not really useful.


For example, we test a webserver by loading a webpage and checking it for a test string. The server may work for RDP, ping and others but the IIS process needs to be recycled in this case.

Other common example is mail test. A software would send a mail from test1 account to test2 account and check the trip time. This is called a synthetic test but is more thorogh than just checking if the SMTP server is listening on port 25 or so.

Let us know more about the function of the server. You may need to use a full-blown monitoring suite.
0
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
ping is totally unacceptable. you can have a server crash and it will still respond to a ping.  since this is a MSFT O/S,  why not use SNMP (not SMTP). That is what SNMP is designed for. You can configure it to monitor health of the system, or even things like is SQL Server or IIS still running.
0
 

Author Comment

by:tnesavich2
Comment Utility
dlethe:
I am all ears for any specific trap / MIB you would suggest to reliably show a system hang.  However, I am specifically looking to test for / monitor for a server hang in particular (not system health in general).

 npsingh123:
We have a full blown monitoring suite (HP NNM & OMW as well as SolarWinds).  Again, it is the specifics of the test I am soliciting ideas for.  The function of the server is a simple file server.  Copying a file and testing for success is not what I am looking to do.  If you know of a way to test an RDP connection (that can account for instances when both sessions are taken) that would be ideal.

Thanks in advance.
0
 
LVL 47

Accepted Solution

by:
dlethe earned 500 total points
Comment Utility
Monitor the health of a system service from another machine, use something as simple as a web service, or do a remote WMI call to query something.
0
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
there is no such thing as a trap for a server hang, because there is no clear-cut definition of a hang.  Certain services could hang and everyting  other than SQL server, for example can run OK,  Or maybe tcp-ip dies, but the system is just fine if you are at local display/keyboard.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now