Notifying NT service hung state

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Notifying NT service hung stateExpand / Collapse
Author
Message
Posted 4/8/2009 7:53:56 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 6/12/2009 9:48:09 AM
Posts: 29, Visits: 99
Hi All...

I have configured a NT service active monitor for one server in WUG to ensure that the service is always started.

But the service is getting hunged repeated number of times on the same server but not getting any alert from WUG.

How can we get notified from WUG when the NT service gets hung? Please advice.

I am querying the service through WMI. Will monitoring the NT service through SNMP will help on this? Please advice.


Thanks & Regards,
S. Dada Khalander.

Post #52204
Posted 4/9/2009 10:09:53 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Ipswitch Employees
Last Login: 7/29/2009 2:27:58 PM
Posts: 356, Visits: 1,946
When the service "hangs" does its state change? Have you looked at the "Services" applet in the "Administrative Tools" to see what state is displayed for the hung service?

It will not matter what method you use to monitor the serivce if its state does not change when it "hangs".

Post #52215
Posted 4/9/2009 11:28:22 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Ipswitch Employees
Last Login: 8/14/2009 3:06:04 PM
Posts: 502, Visits: 1,302
It sounds like you need a monitor that does more than just check the state of the Windows service. Is the service something that can be connected to (on a port) and that sends a response when that connection is made? If it is then a TCPIP monitor could be constructed to make the connection and check for the response.

You could even construct a Service Restart action as a  Recurring Action, to stop the service on a regular basis and if your existing service monitor has 'restart' enabled, WUG will restart it after it is stopped.

Daniel Donnelly

Post #52222
Posted 4/10/2009 8:00:24 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 6/12/2009 9:48:09 AM
Posts: 29, Visits: 99
Hi AmbarK,

The state of the service will remain as 'started' even if the service hungs.

I have observed this many number of times. Please advice if have got any idea on this. Thanks.


Thanks & Regards,
S. Dada Khalander.

Post #52249
Posted 4/10/2009 9:21:12 AM
Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Ipswitch Employees
Last Login: 7/29/2009 2:27:58 PM
Posts: 356, Visits: 1,946
Unfortunately if the service does not change state, there isn't much that can be done. As Dan suggested, if the service responds to TCP/IP requests on some port then you can use that to create a monitor but other that tha there isn't much that can be done.
Post #52253
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Christian Lawson, Brandon Felger, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:35am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.094. 6 queries. Compression Enabled.