send mail when iis goes down?

send mail when iis goes down?

am 23.05.2007 14:20:33 von Gustav Wiberg

Hi there!

Anyone who knows how to recieve a mail to (administrator"-mail) account when
II_S6.0 goes down?

Best regards
/Gustav Wiberg

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: send mail when iis goes down?

am 23.05.2007 14:24:42 von php

We have a solution to that at the company I'm employed.
One server, my private server actually, curls a PHP script on the work
server every 15 minutes and if it gets anything other than "true" it
sends an SMS to me and 5 more people.
Works great! But you need a server somewhere else so you get alerts on
power-outs and stuff too.

I guess you could write a semi advanced batch file on the windows
machine that keeps track of running processes, or even checks a file on
http://127.0.0.1/ and uses some kind of text based email program to
alert you if it doesn't find the stuff it's supposed to.

Mike


Gustav Wiberg skrev:
> Hi there!
>
> Anyone who knows how to recieve a mail to (administrator"-mail)
> account when II_S6.0 goes down?
>
> Best regards
> /Gustav Wiberg

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: send mail when iis goes down?

am 24.05.2007 08:35:55 von Gustav Wiberg

Hi there!

Is it a script you want to share? :-)

Isn't there any built-in-functionality in Windows for achieving this??? Hm..

Best regards
/Gustav Wiberg



----- Original Message -----
From: "Mikael Grön"
To:
Sent: Wednesday, May 23, 2007 2:24 PM
Subject: Re: [PHP-WIN] send mail when iis goes down?


> We have a solution to that at the company I'm employed.
> One server, my private server actually, curls a PHP script on the work
> server every 15 minutes and if it gets anything other than "true" it sends
> an SMS to me and 5 more people.
> Works great! But you need a server somewhere else so you get alerts on
> power-outs and stuff too.
>
> I guess you could write a semi advanced batch file on the windows machine
> that keeps track of running processes, or even checks a file on
> http://127.0.0.1/ and uses some kind of text based email program to alert
> you if it doesn't find the stuff it's supposed to.
>
> Mike
>
>
> Gustav Wiberg skrev:
>> Hi there!
>>
>> Anyone who knows how to recieve a mail to (administrator"-mail) account
>> when II_S6.0 goes down?
>>
>> Best regards
>> /Gustav Wiberg
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php