"Skip Montanaro" <> wrote in message
news:mailman.1059571376.25384.python-...
>
> Off-topic response perhaps, but if you want to monitor services running on
> remote machines, you should see what's already available. I use Nagios,
> <http://www.nagios.org/>, and find it excellent for the purpose (a bit
> complex to get started with, but very robust).
>
> Skip
>
Thanks Skip,
Monitoring services themselves is a snap but I'm trying to monitor the state
of IIS, and in particular the state of OWA running on IIS. OWA for Exchange
5.5 is a bit flakey at best and it doesn't always show up as a service
outage. The script I have so far connects to the server (using HTTPS) then
passes a login request for a mailbox and retrieves the Inbox page. It does 5
different requests in all and sometimes gets stuck on the third or fourth
request. Running the source code version seems a little better than the one
compiled with py2exe, and it will often return after what seems like a 2
minute socket timeout. I've also tried playing with different settings for
the default socket timeout value but that doesn't seem to help either. (I'm
running 2.3b2)
thanks,
rich.
|