From owner-freebsd-questions@FreeBSD.ORG Sun Aug 31 14:55:00 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6802C106567D for ; Sun, 31 Aug 2008 14:55:00 +0000 (UTC) (envelope-from SRS0=98FzFj=ZK=webzone.net.au=andrewd@smtp.webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id 22CA08FC18 for ; Sun, 31 Aug 2008 14:55:00 +0000 (UTC) (envelope-from SRS0=98FzFj=ZK=webzone.net.au=andrewd@smtp.webzone.net.au) Received: from ppp121-45-37-175.lns10.adl2.internode.on.net ([121.45.37.175] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KZo9Q-000IDL-Nc; Mon, 01 Sep 2008 00:13:37 +0930 Message-ID: <48BAAE15.1000304@webzone.net.au> Date: Mon, 01 Sep 2008 00:13:33 +0930 From: Andrew D User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Redd Vinylene References: <2620c3260808301722s673f70dkab7590f1ed9e48a4@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Cc: questions@freebsd.org Subject: Re: How to test the uptime of a webserver? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 14:55:00 -0000 Redd Vinylene wrote: > On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos wrote: >> >> On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene >> wrote: >>> Hello hello! >>> >>> I got this dedicated server which is exposed to DDoS attacks quite >>> frequently. Say I need to host a website on it, is there any way of >>> telling how often it is actually online (to the rest of the world)? >>> >>> Maybe make some sort of ping script from a remote server? >> >> Hello, >> >> You can install nagios and monitor the web server. It will send you an >> email when >> the server is down and when is up again. With this information you can know >> the uptime >> of the web server. > > I'd have to install Nagios on a different server then, right? I doubt > the actual server knows when its ISP's link drops (or just slows down) > due to an attack. > You can easily get nagios to test the web server sitting on the same machine its installed on and you can also get nagios to ping some external target to test the link. However if the link is down that won't help you, so basically yes it would be wise to have an external nagios server.