Re: Uptime [OT]

2012-06-16 Thread Mark Felder

On Fri, 15 Jun 2012 19:00:57 -0500, David Brodbeck g...@gull.us wrote:


Hard to get unless you have several kilobucks to spend on an online
type UPS, though.  I actually had one I got surplus, several years
back, but the constant inverter buzz got old fast in a home
environment.


Refurbups.com -- go look at the refurbished Liebert online UPSes. Plenty  
cheap and plenty sufficient.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Thu Jun 14 22:56:16 2012
 To: freebsd-questions@freebsd.org
 Date: Thu, 14 Jun 2012 22:51:45 -0500
 From: Mark Felder f...@feld.me
 Cc: Steve Bertrand steve.bertr...@gmail.com
 Subject: Re: Uptime [OT]

 FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10  
 CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386

 Theres no way I'm giving out the organization name or hostname haha. We're  
 slowly moving customers away from this device, but not forcing anyone.

 I wonder if the technician who compiled that kernel considered how long it  
 would run

Heh. check out -this- one:

 % uname -a
 **  ***  ** *** Kernel #0: Thu Mar 20 16:40:01 
CST 1997 :/usr/src/sys/compile/LOCAL  i386

The build date _is_ accurate, the hardware it's running on is old enough to 
vote.   wry grin

It's publicly accessible on the Internet, 

It's not quite as ridiculous as it looks, the (limited) apps running on it 
_are_ up-to-date.

Uptime is nothing to brag about -- no UPS, combined with 'unreliable' public
utility power, does have an impact.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Bas Smeelen

On 06/15/2012 05:51 AM, Mark Felder wrote:
FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 
CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386


Theres no way I'm giving out the organization name or hostname haha. We're 
slowly moving customers away from this device, but not forcing anyone.


I wonder if the technician who compiled that kernel considered how long it 
would run



Oh, perhaps this thread should be renamed to Why are you using FreeBSD? 
to fit in with the others...


Nice.
Here's another one. Used mainly for imap proxy and ipfw. Too bad it will be 
moved to another physical location in a week or two.


$ uptime
 2:38PM  up 2266 days, 20:43, 1 user, load averages: 0.00, 0.00, 0.00



Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Chad Perrin
On Thu, Jun 14, 2012 at 09:20:19PM -0600, Steve Bertrand wrote:
 I still have non-root access to a box from my old job... it is
 non-available and doing nothing, so updates are irrelevant:
 
 %uptime
  9:01PM  up 1142 days,  5:29, 1 user, load averages: 0.00, 0.00, 0.00

Hmm.  My longest uptime system right now -- basically just an
SSH-accessible store of digital audio files ripped from CD and attached
to speakers in the living room -- is at 500 days uptime today.

My oldest build date on a running system is Sun May  7 04:32:43 UTC
2006.

Obviously, neither of these is set up for public access.  They're just
neglected single-purpose machines.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Chad Perrin
On Fri, Jun 15, 2012 at 07:49:49AM -0500, Robert Bonomi wrote:
 
 Heh. check out -this- one:
 
  % uname -a
  **  ***  ** *** Kernel #0: Thu Mar 20 
 16:40:01 CST 1997 :/usr/src/sys/compile/LOCAL  
 i386
 
 The build date _is_ accurate, the hardware it's running on is old enough to 
 vote.   wry grin
 
 It's publicly accessible on the Internet, 
 
 It's not quite as ridiculous as it looks, the (limited) apps running on it 
 _are_ up-to-date.
 
 Uptime is nothing to brag about -- no UPS, combined with 'unreliable' public
 utility power, does have an impact.

No power conditioning (implied by no UPS) is nothing to brag about.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Robison, Dave
On 06/15/2012 08:30, Bernt Hansson wrote:

 Aha.A pissing contest and it's fridaycount me in...

 FreeBSD fqdn 4.11-RELEASE-p20 FreeBSD 4.11-RELEASE-p20 #0: Mon Aug 28
 07:21:42 CEST 2006 user@fqdn:/usr/obj/usr/src/sys/HPNETSERVERFW  i386
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



I'll bite. Here's an internal machine.

Old timers should appreciate the name ref1. I remember the original
ref machine. I got to kick it in the head a few times.

firewall0# uname -a
FreeBSD firewall0.dev.vicor.com 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Thu
Nov  1 14:57:38 PST 2001
jul...@ref1.dev.vicor-nb.com:/usr/home/julian/checkout_test/prod/kernel/external_source/compile/VICOR
 
i386



-- 
Dave Robison
Sales Solution Architect II
FIS Banking Solutions
510/621-2089 (w)
530/518-5194 (c)
510/621-2020 (f)
da...@vicor.com
david.robi...@fisglobal.com

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Mario Lobo
On Friday 15 June 2012 09:49:49 Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Thu Jun 14 22:56:16 2012
  To: freebsd-questions@freebsd.org
  Date: Thu, 14 Jun 2012 22:51:45 -0500
  From: Mark Felder f...@feld.me
  Cc: Steve Bertrand steve.bertr...@gmail.com
  Subject: Re: Uptime [OT]
  
  FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10
  CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386
  
  Theres no way I'm giving out the organization name or hostname haha.
  We're slowly moving customers away from this device, but not forcing
  anyone.
  
  I wonder if the technician who compiled that kernel considered how long
  it would run
 
 Heh. check out -this- one:
 
  % uname -a
  **  ***  ** *** Kernel #0: Thu Mar 20
 16:40:01 CST 1997 :/usr/src/sys/compile/LOCAL 
 i386
 
 The build date _is_ accurate, the hardware it's running on is old enough to
 vote.   wry grin
 
 It's publicly accessible on the Internet,
 
 It's not quite as ridiculous as it looks, the (limited) apps running on it
 _are_ up-to-date.


Hi;

This is from a colleague Alex Moura at our brazilian bsd list.

   FreeBSD helm 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Wed Dec 13 16:19:46
   BRST 2000
   11:47AM  up 3532 days,  3:43, 1 user, load averages: 0.00, 0.00, 0.00
   
   3532 days before now Friday, July 13, 2001
   
   9 years, 8 months, 3 days, 16 hours

ref. http://www.mail-archive.com/freebsd-chat@freebsd.org/msg02477.html

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread David Brodbeck
On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin per...@apotheon.com wrote:
 No power conditioning (implied by no UPS) is nothing to brag about.

If your utility power is very -- common now in places with buried
utilities -- a UPS of the non-enterprise variety can actually make
reliability *worse*.  I've found that standby-type UPSs (like the
popular APC BackUPS and SmartUPS units) will drop the load at the
slightest power blip once the batteries go bad, while machines
connected directly to utility power will often ride out short blips.
It's especially insidious on the BackUPS units because the only way to
test the battery is to hit the test button and see if the load drops.
;)

When I lived in a place that had a power outage once a week, I used a
UPS.  Now that I live in a place where I get maybe one power outage a
*year*, I'm better off without out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread David Brodbeck
On Fri, Jun 15, 2012 at 11:47 PM, David Brodbeck g...@gull.us wrote:
 On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin per...@apotheon.com wrote:
 No power conditioning (implied by no UPS) is nothing to brag about.

 If your utility power is very -- common now in places with buried
 utilities -- a UPS of the non-enterprise variety can actually make
 reliability *worse*.

Err, meant to say if your utility power is very reliable...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread Chad Perrin
On Fri, Jun 15, 2012 at 11:47:55PM +, David Brodbeck wrote:
 On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin per...@apotheon.com wrote:
  No power conditioning (implied by no UPS) is nothing to brag about.
 
 If your utility power is very -- common now in places with buried
 utilities -- a UPS of the non-enterprise variety can actually make
 reliability *worse*.  I've found that standby-type UPSs (like the
 popular APC BackUPS and SmartUPS units) will drop the load at the
 slightest power blip once the batteries go bad, while machines
 connected directly to utility power will often ride out short blips.
 It's especially insidious on the BackUPS units because the only way to
 test the battery is to hit the test button and see if the load drops.
 ;)

These bargain-basement throw-away UPSes you mention are not the kinds of
UPSes that give you power conditioning, and thus (I hope) obviously not
the kinds of UPSes I meant.


 
 When I lived in a place that had a power outage once a week, I used a
 UPS.  Now that I live in a place where I get maybe one power outage a
 *year*, I'm better off without out.

I don't consider the ability to stay up for a few minutes when there's a
brief blackout to be the most important function of a good UPS, even
though that's kinda the reason the things were invented in the first
place.  The most important function of such a thing is power
conditioning, which eliminates the problems of spikes and brownouts in
the supply of power from the utility company even when nothing dramatic
enough happens to actually crash a running machine right away.  Such
variability in power can be bad for both hardware and consistent, stable
running of software.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-15 Thread David Brodbeck
On Fri, Jun 15, 2012 at 11:54 PM, Chad Perrin per...@apotheon.com wrote:
 I don't consider the ability to stay up for a few minutes when there's a
 brief blackout to be the most important function of a good UPS, even
 though that's kinda the reason the things were invented in the first
 place.  The most important function of such a thing is power
 conditioning, which eliminates the problems of spikes and brownouts in
 the supply of power from the utility company even when nothing dramatic
 enough happens to actually crash a running machine right away.  Such
 variability in power can be bad for both hardware and consistent, stable
 running of software.

Hard to get unless you have several kilobucks to spend on an online
type UPS, though.  I actually had one I got surplus, several years
back, but the constant inverter buzz got old fast in a home
environment.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Uptime [OT]

2012-06-14 Thread Steve Bertrand
I still have non-root access to a box from my old job... it is 
non-available and doing nothing, so updates are irrelevant:


%uptime
 9:01PM  up 1142 days,  5:29, 1 user, load averages: 0.00, 0.00, 0.00

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder

In production and survived many area-wide power outages:

% uptime
10:34PM  up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:20 PM, Steve Bertrand wrote:

I still have non-root access to a box from my old job... it is
non-available and doing nothing, so updates are irrelevant:

%uptime
9:01PM up 1142 days, 5:29, 1 user, load averages: 0.00, 0.00, 0.00


fwiw:

%uname -a
FreeBSD ..xxx 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #1: Wed Apr 
29 06:34:04 EDT 2009 st...@xxx..xxx:/usr/obj/usr/src/sys/ i386



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:35 PM, Mark Felder wrote:

In production and survived many area-wide power outages:

% uptime
10:34PM up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00


That's hardcore homie... wow!

What does this box survive to do?

Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder
On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand  
steve.bertr...@gmail.com wrote:



That's hardcore homie... wow!
 What does this box survive to do?



Transparent traffic shaping/firewalling via IPFW; it's not actually  
visible to the internet. There isn't much load at all, but the hardware is  
quickly aging. The dual power supply has saved it a few times, too. I  
think there's another server which I believe is close to 2600 days uptime  
but I'll have to brainstorm and see if I can remember which one it is.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder
FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10  
CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386


Theres no way I'm giving out the organization name or hostname haha. We're  
slowly moving customers away from this device, but not forcing anyone.


I wonder if the technician who compiled that kernel considered how long it  
would run



Oh, perhaps this thread should be renamed to Why are you using FreeBSD?  
to fit in with the others...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:43 PM, Mark Felder wrote:

On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand
steve.bertr...@gmail.com wrote:


That's hardcore homie... wow!
What does this box survive to do?



Transparent traffic shaping/firewalling via IPFW; it's not actually
visible to the internet. There isn't much load at all, but the hardware
is quickly aging. The dual power supply has saved it a few times, too. I
think there's another server which I believe is close to 2600 days
uptime but I'll have to brainstorm and see if I can remember which one
it is.


lmao... you must be a sysadmin ;)

IPFW is all I've used on FreeBSD. I designed an ISP edge based on 
Microtic hardware with flash-based FBSD installs with Quagga and IPFW. I 
was hesitant to change to anything else, because I wrote an awful lot of 
Perl code that automated IPFW changes across the network.


I don't use FBSD as much as I used to, but I still stick to my roots and 
write most of my code on it. I don't maintain many servers with it 
anymore though.


This is why I thought I'd speak up... to let everyone know I'm still 
alive and kicking. Apparently, so is one of my boxes ;)


Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Chris Rees
2009/5/27 Glen Barber glen.j.bar...@gmail.com:
 On Tue, May 26, 2009 at 11:23 PM, Polytropon free...@edvax.de wrote:
 Maybe there's a way of patching the uptime utility that it adds
 the previous uptime of the system (since last shutdown) to the
 actual uptime. I know this denies everything uptime stands for,
 let's call it accumulated uptime. :-)


 I like that idea, actually.. Not for faking cumulative uptime.  It'd
 be kinda nice knowing how long a particular machine has been 'alive'
 without looking through service tag records.

 --
 Glen Barber

How about:

[ch...@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
-rw-r--r--  1 root  wheel  324 Apr 15  2008 /etc/ssh/ssh_host_key.pub
[ch...@amnesiac]~%

I think I'd cry if I were to lose 553 days of uptime

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Steve Bertrand
Chris Rees wrote:
 2009/5/27 Glen Barber glen.j.bar...@gmail.com:
 On Tue, May 26, 2009 at 11:23 PM, Polytropon free...@edvax.de wrote:
 Maybe there's a way of patching the uptime utility that it adds
 the previous uptime of the system (since last shutdown) to the
 actual uptime. I know this denies everything uptime stands for,
 let's call it accumulated uptime. :-)

 I like that idea, actually.. Not for faking cumulative uptime.  It'd
 be kinda nice knowing how long a particular machine has been 'alive'
 without looking through service tag records.

 --
 Glen Barber
 
 How about:
 
 [ch...@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
 -rw-r--r--  1 root  wheel  324 Apr 15  2008 /etc/ssh/ssh_host_key.pub
 [ch...@amnesiac]~%
 
 I think I'd cry if I were to lose 553 days of uptime

Not really a biggie, I've got another test box right behind it ;)

ww9# uptime
 9:09AM  up 501 days, 22:20, 1 user, load averages: 0.00, 0.00, 0.00

Due to network restructuring, the test hardware will be coming out...

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Another uptime story

2009-05-27 Thread Glen Barber
Hi, Chris

On Wed, May 27, 2009 at 9:45 AM, Chris Rees utis...@googlemail.com wrote:

 I like that idea, actually.. Not for faking cumulative uptime.  It'd
 be kinda nice knowing how long a particular machine has been 'alive'
 without looking through service tag records.


 How about:

 [ch...@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
 -rw-r--r--  1 root  wheel  324 Apr 15  2008 /etc/ssh/ssh_host_key.pub
 [ch...@amnesiac]~%

 I think I'd cry if I were to lose 553 days of uptime


Missing the obvious is my way of noticing I'm sleep deprived... :)

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Glen Barber
On Wed, May 27, 2009 at 9:56 AM, Steve Bertrand st...@ibctech.ca wrote:

 Not really a biggie, I've got another test box right behind it ;)

 ww9# uptime
  9:09AM  up 501 days, 22:20, 1 user, load averages: 0.00, 0.00, 0.00

 Due to network restructuring, the test hardware will be coming out...


Steve,

Just out of curiosity, what function did 'radius' serve?

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Andrew Gould
On Wed, May 27, 2009 at 8:45 AM, Chris Rees utis...@googlemail.com wrote:

 2009/5/27 Glen Barber glen.j.bar...@gmail.com:
  On Tue, May 26, 2009 at 11:23 PM, Polytropon free...@edvax.de wrote:
  Maybe there's a way of patching the uptime utility that it adds
  the previous uptime of the system (since last shutdown) to the
  actual uptime. I know this denies everything uptime stands for,
  let's call it accumulated uptime. :-)
 
 
  I like that idea, actually.. Not for faking cumulative uptime.  It'd
  be kinda nice knowing how long a particular machine has been 'alive'
  without looking through service tag records.
 
  --
  Glen Barber

 How about:

 [ch...@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
 -rw-r--r--  1 root  wheel  324 Apr 15  2008 /etc/ssh/ssh_host_key.pub
 [ch...@amnesiac]~%

 I think I'd cry if I were to lose 553 days of uptime

 Chris


You could write a script that sends uptime output and a start/stop flag to a
database when the system starts and stops.  This wouldn't account for
improper shutdowns, although you could tell when a stop date/time was
missing.

If you also  documented the installation date/time of various components,
you could also track their lives separately.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Steve Bertrand
Glen Barber wrote:
 On Wed, May 27, 2009 at 9:56 AM, Steve Bertrand st...@ibctech.ca wrote:
 Not really a biggie, I've got another test box right behind it ;)

 ww9# uptime
  9:09AM  up 501 days, 22:20, 1 user, load averages: 0.00, 0.00, 0.00

 Due to network restructuring, the test hardware will be coming out...

 
 Steve,
 
 Just out of curiosity, what function did 'radius' serve?

RADIUS ;)

...for a local setup of wireless hotspots (freeradius was current on the
box).

One of many.

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Another uptime story

2009-05-27 Thread Chris Rees
2009/5/27 Andrew Gould andrewlylego...@gmail.com:
 On Wed, May 27, 2009 at 8:45 AM, Chris Rees utis...@googlemail.com wrote:

 2009/5/27 Glen Barber glen.j.bar...@gmail.com:
  On Tue, May 26, 2009 at 11:23 PM, Polytropon free...@edvax.de wrote:
  Maybe there's a way of patching the uptime utility that it adds
  the previous uptime of the system (since last shutdown) to the
  actual uptime. I know this denies everything uptime stands for,
  let's call it accumulated uptime. :-)
 
 
  I like that idea, actually.. Not for faking cumulative uptime.  It'd
  be kinda nice knowing how long a particular machine has been 'alive'
  without looking through service tag records.
 
  --
  Glen Barber

 How about:

 [ch...@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
 -rw-r--r--  1 root  wheel  324 Apr 15  2008 /etc/ssh/ssh_host_key.pub
 [ch...@amnesiac]~%

 I think I'd cry if I were to lose 553 days of uptime

 Chris

 You could write a script that sends uptime output and a start/stop flag to a
 database when the system starts and stops.  This wouldn't account for
 improper shutdowns, although you could tell when a stop date/time was
 missing.

 If you also  documented the installation date/time of various components,
 you could also track their lives separately.

 Andrew


I use:

http://www.uptimes-project.org/hosts/view/2288

Chris

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Wojciech Puchar

radius# uptime
11:01PM  up 553 days, 13:38, 1 user, load averages: 0.00, 0.00, 0.00


very good result, but thinking that way is quite a nonsense. you have to 
shut down, then just shut down!


if you want to talk about how well your server works, how stable it is and 
how good admin are you, then not this uptime shows, but mean time between 
UNPLANNED downtimes!


just write down that it was 553,5 days up and working without problems 
and add this value to next uptime :)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Wojciech Puchar

Maybe there's a way of patching the uptime utility that it adds
the previous uptime of the system (since last shutdown) to the
actual uptime. I know this denies everything uptime stands for,
let's call it accumulated uptime. :-)


if it will add only in case of clean shutdown - it would be good.

Mean time between failure (unplanned downtime, crash etc.) is important.


for example i only once reached 100 days in one of my server, but all 
downtimes are because:


- i did clean shutdown
- there was long power outage (quite common that place).


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Glen Barber
On Wed, May 27, 2009 at 10:06 AM, Steve Bertrand st...@ibctech.ca wrote:
 Glen Barber wrote:
 Steve,

 Just out of curiosity, what function did 'radius' serve?

 RADIUS ;)


I didn't think it could be that easy. :)


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Polytropon
On Wed, 27 May 2009 09:02:08 -0500, Andrew Gould andrewlylego...@gmail.com 
wrote:
 You could write a script that sends uptime output and a start/stop flag to a
 database when the system starts and stops.  This wouldn't account for
 improper shutdowns, although you could tell when a stop date/time was
 missing.

I've used a similar (but more easily designed) approach to
have a file /var/log/activity.log. This, of course, doesn't apply
for servers that run day by day, but for systems that are
powered off when not in use. Simple thing, just a formatted
date and uptime into a text file, run by rc.local and rc.shutdown.local.

My best time with FreeBSD 7 system:

2008-12-14 00:27:42 - 2008-12-20 03:41:44 -  6 days,  3:14, 0 users

And FreeBSD 5:

2007-02-23 04:54:07 - 2007-03-06 02:14:46 -  10 days, 21:21, 1 user

That's not the majority of entries, most of them are just a
few hours. Keep in mind that it is NOT a server - these lines
would look terrible if it would. :-)



 If you also  documented the installation date/time of various components,
 you could also track their lives separately.

At least their live IN USE. In many cases, it's no problem to use
a hard disk or a optical disc drive longer than the period it is
utilized in the server - it doesn't break when you switch to a
newer system. Erm sorry, I forgot the truth: It will of course
break before this point in time; in fact, it will break when you
need it most. :-)





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Karl Vogel
 On Tue, 26 May 2009 23:14:10 -0400, 
 Steve Bertrand st...@ibctech.ca said:

S Just a little bit of sadness of having to 'down' it, given this uptime in
S my relatively hostile environment. *sigh*

   I'll match your sigh and add some curse-words.  One of our fileservers:

 date:   Mon May 18 09:03:09 EDT 2009
 uname:  FreeBSD 4.9-RELEASE #0
 uptime: 9:03AM up 732 days, 11:36, 0 users
 
   Here's part of the output from vmstat -s.  I like the name lookups:

 1644362297 cpu context switches
 1093285479 device interrupts
 1789304683 software interrupts
 3124531993 traps
 3752497578 system calls
 2443779332 pages examined by the page daemon
 1221349376 copy-on-write faults
 3820203746 zero fill pages zeroed
 1406714307 zero fill pages prezeroed
 1893555896 total VM faults taken
 3652052770 pages affected by  fork()
 2853118974 pages freed by exiting processes
  -92074736 total name lookups
  cache hits (449% pos + -1238% neg) system -1854% per-directory
  deletions -18%, falsehits 0%, toolong 0%

   Then our halfwit UPS decided to have a hissyfit and knock down this
   system plus four others.  Fortunately, our backup server stayed up:

 date:   Wed May 27 16:45:10 EDT 2009
 uname:  FreeBSD 6.1-RELEASE #0
 uptime: 4:44PM up 595 days,  3:09, 1 user

-- 
Karl Vogel  I don't speak for the USAF or my company

Si hoc legere scis nimium eruditionis habes
(Translation: If you can read this, you're overeducated)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Karl Vogel
 On Wed, 27 May 2009 09:02:08 -0500, 
 Andrew Gould andrewlylego...@gmail.com said:

A You could write a script that sends uptime output and a start/stop
A flag to a database when the system starts and stops.  This wouldn't
A account for improper shutdowns, although you could tell when a stop
A date/time was missing.

   I have a script which runs fping on a bunch of servers and writes
   a timestamp for any host that answers.  It's run every minute from
   cron on our loghost.  Another script watches the results and sends
   me an IM if any of my boxes fails to respond for 3 minutes.

   I can put up a tarball if anyone's interested.

-- 
Karl Vogel  I don't speak for the USAF or my company

When buying and selling are controlled by legislation, the first things to
be bought and sold are legislators.  --P.J. O'Rourke, Parliament of Whores
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Wojciech Puchar


date:   Mon May 18 09:03:09 EDT 2009
uname:  FreeBSD 4.9-RELEASE #0
uptime: 9:03AM up 732 days, 11:36, 0 users


Hardly possible in Poland. i can't imagine 2 years without power failures 
:)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread APseudoUtopia
On Wed, May 27, 2009 at 5:00 PM, Karl Vogel vogelke+u...@pobox.com wrote:
 On Wed, 27 May 2009 09:02:08 -0500,
 Andrew Gould andrewlylego...@gmail.com said:

 A You could write a script that sends uptime output and a start/stop
 A flag to a database when the system starts and stops.  This wouldn't
 A account for improper shutdowns, although you could tell when a stop
 A date/time was missing.

   I have a script which runs fping on a bunch of servers and writes
   a timestamp for any host that answers.  It's run every minute from
   cron on our loghost.  Another script watches the results and sends
   me an IM if any of my boxes fails to respond for 3 minutes.

   I can put up a tarball if anyone's interested.


I'd be interested in a set of scripts like that.

I appreciate it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-27 Thread Tim Judd

I have a script which runs fping on a bunch of servers and writes
a timestamp for any host that answers.  It's run every minute from
cron on our loghost.  Another script watches the results and sends
me an IM if any of my boxes fails to respond for 3 minutes.
 
I can put up a tarball if anyone's interested.
 

 I'd be interested in a set of scripts like that.



sounds like what nagios is.


:)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Another uptime story

2009-05-26 Thread Steve Bertrand
...unfortunately, due to re-racking and upgrade requirements, I have to
pull the plug. There is nothing hidden or obfuscated in my output, and I
am not ashamed of that.

Just a little bit of sadness of having to 'down' it, given this uptime
in my relatively hostile environment. *sigh*

I know this usually generates flames, but in the past, I've seen these
types of messages do more good than harm.

Someone have a beer for me as I watch my personal uptime record go bye-bye:

radius# uptime
11:01PM  up 553 days, 13:38, 1 user, load averages: 0.00, 0.00, 0.00

radius# date
Tue May 26 23:01:37 EDT 2009

radius# uname -a
FreeBSD radius.eagle.ca 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu
Jun 14 15:16:10 EDT 2007
r...@radius.eagle.ca:/usr/obj/usr/src/sys/RADIUS  i386

...and for archive purposes:

radius# cat /var/run/dmesg.boot

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 14 15:16:10 EDT 2007
r...@radius.eagle.ca:/usr/obj/usr/src/sys/RADIUS
ACPI APIC Table: D845WD WD84510A
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1495.16-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2

Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1073479680 (1023 MB)
avail memory = 1041477632 (993 MB)
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: D845WD WD84510A on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xf800-0xfbff at
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
fxp0: Intel 82550 Pro/100 Ethernet port 0xde80-0xdebf mem
0xfeafc000-0xfeafcfff,0xfea8-0xfea9 irq 18 at device 12.0 on pci2
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:07:e9:9c:df:f3
fxp1: Intel 82550 Pro/100 Ethernet port 0xdd80-0xddbf mem
0xfeafb000-0xfeafbfff,0xfea4-0xfea5 irq 19 at device 13.0 on pci2
miibus1: MII bus on fxp1
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:07:e9:9c:df:f4
atapci0: Promise PDC20267 UDMA100 controller port
0xdff0-0xdff7,0xdfe4-0xdfe7,0xdfa8-0xdfaf,0xdfe0-0xdfe3,0xdf00-0xdf3f
mem 0xfeaa-0xfeab irq 22 at device 14.0 on pci2
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
pci2: display, VGA at device 15.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci1: Intel ICH2 UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port
0xef40-0xef5f irq 19 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port
0xef80-0xef9f irq 23 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: floppy drive controller port
0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem
0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xd17ff,0xd1800-0xd27ff,0xd2800-0xd37ff
on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0

Re: Another uptime story

2009-05-26 Thread Polytropon
On Tue, 26 May 2009 23:14:10 -0400, Steve Bertrand st...@ibctech.ca wrote:
 ...unfortunately, due to re-racking and upgrade requirements, I have to
 pull the plug. There is nothing hidden or obfuscated in my output, and I
 am not ashamed of that.

Maybe there's a way of patching the uptime utility that it adds
the previous uptime of the system (since last shutdown) to the
actual uptime. I know this denies everything uptime stands for,
let's call it accumulated uptime. :-)



 Just a little bit of sadness of having to 'down' it, given this uptime
 in my relatively hostile environment. *sigh*

What makes it hostile?



 Someone have a beer for me as I watch my personal uptime record go bye-bye:
 
 radius# uptime
 11:01PM  up 553 days, 13:38, 1 user, load averages: 0.00, 0.00, 0.00

Can't you wait two days more? Just 48 hours? Then you would
finish with an uptime of 555 days. Just think about how it
would be to finish with an uptime of 666 days, of course at
6:66 o'clock. =^_^=



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-26 Thread Steve Bertrand
Polytropon wrote:
 On Tue, 26 May 2009 23:14:10 -0400, Steve Bertrand st...@ibctech.ca wrote:
 ...unfortunately, due to re-racking and upgrade requirements, I have to
 pull the plug. There is nothing hidden or obfuscated in my output, and I
 am not ashamed of that.
 
 Maybe there's a way of patching the uptime utility that it adds
 the previous uptime of the system (since last shutdown) to the
 actual uptime. I know this denies everything uptime stands for,
 let's call it accumulated uptime. :-)

Nah, uptime is uptime. Uptime was never my intention, it just worked.
There have been times recently where the re-racking needed to be done,
but I wasn't able to get it pulled off. Once it's down, thats it.

 Just a little bit of sadness of having to 'down' it, given this uptime
 in my relatively hostile environment. *sigh*
 
 What makes it hostile?

Small ISP, single 240V electrical supply, enough battery for
not-so-long, having to scramble to get the generator in place, etc etc.

 radius# uptime
 11:01PM  up 553 days, 13:38, 1 user, load averages: 0.00, 0.00, 0.00
 
 Can't you wait two days more? Just 48 hours? Then you would
 finish with an uptime of 555 days. Just think about how it
 would be to finish with an uptime of 666 days, of course at
 6:66 o'clock. =^_^=

...nah, no waiting. I'm not interested in any prestige whatsoever. I
just wanted to share my grief with the rest of the crew on the list ;)

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Another uptime story

2009-05-26 Thread Steve Bertrand
Steve Bertrand wrote:

[..snip..]

 Just a little bit of sadness of having to 'down' it, 

[..snip..]

radius# uptime
 1:19AM  up 553 days, 15:56, 1 user, load averages: 0.00, 0.00, 0.00

:(

radius# halt


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Another uptime story

2009-05-26 Thread Glen Barber
Steve,

On Wed, May 27, 2009 at 1:22 AM, Steve Bertrand st...@ibctech.ca wrote:
 Steve Bertrand wrote:

 [..snip..]

 Just a little bit of sadness of having to 'down' it,

 [..snip..]

 radius# uptime
  1:19AM  up 553 days, 15:56, 1 user, load averages: 0.00, 0.00, 0.00

 :(

 radius# halt


That beer you mentioned earlier.. I'm having it right now for you.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Another uptime story

2009-05-26 Thread Glen Barber
On Tue, May 26, 2009 at 11:23 PM, Polytropon free...@edvax.de wrote:
 Maybe there's a way of patching the uptime utility that it adds
 the previous uptime of the system (since last shutdown) to the
 actual uptime. I know this denies everything uptime stands for,
 let's call it accumulated uptime. :-)


I like that idea, actually.. Not for faking cumulative uptime.  It'd
be kinda nice knowing how long a particular machine has been 'alive'
without looking through service tag records.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime logging with (maybe) ppp's log functionality

2008-12-17 Thread Mel
On Monday 15 December 2008 15:09:31 Polytropon wrote:
 Hi!

 I'm going to setup a system with a dial-up modem for sporadic
 Internet access; a provider that charges per second online time
 is used. Is there a way ppp (which is used for dialing) can log
 the online time (or at least the connection's start and stop time)
 so the costs can be calculated?

 Furthermore, are there already tools that, for example, would use
 the daily, weekly or monthly periodic jobs to inform via mail about
 how much online time was spent? Or, in addition, how much money
 this would mean (built-in calculation)? If it doesn't already exist,
 I'm sure I'll code it. :-)

Radius was created for this (accounting and authentication based on 
accounting) and ppp supports it. Might as well use it ;)

From ppp(8):

 Supports RADIUS (rfc 2138  2548) authentication.  An extension to PAP
 and CHAP, Remote Access Dial In User Service allows authentication infor-
 mation to be stored in a central or distributed database along with vari-
 ous per-user framed connection characteristics.  If libradius(3) is
 available at compile time, ppp will use it to make RADIUS requests when
 configured to do so.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Uptime logging with (maybe) ppp's log functionality

2008-12-15 Thread Polytropon
Hi!

I'm going to setup a system with a dial-up modem for sporadic
Internet access; a provider that charges per second online time
is used. Is there a way ppp (which is used for dialing) can log
the online time (or at least the connection's start and stop time)
so the costs can be calculated?

Furthermore, are there already tools that, for example, would use
the daily, weekly or monthly periodic jobs to inform via mail about
how much online time was spent? Or, in addition, how much money
this would mean (built-in calculation)? If it doesn't already exist,
I'm sure I'll code it. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime logging with (maybe) ppp's log functionality

2008-12-15 Thread Wojciech Puchar


I'm going to setup a system with a dial-up modem for sporadic
Internet access; a provider that charges per second online time
is used. Is there a way ppp (which is used for dialing) can log
the online time (or at least the connection's start and stop time)
so the costs can be calculated?


option a:

simply make a script (say ppp-bill.sh) that will browse through logs and 
search for lines indicating connection and disconnect


option b:

you may put anything to /etc/ppp/ppp.link{up,down} scripts, for example 
linkup could record current time, then linkdown substract it from what 
linkup recorded, multiply by price and you have logged how much each 
connection cost you

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime logging with (maybe) ppp's log functionality

2008-12-15 Thread Polytropon
Many thanks for your ideas. I think I'll use #2 and have start
and stop time recorded in epoch format (because its easy to
get the substraction result instead of fiddling around with
date's ymdhms parameters).

This is because I'm not very familiar with ppp's logs, and
maybe they provide the needed information in a way that makes
it hard to do calculations on it (like, say, the date format
from the syylog entries).

If the documentation of ppp doesn't answer all upcoming
questions, I'd be glad to ask again.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: uptime 2 years!

2008-10-15 Thread Da Rock

On Thu, 2008-10-09 at 10:52 -0400, Mikel King wrote:
 On Oct 8, 2008, at 9:00 PM, Chad Marshall wrote:
 
  No Problem, I figured that there are other systems out there
with a  
  longer uptime. I have this server as a
postfix/courier-imap/ 
  squirrelmail  (60+ accounts and 30-40 forwards) mailserver
with  
  apache/php/mysql.  Also use it as a slave authoritative
nameserver  
  for over 100 zones (one zone with a 60sec TTL on a high
volume  
  production website) as well. Plus use it as a primary
nameserver for  
  our entire office (300+ workstations). I was lazy with it
(Upgrading  
  or Replacing) and when it hit a year, I decided to hold off
doing  
  anything with it as I wanted to see how long I could let it
go.   
  It's a celeron 2.4ghz server with 512m Ram and has been a
champ  
  server in it's performance and stability. I use CentOS for
most of  
  my other systems and find that as easy as it is for
administration  
  and upgrading, it lacks FreeBSD's performance. With the
memory leaks  
  that CentOS has, I usually have to end up restarting the  
  machine(s).  With FreeBSD I can just restart the services,
and got  
  my memory back and reduce the amount of swap being used.
 
  Regardless of the first email I got back (Which was a little
rude),  
  I will continue to run this server as long as I can and
monitor the  
  security risks using DenyHosts and other security measures.
 
  Thanks,
 
 
 
  On Oct 8, 2008, at 3:39 PM, Frank Shute wrote:
 
  On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall
wrote:
 
 
  Hello,
 
  Would like to share a success story which I'm sure you've
had in the
  past but one of my servers running FreeBSD will have an
uptime of 2
  years tomorrow. I plan on putting on my blog but as it
doesn't have
  much reach but wanted to share with you since your
community has  
  made
  this possible. Please indicate where I could post this to
have a bit
  more reach or if you'd like to put a link to my blog, I'd
be more  
  than
  happy to provide that.
 
 
  Best Regards,
 
 
  Sorry to rain on your parade:
 
 
http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html
 
 
  Regards,
 
  -- 
 
  Frank
 
 
 
 I think this is good news, and thanks for posting it. While it
may not  
 be a record holder, from an advocacy point of view it's nice
to see.  
 It means there one more rock solid server out there.

Here, here...



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-15 Thread Da Rock

On Thu, 2008-10-09 at 10:03 -0500, Paul Schmehl wrote:
 --On Thursday, October 09, 2008 09:34:02 -0500 Jerry
McAllister 
 [EMAIL PROTECTED] wrote:
 
 
  On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall
wrote:
 
 
   Sorry to bother you...You know, you could just leave well
enough
  alone if you don't care. There goes any future donations
from me and
  my organization as this is more than the first untactful
email I
  recieved from this, I'll donate and use other platforms.
Please don't
  send any other emails
 
 
  Kind of touchy, wouldn't you think?
  People are giving you some perspective.
  Well, anyway, you have the choice of using a superior system
  or let scratchy responses lead you to something less
suitable.
 
 
 When I was a young boy, I went on vacation with my family to a
lake in upper 
 Minnesota.  (My mother's ancestral home.)  The weather was
beautiful, the water 
 was warm and inviting, the swimming was thoroughly enjoyable
and the cabin we 
 stayed in was luxurious (by the standards of a little boy.)
 
 However, my mother said something to me that mad me angry.  To
punish her, I 
 stomped off in a huff and spent the remainder of the vacation
scowling in the 
 cabin.  I refused to swim until she corrected the perceived
injustice. 
 Needless to say, my punishment caused me a great deal more
consternation than 
 it did her, or my siblings who were all happily enjoying the
water and the 
 boating and the entire lovely vacation while I fumed in the
cabin.
 
 Self-inflicted wounds are often the most painful of all.
 

You do present a very good point here, but in some ways the OP
has a
point. This list is by far the most supportive and helpful lists
I've
come across, it would be nice to keep this attribute and not
slip off
into the geeks only attitude.

That said, the post probably should have been sent to the chat
list and
not here.

I'm not trying to start an argument, just offer an outside
perspective.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-15 Thread Da Rock

On Thu, 2008-10-09 at 07:50 -0700, Chad Marshall wrote:
 Here's what I said to the last guy who says my skin is thin,
just  
 leave well enough alone and drop it please. Seems your skin is
thin as  
 well if you can't handle a little back talk :)
 
 Well, I can always except critism. The problem is that I don't
need  
 rude responses for something I thought would be something to
share for  
 your organization, a success story of FreeBSD. Only for people
to call  
 me lazy and say Big Deal. If it's not a big deal, than say
nothing.   
 Maybe you should put someone in charge of answering emails who
aren't  
 cocky and smug, some responses were nice and at least
supportive.
 
 I still believe in FreeBSD and it's a great OS. It's the nix I
started  
 and learned with  but I think your community is full of
conceited,  
 pompous asses,  the reason I don't like to associate with IT
people.  
 I'd rather not give money to someone who has to insult me. If
you go  
 to a restaurant and you get a rude waiter, what do you do? I
don't go  
 back or give them a crap tip.

Maybe you should try the fedora list then? You'll be wishing you
hadn't
left this one... :)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-15 Thread Da Rock

 I love the direction this thread has taken. First, humorous,
then it
 will turn into flames.  I bet all my US$:-)
 

Unfortunately that doesn't really offer much value anymore with
the
recent market downturn- got anything else to offer?

Sorry- couldn't resist... :P



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-10 Thread Bernt Hansson

Zbigniew Szalbot:

2008/10/9 Jon Radel:

Dear Mr. Marshall:

I'm terribly sorry that our representatives in charge of answering emails
have been rude to you.  I've just fired the lot of them, particularly as we
can't afford to keep then on anymore seeing as how your generous donations
are now in jeopardy.


How is that supposed to be helpful?


Ironi is helpful. And funny.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: uptime 2 years!

2008-10-10 Thread Ted Mittelstaedt

Odhiambo, you hit the nail on the head.  Glad to see you
caught on.

Chad, please google up the definition of passive-agressive
behavior and look at yourself in a mirror.  If you don't get
it, reread the definition and look in the mirror again.  And
in the future, please don't engage in it.  You don't want
to become known for this.

As for the rest of you, this is a classic Bikeshed discussion.
I'm amazed that so many people fell for it.  I guess the
collapse of the US financial system has put a crimp on your
spending on new computers and your all bored of your old
hardware.

Chad's post was worth a read.  It wasn't worth a response,
espically escalated to the rediculousness that some have
been.  Did anyone bother to think that any admin with
2 years uptime on a system probably has some decent coin
into the environment (think, UPS power here) and more like
as not knows what they are doing?

Chances that your going to get 2 years of uptime on a system
plugged into a consumer-grade UPS in a private residence are
lower than the chances that Jamie Lynn Spears is going to be
offered the job of spokesperson for the National Abstinence
Education Association.  It has nothing to do with how the
server is configured and everything to do with the environment
the server is in.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Odhiambo
 Washington
 Sent: Thursday, October 09, 2008 9:56 AM
 To: User Questions
 Cc: Chad Marshall; Jon Radel
 Subject: Re: uptime 2 years!
 
 
 On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot 
 [EMAIL PROTECTED] wrote:
  2008/10/9 Jon Radel:
 
  Dear Mr. Marshall:
 
  I'm terribly sorry that our representatives in charge of 
 answering emails
  have been rude to you.  I've just fired the lot of them, 
 particularly as we
  can't afford to keep then on anymore seeing as how your 
 generous donations
  are now in jeopardy.
 
  How is that supposed to be helpful?
 
  I will ask, however, that in the future you constrain your e-mail to
  freebsd-questions to either questions or answers to them, so as to not
  inflame our more excitable representatives once we hire a new, 
 much reduced,
  batch of them.
 
  Can you follow your own advice?
 
  --
  Zbigniew Szalbot
 
 I love the direction this thread has taken. First, humorous, then it
 will turn into flames.  I bet all my US$:-)
 
 -- 
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 
 Oh My God! They killed init! You Bastards!
 --from a /. post
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Chad Marshall


 Sorry to bother you...You know, you could just leave well enough  
alone if you don't care. There goes any future donations from me and  
my organization as this is more than the first untactful email I  
recieved from this, I'll donate and use other platforms. Please don't  
send any other emails






On Oct 8, 2008, at 6:51 PM, matt donovan wrote:

why is this news or even important? heck most servers are up longer  
then this.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: uptime 2 years!

2008-10-09 Thread Bob McConnell
On Behalf Of matt donovan

 why is this news or even important? heck most servers
 are up longer then this.

It's neither. But the discussion proved useful as it served to remind me
that there are security updates that need to be reviewed periodically,
even for machines that are not directly connected to the outside world.
I also recorded a couple of URLs that I should review, and caught the
reminder that 2038 is coming quicker than I had hoped. That was very
timely, by the way. Later that same day it helped debug a problem. Yeah,
we already have one web developer that has run up against that limit. He
decided that forever is 30 years and wondered why QA got an error when
they tried to set a schedule end date with it. No, we don't use any 64
bit OS, yet.

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread David Kelly
On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote:
 
  Sorry to bother you...You know, you could just leave well enough  
 alone if you don't care. There goes any future donations from me and  
 my organization as this is more than the first untactful email I  
 recieved from this, I'll donate and use other platforms. Please don't  
 send any other emails

If your skin is that thin, then good riddance. But just what sort of
control over this email list do you expect of the organization? I
seriously doubt you contribute enough to pay for a full time list
moderator.

FreeBSD-Questions is not the right place to say, 2 years!,
FreeBSD-Chat is the right place, and that's exactly what I did several
days before this one appeared on Questions.

Meanwhile, you should know where the off switch is to unsubscribe as
somehow you managed to subscribe.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Jerry McAllister
On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote:

 
  Sorry to bother you...You know, you could just leave well enough  
 alone if you don't care. There goes any future donations from me and  
 my organization as this is more than the first untactful email I  
 recieved from this, I'll donate and use other platforms. Please don't  
 send any other emails
 

Kind of touchy, wouldn't you think?
People are giving you some perspective.
Well, anyway, you have the choice of using a superior system
or let scratchy responses lead you to something less suitable.

jerry

 
 On Oct 8, 2008, at 6:51 PM, matt donovan wrote:
 
 why is this news or even important? heck most servers are up longer  
 then this.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Lowell Gilbert
Eitan Adler [EMAIL PROTECTED] writes:

 andrew clarke wrote:

 Is FreeBSD 7.1 2038-proof?  ;-)


 As far as I know the amd64 version is (anyone care to verify/correct?)

All 64-bit platforms have 64-bit time_t, so that covers most of the
possible problems.  Even on 32-bit platforms, the major filesystems
use 64-bit times, so the data is good to go on 64-bit systems.

And in theory it should be possible to change time_t to unsigned, and
get another two-thirds of a century out of it...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Chad Marshall
Here's what I said to the last guy who says my skin is thin, just  
leave well enough alone and drop it please. Seems your skin is thin as  
well if you can't handle a little back talk :)


Well, I can always except critism. The problem is that I don't need  
rude responses for something I thought would be something to share for  
your organization, a success story of FreeBSD. Only for people to call  
me lazy and say Big Deal. If it's not a big deal, than say nothing.   
Maybe you should put someone in charge of answering emails who aren't  
cocky and smug, some responses were nice and at least supportive.


I still believe in FreeBSD and it's a great OS. It's the nix I started  
and learned with  but I think your community is full of conceited,  
pompous asses,  the reason I don't like to associate with IT people.  
I'd rather not give money to someone who has to insult me. If you go  
to a restaurant and you get a rude waiter, what do you do? I don't go  
back or give them a crap tip.


I get better tack out of forums where I'm asking for help on coding  
challenges than just simply offering a testimonial.




On Oct 9, 2008, at 7:35 AM, David Kelly wrote:


On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote:


Sorry to bother you...You know, you could just leave well enough
alone if you don't care. There goes any future donations from me and
my organization as this is more than the first untactful email I
recieved from this, I'll donate and use other platforms. Please don't
send any other emails


If your skin is that thin, then good riddance. But just what sort of
control over this email list do you expect of the organization? I
seriously doubt you contribute enough to pay for a full time list
moderator.

FreeBSD-Questions is not the right place to say, 2 years!,
FreeBSD-Chat is the right place, and that's exactly what I did several
days before this one appeared on Questions.

Meanwhile, you should know where the off switch is to unsubscribe as
somehow you managed to subscribe.

--
David Kelly N4HHE, [EMAIL PROTECTED]
= 
= 
==

Whom computers would destroy, they must first drive mad.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Mikel King


On Oct 8, 2008, at 9:00 PM, Chad Marshall wrote:

No Problem, I figured that there are other systems out there with a  
longer uptime. I have this server as a postfix/courier-imap/ 
squirrelmail  (60+ accounts and 30-40 forwards) mailserver with  
apache/php/mysql.  Also use it as a slave authoritative nameserver  
for over 100 zones (one zone with a 60sec TTL on a high volume  
production website) as well. Plus use it as a primary nameserver for  
our entire office (300+ workstations). I was lazy with it (Upgrading  
or Replacing) and when it hit a year, I decided to hold off doing  
anything with it as I wanted to see how long I could let it go.   
It's a celeron 2.4ghz server with 512m Ram and has been a champ  
server in it's performance and stability. I use CentOS for most of  
my other systems and find that as easy as it is for administration  
and upgrading, it lacks FreeBSD's performance. With the memory leaks  
that CentOS has, I usually have to end up restarting the  
machine(s).  With FreeBSD I can just restart the services, and got  
my memory back and reduce the amount of swap being used.


Regardless of the first email I got back (Which was a little rude),  
I will continue to run this server as long as I can and monitor the  
security risks using DenyHosts and other security measures.


Thanks,



On Oct 8, 2008, at 3:39 PM, Frank Shute wrote:


On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:



Hello,

Would like to share a success story which I'm sure you've had in the
past but one of my servers running FreeBSD will have an uptime of 2
years tomorrow. I plan on putting on my blog but as it doesn't have
much reach but wanted to share with you since your community has  
made

this possible. Please indicate where I could post this to have a bit
more reach or if you'd like to put a link to my blog, I'd be more  
than

happy to provide that.


Best Regards,



Sorry to rain on your parade:

http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html


Regards,

--

Frank




I think this is good news, and thanks for posting it. While it may not  
be a record holder, from an advocacy point of view it's nice to see.  
It means there one more rock solid server out there.


Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king
t: 631.627.3055
+--+
Do You know where your towel is?
+--+





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Paul Schmehl
--On Thursday, October 09, 2008 09:34:02 -0500 Jerry McAllister 
[EMAIL PROTECTED] wrote:




On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote:



 Sorry to bother you...You know, you could just leave well enough
alone if you don't care. There goes any future donations from me and
my organization as this is more than the first untactful email I
recieved from this, I'll donate and use other platforms. Please don't
send any other emails



Kind of touchy, wouldn't you think?
People are giving you some perspective.
Well, anyway, you have the choice of using a superior system
or let scratchy responses lead you to something less suitable.



When I was a young boy, I went on vacation with my family to a lake in upper 
Minnesota.  (My mother's ancestral home.)  The weather was beautiful, the water 
was warm and inviting, the swimming was thoroughly enjoyable and the cabin we 
stayed in was luxurious (by the standards of a little boy.)


However, my mother said something to me that mad me angry.  To punish her, I 
stomped off in a huff and spent the remainder of the vacation scowling in the 
cabin.  I refused to swim until she corrected the perceived injustice. 
Needless to say, my punishment caused me a great deal more consternation than 
it did her, or my siblings who were all happily enjoying the water and the 
boating and the entire lovely vacation while I fumed in the cabin.


Self-inflicted wounds are often the most painful of all.

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: uptime 2 years!

2008-10-09 Thread Zbigniew Szalbot
Hi,

2008/10/9 Chad Marshall [EMAIL PROTECTED]:

 Well, I can always except critism. The problem is that I don't need rude
 responses for something I thought would be something to share for your
 organization, a success story of FreeBSD. Only for people to call me lazy
 and say Big Deal. If it's not a big deal, than say nothing.  Maybe you
 should put someone in charge of answering emails who aren't cocky and smug,
 some responses were nice and at least supportive.

Chad - I think that you need to understand one thing. This is a public
list and majority of people who post/respond here aren't FreeBSD
Foundation workers but users of this great OS. At least I see the need
to separate the two. So if people are playing kind of rude, just
ignore them. I was glad to hear that FreeBSD proved useful to you, as
it is proving useful to me and an NGO I work for. I could give you
hips of examples when thanks to this list I have learnt something
useful or was given useful advice. And two years ago I knew nothing
about Unix or Linux. Thanks to this list I can manage FreeBSD (almost)
on my own. :)

But the discussion that followed made me realize that uptime is not
everything. I also love to see huge uptimes on my servers but if
anything this discussion brought it home to me that more than anything
I need to take care of security updates which I do.

All the best,

-- 
Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Chad Marshall [EMAIL PROTECTED] wrote:
 Maybe you should put someone in charge of answering emails
 who aren't  
 cocky and smug

This is a public mailing list.  No one is in charge of answering mails to it.  
When sending to -questions, you are emailing the community of people, most of 
whom are willing to help when they have time and knowledge.  

 I still believe in FreeBSD and it's a great OS.
 It's the nix I started  
 and learned with  but I think your community is full of
 conceited,  
 pompous asses,  the reason I don't like to associate
 with IT people.  
 I'd rather not give money to someone who has to insult
 me. 

No one on this list gets paid for helping others via it.  If you want paid 
support with no risk of potentially being offended by someone, you can actually 
pay for support through any one of many companies, or just hire a consultant.  

 If you go  
 to a restaurant and you get a rude waiter, what do you do?
 I don't go  
 back or give them a crap tip.

You're under some whacky and wholly mistaken impression that anyone here is 
getting tips.  We're here to help other users because that's how the community 
interoperates.  Others help me, I in turn help others.  If someone were rude to 
me or generally behaved poorly on the list, I may then be less inclined to 
answer a question they ask which I may know the answer to, or vice-versa.  

Take care, mdh



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Jon Radel


Chad Marshall wrote:


Here's what I said to the last guy who says my skin is thin, just leave 
well enough alone and drop it please. Seems your skin is thin as well if 
you can't handle a little back talk :)


Well, I can always except critism. The problem is that I don't need rude 
responses for something I thought would be something to share for your 
organization, a success story of FreeBSD. Only for people to call me 
lazy and say Big Deal. If it's not a big deal, than say nothing.  
Maybe you should put someone in charge of answering emails who aren't 
cocky and smug, some responses were nice and at least supportive.


I still believe in FreeBSD and it's a great OS. It's the nix I started 
and learned with  but I think your community is full of conceited, 
pompous asses,  the reason I don't like to associate with IT people. I'd 
rather not give money to someone who has to insult me. If you go to a 
restaurant and you get a rude waiter, what do you do? I don't go back or 
give them a crap tip.


I get better tack out of forums where I'm asking for help on coding 
challenges than just simply offering a testimonial.




Dear Mr. Marshall:

I'm terribly sorry that our representatives in charge of answering 
emails have been rude to you.  I've just fired the lot of them, 
particularly as we can't afford to keep then on anymore seeing as how 
your generous donations are now in jeopardy.


Moving forward I certainly hope that you evaluate your operating systems 
based on their technical merits and overall ROI, where I believe you 
will find that FreeBSD stands out, as it has for years, as a hard 
working operating system to support your Internet requirements at low cost.


I will ask, however, that in the future you constrain your e-mail to 
freebsd-questions to either questions or answers to them, so as to not 
inflame our more excitable representatives once we hire a new, much 
reduced, batch of them.


Thanks.

--Jon Radel
Who will now resign in shame
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Zbigniew Szalbot
2008/10/9 Jon Radel:

 Dear Mr. Marshall:

 I'm terribly sorry that our representatives in charge of answering emails
 have been rude to you.  I've just fired the lot of them, particularly as we
 can't afford to keep then on anymore seeing as how your generous donations
 are now in jeopardy.

How is that supposed to be helpful?

 I will ask, however, that in the future you constrain your e-mail to
 freebsd-questions to either questions or answers to them, so as to not
 inflame our more excitable representatives once we hire a new, much reduced,
 batch of them.

Can you follow your own advice?

-- 
Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Odhiambo Washington
On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot [EMAIL PROTECTED] wrote:
 2008/10/9 Jon Radel:

 Dear Mr. Marshall:

 I'm terribly sorry that our representatives in charge of answering emails
 have been rude to you.  I've just fired the lot of them, particularly as we
 can't afford to keep then on anymore seeing as how your generous donations
 are now in jeopardy.

 How is that supposed to be helpful?

 I will ask, however, that in the future you constrain your e-mail to
 freebsd-questions to either questions or answers to them, so as to not
 inflame our more excitable representatives once we hire a new, much reduced,
 batch of them.

 Can you follow your own advice?

 --
 Zbigniew Szalbot

I love the direction this thread has taken. First, humorous, then it
will turn into flames.  I bet all my US$:-)

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Zbigniew Szalbot
Hi,

2008/10/9 Odhiambo Washington [EMAIL PROTECTED]:
 I love the direction this thread has taken. First, humorous, then it
 will turn into flames.  I bet all my US$:-)

Well, I do not have much to lose in terms of USD ;) but I cannot
really understand why some people are still sort of getting on this
particular user. How does this help to promote FreeBSD? What will new
people joining this community think? What if someone just wanted to
send a donation for FreeBSD foundation? You never really know. I find
it difficult to comprehend why would someone want to undermine FBSD
Foundation work (which we all benefit from) through careless words and
actions.

Yours,

-- 
Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread matt donovan
On Thu, Oct 9, 2008 at 1:03 PM, Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Hi,

 2008/10/9 Odhiambo Washington [EMAIL PROTECTED]:
  I love the direction this thread has taken. First, humorous, then it
  will turn into flames.  I bet all my US$:-)

 Well, I do not have much to lose in terms of USD ;) but I cannot
 really understand why some people are still sort of getting on this
 particular user. How does this help to promote FreeBSD? What will new
 people joining this community think? What if someone just wanted to
 send a donation for FreeBSD foundation? You never really know. I find
 it difficult to comprehend why would someone want to undermine FBSD
 Foundation work (which we all benefit from) through careless words and
 actions.

 Yours,

 --
 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


this 2 years thing is actually more of a -advocacy email more then anything.
since that deals with promoting and donations.

 Since this email list is more for questions. I just find the whole 2 year
thing not important aka not a question hence why I said why is this
important for this mailing list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Drew Tomlinson

Chad Marshall wrote:
Here's what I said to the last guy who says my skin is thin, just 
leave well enough alone and drop it please. Seems your skin is thin as 
well if you can't handle a little back talk :)


Well, I can always except critism. The problem is that I don't need 
rude responses for something I thought would be something to share for 
your organization, a success story of FreeBSD. Only for people to call 
me lazy and say Big Deal. If it's not a big deal, than say nothing.  
Maybe you should put someone in charge of answering emails who aren't 
cocky and smug, some responses were nice and at least supportive.


I still believe in FreeBSD and it's a great OS. It's the nix I started 
and learned with  but I think your community is full of conceited, 
pompous asses,  the reason I don't like to associate with IT people. 
I'd rather not give money to someone who has to insult me. If you go 
to a restaurant and you get a rude waiter, what do you do? I don't go 
back or give them a crap tip.


Godwin's Law will be invoked soon...  :)

http://en.wikipedia.org/wiki/Godwin's_law
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread David Kelly

On Thu, Oct 09, 2008 at 05:11:13PM +0200, Zbigniew Szalbot wrote:


But the discussion that followed made me realize that uptime is not
everything. I also love to see huge uptimes on my servers but if
anything this discussion brought it home to me that more than anything
I need to take care of security updates which I do.


Yes, uptime isn't everything. But when security notices are published
its important to read the notice and question whether it immediately
applies to your situation.

In my case a kernel flaw which allows an otherwise valid user to elevate
authority is not terribly important on my 2 year machine. Something
which allows an unauthorized user into the machine is important. OTOH
while my kernel has been running 2 years I have wiped ports completely
several times and reinstalled. IIRC it takes 3 or 4 days to build X11
and KDE last time I tired. No longer has X11 or KDE.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Eitan Adler

Lowell Gilbert wrote:
[snip]

And in theory it should be possible to change time_t to unsigned, and
get another two-thirds of a century out of it...

However this would break binary compatibility with anything compiled 
before the change.


--
GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Chad Marshall
Thank you. Although I have always felt there are better systems for 
Administrative purposes, FreeBSD is a rock solid performer.  I'm a Mac 
user/Fan as well and since a lot of it's core was built on FreeBSD, goes 
to show how great it is. Thanks to all of you who were at least 
constructive and supportive and found some value in my story.


Best Regards,



Modulok wrote:

uptime 2 years!
  


Congratulations. Long uptimes should be shared, so as to encourage people to
consider FreeBSD for long-term stability. Thank you for posting.

Through this discussion the lazy administrator topic came up... In
regards to that, we
must keep in mind, 'stability,' pertains not only to run-time
stability but also to
temporal stability and general quality of the design and implementation of the
original code base. If an administrator has to make offline kernel
patches every
week to fix a glaring security hole, something was wrong with the
sofware's original
 design or implementation. Regardless, mistakes do occur, so keep your system up
 for as long as you can, but don't forget to watch the security
reports for things that
would directly affect that specific server. All things in moderation.

  

Sorry to bother you...You know, you could just leave well enough alone if you 
don't
care. There goes any future donations from me and my organization as this is
more than the first untactful email I recieved from this, I'll donate and use 
other
platforms. Please don't send any other emails
  


Don't let a few sour grapes get you down. I think it's cool.
-Modulok-
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Modulok
 uptime 2 years!

Congratulations. Long uptimes should be shared, so as to encourage people to
consider FreeBSD for long-term stability. Thank you for posting.

Through this discussion the lazy administrator topic came up... In
regards to that, we
must keep in mind, 'stability,' pertains not only to run-time
stability but also to
temporal stability and general quality of the design and implementation of the
original code base. If an administrator has to make offline kernel
patches every
week to fix a glaring security hole, something was wrong with the
sofware's original
 design or implementation. Regardless, mistakes do occur, so keep your system up
 for as long as you can, but don't forget to watch the security
reports for things that
would directly affect that specific server. All things in moderation.

Sorry to bother you...You know, you could just leave well enough alone if you 
don't
care. There goes any future donations from me and my organization as this is
more than the first untactful email I recieved from this, I'll donate and use 
other
platforms. Please don't send any other emails

Don't let a few sour grapes get you down. I think it's cool.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread mdh



--- On Thu, 10/9/08, Eitan Adler [EMAIL PROTECTED] wrote:

 From: Eitan Adler [EMAIL PROTECTED]
 Subject: Re: uptime 2 years!
 To: freebsd-questions@FreeBSD.org
 Date: Thursday, October 9, 2008, 8:41 PM
 Lowell Gilbert wrote:
 [snip]
  And in theory it should be possible to change time_t
 to unsigned, and
  get another two-thirds of a century out of it...
  
 However this would break binary compatibility with anything
 compiled 
 before the change.
 
 -- 
 GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F
 24AB E9C2 CCD1
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Eitan Adler [EMAIL PROTECTED] wrote:
 From: Eitan Adler [EMAIL PROTECTED]
 Subject: Re: uptime 2 years!
 To: freebsd-questions@FreeBSD.org
 Date: Thursday, October 9, 2008, 8:41 PM
 Lowell Gilbert wrote:
 [snip]
  And in theory it should be possible to change time_t
 to unsigned, and
  get another two-thirds of a century out of it...
  
 However this would break binary compatibility with anything
 compiled 
 before the change.

One thing to consider is that changing any signed value to an unsigned value 
then prevents functions which return that type from returning -1 (or otherwise 
0) to indicate an error condition.  Even if it doesn't affect anything at all 
in the base system, it could impact untold sums of software developed not in 
the base system. 
- mdh



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-09 Thread Frank Shute
On Wed, Oct 08, 2008 at 06:00:38PM -0700, Chad Marshall wrote:

 No Problem, I figured that there are other systems out there with a  
 longer uptime. I have this server as a postfix/courier-imap/ 
 squirrelmail  (60+ accounts and 30-40 forwards) mailserver with apache/ 
 php/mysql.  Also use it as a slave authoritative nameserver for over  
 100 zones (one zone with a 60sec TTL on a high volume production  
 website) as well. Plus use it as a primary nameserver for our entire  
 office (300+ workstations). I was lazy with it (Upgrading or  
 Replacing) and when it hit a year, I decided to hold off doing  
 anything with it as I wanted to see how long I could let it go.  It's  
 a celeron 2.4ghz server with 512m Ram and has been a champ server in  
 it's performance and stability. I use CentOS for most of my other  
 systems and find that as easy as it is for administration and  
 upgrading, it lacks FreeBSD's performance. With the memory leaks that  
 CentOS has, I usually have to end up restarting the machine(s).  With  
 FreeBSD I can just restart the services, and got my memory back and  
 reduce the amount of swap being used.

I'm glad to hear that your machine is busy and doing useful work,
the uptime I pointed to was non-Internet facing IIRC.

I'm also interested to hear that CentOS ...lacks FreeBSD
performance. Statistics never tell the whole story - real world usage
does. Your observations will help to encourage our developers to
further greater efforts! ;)

When I went from RH to FreeBSD-4.3, the difference in performance as a
desktop user was noticeable but that was a few years ago.

 
 Regardless of the first email I got back (Which was a little rude), I  
 will continue to run this server as long as I can and monitor the  
 security risks using DenyHosts and other security measures.
 
 Thanks,
 

Don't necessarily take posts on this list as rude or offensive. From
my experience of reading this list, there is quite a lot of
misunderstanding due to cultural/language problems or people thinking
something was a slight even if none was intended by the original poster.
Or somebody might be just having a bad day (it happens to all of us).

This list is open to everyone  only represents the FreeBSD project in
that the majority who post here use FreeBSD (from newbies to kernel
hackers).

Do keep on using FreeBSD  promoting it's use - no point in cutting
off your nose to spite your face!

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


uptime 2 years!

2008-10-08 Thread Chad Marshall


Hello,

Would like to share a success story which I'm sure you've had in the  
past but one of my servers running FreeBSD will have an uptime of 2  
years tomorrow. I plan on putting on my blog but as it doesn't have  
much reach but wanted to share with you since your community has made  
this possible. Please indicate where I could post this to have a bit  
more reach or if you'd like to put a link to my blog, I'd be more than  
happy to provide that.



Best Regards,





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: uptime 2 years!

2008-10-08 Thread Jeremy Chadwick
On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:
 Would like to share a success story which I'm sure you've had in the  
 past but one of my servers running FreeBSD will have an uptime of 2  
 years tomorrow. I plan on putting on my blog but as it doesn't have much 
 reach but wanted to share with you since your community has made this 
 possible. Please indicate where I could post this to have a bit more 
 reach or if you'd like to put a link to my blog, I'd be more than happy 
 to provide that.

I don't want to rain on your parade, but uptime ultimately means squat.
I can install FreeBSD on a box under my desk at home, on a UPS, and
leave it powered on for the next 30 years -- it tells people absolutely
nothing about the reliability of the OS, or what kind of stress it's
undergone during that time.

Additionally, long uptimes also reflect directly on sysadmins: I take it
to mean the administrator is very lazy.  There are security holes
(kernel or userland/library-level) which are exploitable on boxes which
have been up for that kind of time.  I'm also making the assumption that
said boxes have Internet connectivity, hence my point.

Food for thought.  :-)

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Mihai Donțu
On Wednesday 08 October 2008, Jeremy Chadwick wrote:
 On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:
  Would like to share a success story which I'm sure you've had in the
  past but one of my servers running FreeBSD will have an uptime of 2
  years tomorrow. I plan on putting on my blog but as it doesn't have much
  reach but wanted to share with you since your community has made this
  possible. Please indicate where I could post this to have a bit more
  reach or if you'd like to put a link to my blog, I'd be more than happy
  to provide that.

 I don't want to rain on your parade, but uptime ultimately means squat.
 I can install FreeBSD on a box under my desk at home, on a UPS, and
 leave it powered on for the next 30 years -- it tells people absolutely
 nothing about the reliability of the OS, or what kind of stress it's
 undergone during that time.

 Additionally, long uptimes also reflect directly on sysadmins: I take it
 to mean the administrator is very lazy.  There are security holes
 (kernel or userland/library-level) which are exploitable on boxes which
 have been up for that kind of time.  I'm also making the assumption that
 said boxes have Internet connectivity, hence my point.

 Food for thought.  :-)

Or to put it mildly and not alienate Chad :), what was the box used for and, 
if it had Internet connectivity, how were the potential security issues 
handled within the last two years?

A Guy Ritchie kind of story will do just fine. :)

-- 
Mihai Donțu
unices.bitdefender.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread andrew clarke
On Wed 2008-10-08 09:21:53 UTC-0700, Jeremy Chadwick ([EMAIL PROTECTED]) wrote:

 I don't want to rain on your parade, but uptime ultimately means squat.

Agreed.

 I can install FreeBSD on a box under my desk at home, on a UPS, and
 leave it powered on for the next 30 years -- it tells people absolutely
 nothing about the reliability of the OS, or what kind of stress it's
 undergone during that time.

I'd be impressed if an ordinary PC lasted 30 years continuously
running.  Even if the HDD is solid-state you still have to think about
other moving parts, particularly the CPU and PSU cooling fans.  I've
had a bad run with PSU fans recently.

Is FreeBSD 7.1 2038-proof?  ;-)

http://en.wikipedia.org/wiki/Year_2038_problem

(I wonder what version of FreeBSD will be the latest in 2038?)

 Additionally, long uptimes also reflect directly on sysadmins: I take it
 to mean the administrator is very lazy.  There are security holes
 (kernel or userland/library-level) which are exploitable on boxes which
 have been up for that kind of time.  I'm also making the assumption that
 said boxes have Internet connectivity, hence my point.

Yes, my initial thought was what, you don't use freebsd-update?.

Regards
Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Paul Schmehl
--On Wednesday, October 08, 2008 10:54:47 -0500 Chad Marshall 
[EMAIL PROTECTED] wrote:





Hello,

Would like to share a success story which I'm sure you've had in the
past but one of my servers running FreeBSD will have an uptime of 2
years tomorrow. I plan on putting on my blog but as it doesn't have
much reach but wanted to share with you since your community has made
this possible. Please indicate where I could post this to have a bit
more reach or if you'd like to put a link to my blog, I'd be more than
happy to provide that.



All this means is that you haven't applied any security patches in the past two 
years.  I don't think it would be wise to advertise that fact on the internet.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: uptime 2 years!

2008-10-08 Thread Eitan Adler

andrew clarke wrote:

 Is FreeBSD 7.1 2038-proof?  ;-)


As far as I know the amd64 version is (anyone care to verify/correct?)
--
GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Frank Shute
On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:

 
 Hello,
 
 Would like to share a success story which I'm sure you've had in the  
 past but one of my servers running FreeBSD will have an uptime of 2  
 years tomorrow. I plan on putting on my blog but as it doesn't have  
 much reach but wanted to share with you since your community has made  
 this possible. Please indicate where I could post this to have a bit  
 more reach or if you'd like to put a link to my blog, I'd be more than  
 happy to provide that.
 
 
 Best Regards,
 

Sorry to rain on your parade:

http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Duane Hill

On Wed, 8 Oct 2008, Frank Shute wrote:


On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:



Hello,

Would like to share a success story which I'm sure you've had in the
past but one of my servers running FreeBSD will have an uptime of 2
years tomorrow. I plan on putting on my blog but as it doesn't have
much reach but wanted to share with you since your community has made
this possible. Please indicate where I could post this to have a bit
more reach or if you'd like to put a link to my blog, I'd be more than
happy to provide that.


Best Regards,



Sorry to rain on your parade:

http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html


Uptime over seven(7) years? Must be behind some firewall and not have to 
worry about (what someone else has stated) kernel or userland updates.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Duane Hill wrote:
| On Wed, 8 Oct 2008, Frank Shute wrote:
|
| On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:
|
|
| Hello,
|
| Would like to share a success story which I'm sure you've had in the
| past but one of my servers running FreeBSD will have an uptime of 2
| years tomorrow. I plan on putting on my blog but as it doesn't have
| much reach but wanted to share with you since your community has made
| this possible. Please indicate where I could post this to have a bit
| more reach or if you'd like to put a link to my blog, I'd be more than
| happy to provide that.
|
|
| Best Regards,
|
|
| Sorry to rain on your parade:
|
| http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html
|
| Uptime over seven(7) years? Must be behind some firewall and not have to
| worry about (what someone else has stated) kernel or userland updates.

No entry for seven in section 7 of the manual


:D


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkjtSJ0ACgkQwMJqmJVx947+YgCeKx0R5O4IUjNc4xUnypmU/AnA
0b4An1nkSCv9L7xhCVrAK4yL76/m7BI0
=auUZ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Da Rock

On Wed, 2008-10-08 at 22:47 +, Duane Hill wrote:
 On Wed, 8 Oct 2008, Frank Shute wrote:
 
  On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:
 
 
  Hello,
 
  Would like to share a success story which I'm sure you've had in the
  past but one of my servers running FreeBSD will have an uptime of 2
  years tomorrow. I plan on putting on my blog but as it doesn't have
  much reach but wanted to share with you since your community has made
  this possible. Please indicate where I could post this to have a bit
  more reach or if you'd like to put a link to my blog, I'd be more than
  happy to provide that.
 
 
  Best Regards,
 
 
  Sorry to rain on your parade:
 
  http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html
 
 Uptime over seven(7) years? Must be behind some firewall and not have to 
 worry about (what someone else has stated) kernel or userland updates.

I believe there is at least 2 ways to achieve this without a security
risk:

1. The updates were completed without rebooting (ie hot swapping the
kernel).

2. The system was behind a firewall and not used for anything except
maybe backups and/or file server. I know of an old system that ran for 3
1/2 years like this- name: Mother.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Kurt Buff
Nice, but what does port audit say?

On Wed, Oct 8, 2008 at 8:54 AM, Chad Marshall [EMAIL PROTECTED] wrote:

 Hello,

 Would like to share a success story which I'm sure you've had in the past
 but one of my servers running FreeBSD will have an uptime of 2 years
 tomorrow. I plan on putting on my blog but as it doesn't have much reach but
 wanted to share with you since your community has made this possible. Please
 indicate where I could post this to have a bit more reach or if you'd like
 to put a link to my blog, I'd be more than happy to provide that.


 Best Regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Chad Marshall
No Problem, I figured that there are other systems out there with a  
longer uptime. I have this server as a postfix/courier-imap/ 
squirrelmail  (60+ accounts and 30-40 forwards) mailserver with apache/ 
php/mysql.  Also use it as a slave authoritative nameserver for over  
100 zones (one zone with a 60sec TTL on a high volume production  
website) as well. Plus use it as a primary nameserver for our entire  
office (300+ workstations). I was lazy with it (Upgrading or  
Replacing) and when it hit a year, I decided to hold off doing  
anything with it as I wanted to see how long I could let it go.  It's  
a celeron 2.4ghz server with 512m Ram and has been a champ server in  
it's performance and stability. I use CentOS for most of my other  
systems and find that as easy as it is for administration and  
upgrading, it lacks FreeBSD's performance. With the memory leaks that  
CentOS has, I usually have to end up restarting the machine(s).  With  
FreeBSD I can just restart the services, and got my memory back and  
reduce the amount of swap being used.


Regardless of the first email I got back (Which was a little rude), I  
will continue to run this server as long as I can and monitor the  
security risks using DenyHosts and other security measures.


Thanks,




On Oct 8, 2008, at 3:39 PM, Frank Shute wrote:


On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote:



Hello,

Would like to share a success story which I'm sure you've had in the
past but one of my servers running FreeBSD will have an uptime of 2
years tomorrow. I plan on putting on my blog but as it doesn't have
much reach but wanted to share with you since your community has made
this possible. Please indicate where I could post this to have a bit
more reach or if you'd like to put a link to my blog, I'd be more  
than

happy to provide that.


Best Regards,



Sorry to rain on your parade:

http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html


Regards,

--

Frank


Contact info: http://www.shute.org.uk/misc/contact.html



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: uptime 2 years!

2008-10-08 Thread matt donovan
why is this news or even important? heck most servers are up longer then
this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread reese
Well sometimes you don't need to upgrade and you aren't connected to the 
internet directly.

elephant: {25} uptime
 5:54PM  up 1756 days,  7:07, 2 users, load averages: 1.04, 1.01, 1.00

elephant 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003

This machine is semi-retired now but for its first three years it was 
the database server (ads, reg, hit logging etc.) for a large website
( 300,000 pages/day).  It also handled the queries for a 
monthly reports server that created detailed reports 
for about 5000 companies that had content on 
the site.   I didn't keep track of the connections then but its 
replacement is doing  28,527 conn/hr.

This was on an internal network that was firewalled from everything 
but port 3306 on the webserver IP, and a couple admin IPs.  It was a big 
exercise to 
replace it as the databases were quite large (48G) and it took a good fraction 
of an hour to make the occasional snapshot for starting a new replicator 
when needed.  

FreeBSD really is one of the most stable OSs even under a pretty 
good load.



Cheers,
Charlie

One OS to rule them all  :-)


On 9 Oct 2008 at 3:45, andrew clarke wrote:

 On Wed 2008-10-08 09:21:53 UTC-0700, Jeremy Chadwick ([EMAIL PROTECTED]) 
 wrote:
 
  I don't want to rain on your parade, but uptime ultimately means squat.
 
 Agreed.
 
  I can install FreeBSD on a box under my desk at home, on a UPS, and
  leave it powered on for the next 30 years -- it tells people absolutely
  nothing about the reliability of the OS, or what kind of stress it's
  undergone during that time.
 
 I'd be impressed if an ordinary PC lasted 30 years continuously
 running.  Even if the HDD is solid-state you still have to think about
 other moving parts, particularly the CPU and PSU cooling fans.  I've
 had a bad run with PSU fans recently.
 
 Is FreeBSD 7.1 2038-proof?  ;-)
 
 http://en.wikipedia.org/wiki/Year_2038_problem
 
 (I wonder what version of FreeBSD will be the latest in 2038?)
 
  Additionally, long uptimes also reflect directly on sysadmins: I take it
  to mean the administrator is very lazy.  There are security holes
  (kernel or userland/library-level) which are exploitable on boxes which
  have been up for that kind of time.  I'm also making the assumption that
  said boxes have Internet connectivity, hence my point.
 
 Yes, my initial thought was what, you don't use freebsd-update?.
 
 Regards
 Andrew
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uptime 2 years!

2008-10-08 Thread Charles Reese

   Well sometimes you don't need to upgrade and you aren't connected to
   the

   internet directly.

   elephant: {25} uptime

   5:54PM  up 1756 days,  7:07, 2 users, load averages: 1.04, 1.01, 1.00

   elephant 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT
   2003

   This machine is semi-retired now but for its first three years it was

   the database server (ads, reg, hit logging etc.) for a large website

   ( 300,000 pages/day).  It also handled the queries for a

   monthly reports server that created detailed reports

   for about 5000 companies that had content on

   the site.   I didn't keep track of the connections then but its

   replacement is doing  28,527 conn/hr.

   This was on an internal network that was firewalled from everything

   but port 3306 on the webserver IP, and a couple admin IPs.  It was a
   big exercise to

   replace it as the databases were quite large (48G) and it took a good
   fraction

   of an hour to make the occasional snapshot for starting a new
   replicator

   when needed.

   FreeBSD really is one of the most stable OSs even under a pretty

   good load.

   Cheers,

   Charlie

   One OS to rule them all  :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
[EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 wrote:


  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?


 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.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can get
 packets out, then other people can get packets in.  The trick is to monitor
 something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


Thank you guys. I'm looking for the simplest solution though, like a simple
oneliner, or a shell script.

Anybody have an idea?

-- 
http://www.home.no/reddvinylene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene [EMAIL PROTECTED]wrote:


 On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
 [EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 wrote:


  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?


 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.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can get
 packets out, then other people can get packets in.  The trick is to monitor
 something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


 Thank you guys. I'm looking for the simplest solution though, like a simple
 oneliner, or a shell script.

 Anybody have an idea?

 --
 http://www.home.no/reddvinylene


I'll try to write a simple shell script and report back to y'all.

-- 
http://www.home.no/reddvinylene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-09-04 Thread Redd Vinylene
On Thu, Sep 4, 2008 at 9:05 PM, Redd Vinylene [EMAIL PROTECTED]wrote:

 On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene [EMAIL PROTECTED]wrote:


 On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman 
 [EMAIL PROTECTED] wrote:

 Redd Vinylene wrote:

 On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED]
 wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 
 wrote:


  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?


 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.


 Not necessarily.  You can install nagios on your web server and use it
 to monitor a server at the other end of your wan link -- usually a
 machine in your ISPs infrastructure[*] -- on the basis that if you can
 get packets out, then other people can get packets in.  The trick is to
 monitor something that isn't too far away, or you'll end up monitoring the
 availability of other people's networks, rather than your own.

 There's a lot more can be done than just monitoring connectivity by
 sending ICMP ping packets every so often.  There are any number of
 ways a web server can go wrong -- processes can crash, critical disk
 partitions can fill up, load spikes can overwhelm the machine's capacity.
 You can develop a range of different nagios tests that should tell you
 pretty much at a glance just what has gone wrong.  Takes all the fun out
 of diagnosing the problems perhaps, but it does mean you'll be back to
 bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

 [*] Some ISPs provide machines specifically for this purpose.

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


 Thank you guys. I'm looking for the simplest solution though, like a
 simple oneliner, or a shell script.

 Anybody have an idea?

 --
 http://www.home.no/reddvinylene


 I'll try to write a simple shell script and report back to y'all.

 --
 http://www.home.no/reddvinylene


Perfection is achieved, not when there's nothing left to add, but when
there's nothing left to take away :)

while sleep 555; do wget http://ip -O /dev/null -t 1 || mail -s email
 Host is down; done

-- 
http://www.home.no/reddvinylene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-08-31 Thread Matthew Seaman

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?



http://www.nagios.org/

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: How to test the uptime of a webserver?

2008-08-31 Thread Redd Vinylene
On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED] wrote:


 On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
 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?


 --
 http://www.home.no/reddvinylene
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


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.

-- 
http://www.home.no/reddvinylene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-08-31 Thread Andrew D

Redd Vinylene wrote:

On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED] wrote:


On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
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.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-08-31 Thread Andrew D

Redd Vinylene wrote:

On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED] wrote:


On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
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.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to test the uptime of a webserver?

2008-08-31 Thread Matthew Seaman

Redd Vinylene wrote:

On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos [EMAIL PROTECTED] wrote:


On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene [EMAIL PROTECTED]
wrote:



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?



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.


Not necessarily.  You can install nagios on your web server and use it
to monitor a server at the other end of your wan link -- usually a
machine in your ISPs infrastructure[*] -- on the basis that if you can get 
packets out, then other people can get packets in.  The trick is to monitor 
something that isn't too far away, or you'll end up monitoring the 
availability of other people's networks, rather than your own.


There's a lot more can be done than just monitoring connectivity by
sending ICMP ping packets every so often.  There are any number of
ways a web server can go wrong -- processes can crash, critical disk partitions 
can fill up, load spikes can overwhelm the machine's capacity.
You can develop a range of different nagios tests that should tell you
pretty much at a glance just what has gone wrong.  Takes all the fun out
of diagnosing the problems perhaps, but it does mean you'll be back to
bed sooner when the pager goes off in the small hours.

Cheers,

Matthew

[*] Some ISPs provide machines specifically for this purpose.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


How to test the uptime of a webserver?

2008-08-30 Thread Redd Vinylene
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?

-- 
http://www.home.no/reddvinylene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Netcraft do not display uptime graph, why?

2007-10-05 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


That URL states that we 'default to 1000Hz' ... is it lowerable, and what are 
the ramifications of doing so?  My first thought is that 1000Hz is giving us 
higher timer granularity (1000 cycles per sec vs 100 cycles per sec) ... is 
this correct?

Thx

- --On Friday, September 21, 2007 12:36:24 -0400 Bill Moran 
[EMAIL PROTECTED] wrote:

 In response to Byung-Hee HWANG [EMAIL PROTECTED]:

 Hi there,

 My machine is FreeBSD 6.x currently. But Netcraft do not display of my
 machine's uptime graph. When I used FreeBSD 4.x, actually I could see
 the uptime graph in Netcraft.

 What happened?

 http://uptime.netcraft.com/up/accuracy.html#hz1000

 --
 Bill Moran
 http://www.potentialtech.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHBo5Z4QvfyHIvDvMRAjxKAJ9UKlOnb7A61yPA7p7OTmAO7gK/2gCgvq4K
Av0c/f0kq1JaRepAhnWofgo=
=La6B
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Netcraft do not display uptime graph, why?

2007-10-05 Thread RW
On Fri, 05 Oct 2007 16:19:53 -0300
Marc G. Fournier [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 That URL states that we 'default to 1000Hz' ... is it lowerable, and
 what are the ramifications of doing so?  My first thought is that
 1000Hz is giving us higher timer granularity (1000 cycles per sec vs
 100 cycles per sec) ... is this correct?

I think it's more to do with lowering latency on polled
network interfaces.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Netcraft do not display uptime graph, why?

2007-09-21 Thread Byung-Hee HWANG
Hi there,

My machine is FreeBSD 6.x currently. But Netcraft do not display of my
machine's uptime graph. When I used FreeBSD 4.x, actually I could see
the uptime graph in Netcraft.

What happened? 
And what can I do to solve the problem?

Here is my machine's uname:

[EMAIL PROTECTED]:~ uname -v
FreeBSD 6.2-RELEASE-p7 #4: Thu Aug 30 23:44:27 KST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP 
[EMAIL PROTECTED]:~

Byung-Hee 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >