[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: monitoring internet availability and sending sms alert?



On 05/14/2010 01:28 AM, Adam Hardy wrote:
I figure this is probably something I would have to script myself
because I can't find anything useful looking out there, but I thought
I'd ask before I try (or perhaps before I procrastinate again):

I have a machine here at home running some 24x5 programs which I really
need to keep up and running, along with my broadband so it can get its
datafeeds.

I figured I could run a program on my webserver to ping my home machine
regularly and in case it starts to slow down, lose packets or die
completely, it could send me an SMS to alert me to the fact.

Is there something like this already in existence?

Thanks
Adam


Hi,
I'm not sure is this what you want. I find this DOS script on the net so maybe you can modified it.

ping 61.4.x.x //ping to gateway
if %errorlevel%==1 (
start http://username:password@192.168.0.1/x.htm //command to restart router
) else (
exit
)

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


Reply to: