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

Re: www site monitor



Hi!
I think, you could write a script for this. Using perhaps ping, to just see, if the server responds or wget to download a certain file. I'm not sure though about their timeouts. I think you can set a tieout with wget. Then you could use mail to send an e-mail. I suppose, tat there might be a more comfotable way with more GUI stuff, but that would do the trick.
  I've seen:
ping -W timeout_in_secs server
  This will only timeout after timeout_secs, if no response is received.
  The line to send mail would be:
cat file | nail -s "subject" -r "from@host" to@host
  That should do.
  Warmly yours
         Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - FLOWERS!

======      Find my music at      ======
http://juliencoder.de/nama/music.html
.....................................
"If you live to be 100, I hope I live to be 100 minus 1 day,
so I never have to live without you." (Winnie the Pooh)


Reply to: