PDA

View Full Version : Monitoring Window Services?


choenes
11-21-2005, 04:29 PM
I am exploring the Windows Services and wondering if there has been some discussion about how individually deployed services could be monitored and controlled?

It would be great if this could be exposed via web services or remoted objects and maybe even deployed as service itself.

This service could then expose events / and operations that can be performed on all the deployed services.

choenes
11-21-2005, 04:41 PM
Okay I mised that.... there IS some application monitoring out of the box with Windows Services. Is there some documentation on this?

fspinazzi
11-23-2005, 02:19 PM
choenes,
I've coded support for windows services but
as I'm not currently too connected to the net, the best thing FOR ME is to collect features and requests via JIRA and the developer mailing list.

Thanks for the interest.

To answer: there is no documentation on the monitor but it would be interesting to know what ones want to monitor (I surely have some ideas but listening to yours could be very useful).

Ok for the events of each application, but currently it has been chosen to no not propagate events to remote listeners, Instead they should periodically ask for the status. This allow for coarse grained comunications with the service process, allowing better comunication via remoting also with non standrd protocols (for example Ingo Rammer SMTP/POP3 remoting channel).

So I've created http://opensource2.atlassian.com/projects/spring/browse/SPRNET-245 but commented against it.

choenes
11-23-2005, 03:36 PM
I've got the monitor working and it's pretty handy in my opinion...

I wonder if the end user could choose the status update strategy. E.g. I am monitoring a local application so eventing works just fine.... but if I decide to monitor a service over the internet maybe a courser status update is needed.

It should be a matter of configuration.

Another feature would be if we could add some interfaces to Start and Stop the individual applications independent of each other.