Server monitoring software

2003-12-08 Thread Craig
Hi Guys

Is there software that we can install to monitor our servers and sms us
if there are only problems ?

Something like Big Brother but open source would be preferable.

Any suggestions will be appreciated.

Thanks

Craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Server monitoring software

2003-12-08 Thread Jamie Baddeley
www.nagios.org.

it rocks.

jamie

On Mon, 2003-12-08 at 22:07, Craig wrote:
> Hi Guys
> 
> Is there software that we can install to monitor our servers and sms us
> if there are only problems ?
> 
> Something like Big Brother but open source would be preferable.
> 
> Any suggestions will be appreciated.
> 
> Thanks
> 
> Craig
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: bind9 vs tinydns vs others

2003-12-08 Thread Jernej Horvat
Wednesday 03 December 2003 15:36, Marcel Hicking >

> To throw into something different:
> PowerDNS works fine with MySQL as a  backend

http://isp-lists.isp-planet.com/isp-dns/0310/msg00048.html

short version :)  i use nsd for authoritive dns servers and bind9 for 
recursive.

-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: duplicating servers - remote backup to HD

2003-12-08 Thread Sturla Holm Hansen
I used dump to do scripted backup to another server, worked great for me.
Even managed to restore database-files for MySQL that was active at the time
the dump was run.
I have som scripts taking care of  ignoring inodes you don't want if 
you're interrested.

Sturla

Jason Lim wrote:

Any good way to get around Qmail's usage of inode # as file names?

I've tried doing a simple cp before and it just doesn't work afterwards...
doens't see the files. I've seen hacks, but they don't seem to work well
and take forever to run, which can be tough, especially if you have
hundreds, if not thousands, of accounts, each possibly with a hundred
emails in each...
- Original Message - 
From: "W.D.McKinney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 07, 2003 02:05 PM
Subject: Re: duplicating servers - remote backup to HD

 

On Sat, 2003-12-06 at 14:23, George Georgalis wrote:
   

On Sat, Dec 06, 2003 at 01:33:32PM -0900, W.D.McKinney wrote:
 

Hello,

I'd like to backup a couple of Debian Woody servers remotely to my a
Storage array that I was given recently. The servers are are at a
   

local
 

colo and I nad a xDSL connection provided by the ISP that serves the
Colo so that's good. I am thinking that someone might have an rysnc
script that are using like this ? Is there one available any where ?
   

Sure, here's what I use for taking an image of a system. If you plan
to restore from your backup don't exclude your hostname, ssh host
keys, etc. You do want to exclude /proc and any NFS etc though. And
don't forget '--numeric-ids' as the specific numbers are referenced in
/etc/{passwd,group}
rsync -av --progress --delete-excluded --numeric-ids \
   --exclude=**/cdrom/* \
   --exclude=**/etc/hostname \
   --exclude=**/etc/mtab \
   --exclude=**/etc/network/interfaces \
   --exclude=**/floppy/* \
   --exclude=**/var/lock/* \
   --exclude=.bash_history \
   --exclude=.viminfo \
   --exclude=/.ssh/id* \
   --exclude=/etc/**/[EMAIL PROTECTED] \
   --exclude=/etc/**/current \
   --exclude=/etc/ssh/ssh_host_dsa_key \
   --exclude=/etc/ssh/ssh_host_dsa_key.pub \
   --exclude=/etc/ssh/ssh_host_rsa_key \
   --exclude=/etc/ssh/ssh_host_rsa_key.pub \
   --exclude=/supervise/status \
   --exclude=/tmp/* \
   --exclude=/var/backups/*gz \
   --exclude=/var/log/**/[EMAIL PROTECTED] \
   --exclude=/var/log/**/current \
   --exclude=/var/log/dmesg \
   --exclude=/var/run/*pid \
   --exclude=/var/tmp/* \
   --exclude=dhclient.leases \
   --exclude=dhcpd.leases \
   --exclude=known_hosts \
   --exclude=locatedb \
   --exclude=ntp.drift \
   --exclude=proc/* \
   --exclude=random-seed \
   --exclude=utmp \
   --exclude=wtmp \
   $src $dest
you'll need "-essh" and root on both sides to read/create all the
 

uids.
 

Caveat emperor and you may still have some problems with daemontools
control files being included...
 

Hi George,

Hey thanks I will try this as well. Good to hear from twice in a week
:-)
Dee

--
Alaska Wireless Systems
http://www.akwireless.net -=- "Take Control of Your E-Mail!"
(907)349-4308 Office - AIM = awswired
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
   

[EMAIL PROTECTED]
 

   



 





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


debootstrap

2003-12-08 Thread Martin Arrieta
hi.. i'm making a remote debian instalation, and i need the debootstrap
rpm file to do it.

all links in the web goes to people.debian.org (wich is is not available
now..)

anyone knows any mirror of people.debian.org or where can i find this
file?

tks.

ps: the full path to the file is
http://people.debian.org/~blade/install/debootstrap/debootstrap-0.1.16.4-2.i386.rpm

Martin





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: High Memory Kernels and buffer bouncing -solved ?

2003-12-08 Thread Theodore Knab
I hope, I solved the High Memory problem.

Today, I rebooted to a debian stable 2.4.18 kernel that was patched with
both XFS support and the Andrea Hi-Memory patch.

As a test, I ran an rsync on the mail data during the peak load time to force a
heavy IO load. When I did this before, I would usually get complaints
from users. However in this initial test, there was no noticeable IO
wait. All 3000+ accounts were rsync-ed in an about 2 hours. There was
about 2-4GB of changes since the last rsync. 

Additionally, the CPU load never went above 20%. Prior to getting the proper patch, the
CPU load would occasionally go up to 80-100% due to to what I thought
might be buffer bouncing. If the problem does not return in a week, I
will change this from 'thought might be' part to 'was'.

I call this an initial test because the next test is simply the test of time.

Actually, solving the High Memory problem is hard because it does not
come up very often. It only occurs during heavy IO times. The last time
my problem came up was during a weekly cronjob run. 

Thus, if you have a server with a lot of RAM (over 4GB with High-memory
support compiled in) that has a very high IO load like a mail-server or a
web-server, and your system stats tell you that you are running out of
RAM occasionally, then you might have a bounce buffer problem. 

To resolve High Memory issues you will have to patch your Kernel with
the Andrea patch or use the Red-Hat Enterprise kernel as R.C.
suggested:

Red Hat creates kernels with all the needed patches for the
high-memory stuff. You just have to switch them on in the
kernel on the Debian side this is not always guaranteed.

The high memory patch from andrea:
http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/

00_block-highmem-all-18b-3

On 04/12/03 11:52 -0500, Theodore Knab wrote:
> I was wondering if anyone is running a heavy worked server with memory above 4GB on 
> a 
> SMP 32 bit i386 machine.
> 
> I think that my mail server at work is getting bounce buffers, but I am not sure 
> how to detect them. Does anybody no how ?
> 
> I compiled my kernel for High Memory support, but I am not sure this is
> all I need to do. Is there another patch I need to worry about or should
> a stock Debian kernel provide me with all the needs for High memory.
> 
> There is a person on http://kernel.org named  Matthias Andree that wrote a
> highmem patch and was wondering if that was in the Debian Kernels ?
> 
> The reason I ask is that occasionally, the server performance spirals down
> exponentially when both the IO and users logged in gets to a certain
> level. This seems too look like the buffers are bouncing on the memory
> channel as documented here:
> 
> http://lkml.org/lkml/2003/9/17/81
> 
> 
--
Ted Knab
Chester, MD 21619

--
940216d6021602a41607166696c656c202778696368602d65616e637
02940226c696e646c69702c6f667560256675627478696e67602a416
0716e6563756e2a0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debootstrap

2003-12-08 Thread Frode Haugsgjerd
On Mon, Dec 08, 2003 at 02:59:06PM -0300, Martin Arrieta wrote:
> hi.. i'm making a remote debian instalation, and i need the debootstrap
> rpm file to do it.
> 
> all links in the web goes to people.debian.org (wich is is not available
> now..)
> 
> anyone knows any mirror of people.debian.org or where can i find this
> file?
> 
> tks.
> 
> ps: the full path to the file is
> http://people.debian.org/~blade/install/debootstrap/debootstrap-0.1.16.4-2.i386.rpm
> 
> Martin

The install documentation suggests making your own rpm package with alien,
or you could just extract the deb manually.
http://www.debian.org/releases/stable/i386/ch-preparing.en.html#s-linux-upgrade

--
Frode Haugsgjerd
Norway


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Server monitoring software

2003-12-08 Thread Craig
Hi Guys

Is there software that we can install to monitor our servers and sms us
if there are only problems ?

Something like Big Brother but open source would be preferable.

Any suggestions will be appreciated.

Thanks

Craig




Re: Server monitoring software

2003-12-08 Thread Jamie Baddeley
www.nagios.org.

it rocks.

jamie

On Mon, 2003-12-08 at 22:07, Craig wrote:
> Hi Guys
> 
> Is there software that we can install to monitor our servers and sms us
> if there are only problems ?
> 
> Something like Big Brother but open source would be preferable.
> 
> Any suggestions will be appreciated.
> 
> Thanks
> 
> Craig
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 





Re: bind9 vs tinydns vs others

2003-12-08 Thread Jernej Horvat
Wednesday 03 December 2003 15:36, Marcel Hicking >

> To throw into something different:
> PowerDNS works fine with MySQL as a  backend

http://isp-lists.isp-planet.com/isp-dns/0310/msg00048.html

short version :)  i use nsd for authoritive dns servers and bind9 for 
recursive.

-- 




Re: debootstrap

2003-12-08 Thread Frode Haugsgjerd
On Mon, Dec 08, 2003 at 02:59:06PM -0300, Martin Arrieta wrote:
> hi.. i'm making a remote debian instalation, and i need the debootstrap
> rpm file to do it.
> 
> all links in the web goes to people.debian.org (wich is is not available
> now..)
> 
> anyone knows any mirror of people.debian.org or where can i find this
> file?
> 
> tks.
> 
> ps: the full path to the file is
> http://people.debian.org/~blade/install/debootstrap/debootstrap-0.1.16.4-2.i386.rpm
> 
> Martin

The install documentation suggests making your own rpm package with alien,
or you could just extract the deb manually.
http://www.debian.org/releases/stable/i386/ch-preparing.en.html#s-linux-upgrade

--
Frode Haugsgjerd
Norway




debootstrap

2003-12-08 Thread Martin Arrieta
hi.. i'm making a remote debian instalation, and i need the debootstrap
rpm file to do it.

all links in the web goes to people.debian.org (wich is is not available
now..)

anyone knows any mirror of people.debian.org or where can i find this
file?

tks.

ps: the full path to the file is
http://people.debian.org/~blade/install/debootstrap/debootstrap-0.1.16.4-2.i386.rpm

Martin







Re: duplicating servers - remote backup to HD

2003-12-08 Thread Sturla Holm Hansen
I used dump to do scripted backup to another server, worked great for me.
Even managed to restore database-files for MySQL that was active at the time
the dump was run.
I have som scripts taking care of  ignoring inodes you don't want if 
you're interrested.

Sturla
Jason Lim wrote:
Any good way to get around Qmail's usage of inode # as file names?
I've tried doing a simple cp before and it just doesn't work afterwards...
doens't see the files. I've seen hacks, but they don't seem to work well
and take forever to run, which can be tough, especially if you have
hundreds, if not thousands, of accounts, each possibly with a hundred
emails in each...
- Original Message - 
From: "W.D.McKinney" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, December 07, 2003 02:05 PM
Subject: Re: duplicating servers - remote backup to HD

 

On Sat, 2003-12-06 at 14:23, George Georgalis wrote:
   

On Sat, Dec 06, 2003 at 01:33:32PM -0900, W.D.McKinney wrote:
 

Hello,
I'd like to backup a couple of Debian Woody servers remotely to my a
Storage array that I was given recently. The servers are are at a
   

local
 

colo and I nad a xDSL connection provided by the ISP that serves the
Colo so that's good. I am thinking that someone might have an rysnc
script that are using like this ? Is there one available any where ?
   

Sure, here's what I use for taking an image of a system. If you plan
to restore from your backup don't exclude your hostname, ssh host
keys, etc. You do want to exclude /proc and any NFS etc though. And
don't forget '--numeric-ids' as the specific numbers are referenced in
/etc/{passwd,group}
rsync -av --progress --delete-excluded --numeric-ids \
   --exclude=**/cdrom/* \
   --exclude=**/etc/hostname \
   --exclude=**/etc/mtab \
   --exclude=**/etc/network/interfaces \
   --exclude=**/floppy/* \
   --exclude=**/var/lock/* \
   --exclude=.bash_history \
   --exclude=.viminfo \
   --exclude=/.ssh/id* \
   --exclude=/etc/**/[EMAIL PROTECTED] \
   --exclude=/etc/**/current \
   --exclude=/etc/ssh/ssh_host_dsa_key \
   --exclude=/etc/ssh/ssh_host_dsa_key.pub \
   --exclude=/etc/ssh/ssh_host_rsa_key \
   --exclude=/etc/ssh/ssh_host_rsa_key.pub \
   --exclude=/supervise/status \
   --exclude=/tmp/* \
   --exclude=/var/backups/*gz \
   --exclude=/var/log/**/[EMAIL PROTECTED] \
   --exclude=/var/log/**/current \
   --exclude=/var/log/dmesg \
   --exclude=/var/run/*pid \
   --exclude=/var/tmp/* \
   --exclude=dhclient.leases \
   --exclude=dhcpd.leases \
   --exclude=known_hosts \
   --exclude=locatedb \
   --exclude=ntp.drift \
   --exclude=proc/* \
   --exclude=random-seed \
   --exclude=utmp \
   --exclude=wtmp \
   $src $dest
you'll need "-essh" and root on both sides to read/create all the
 

uids.
 

Caveat emperor and you may still have some problems with daemontools
control files being included...
 

Hi George,
Hey thanks I will try this as well. Good to hear from twice in a week
:-)
Dee
--
Alaska Wireless Systems
http://www.akwireless.net -=- "Take Control of Your E-Mail!"
(907)349-4308 Office - AIM = awswired
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
   

[EMAIL PROTECTED]
 

   


 





Re: High Memory Kernels and buffer bouncing -solved ?

2003-12-08 Thread Theodore Knab
I hope, I solved the High Memory problem.

Today, I rebooted to a debian stable 2.4.18 kernel that was patched with
both XFS support and the Andrea Hi-Memory patch.

As a test, I ran an rsync on the mail data during the peak load time to force a
heavy IO load. When I did this before, I would usually get complaints
from users. However in this initial test, there was no noticeable IO
wait. All 3000+ accounts were rsync-ed in an about 2 hours. There was
about 2-4GB of changes since the last rsync. 

Additionally, the CPU load never went above 20%. Prior to getting the proper 
patch, the
CPU load would occasionally go up to 80-100% due to to what I thought
might be buffer bouncing. If the problem does not return in a week, I
will change this from 'thought might be' part to 'was'.

I call this an initial test because the next test is simply the test of time.

Actually, solving the High Memory problem is hard because it does not
come up very often. It only occurs during heavy IO times. The last time
my problem came up was during a weekly cronjob run. 

Thus, if you have a server with a lot of RAM (over 4GB with High-memory
support compiled in) that has a very high IO load like a mail-server or a
web-server, and your system stats tell you that you are running out of
RAM occasionally, then you might have a bounce buffer problem. 

To resolve High Memory issues you will have to patch your Kernel with
the Andrea patch or use the Red-Hat Enterprise kernel as R.C.
suggested:

Red Hat creates kernels with all the needed patches for the
high-memory stuff. You just have to switch them on in the
kernel on the Debian side this is not always guaranteed.

The high memory patch from andrea:
http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/

00_block-highmem-all-18b-3

On 04/12/03 11:52 -0500, Theodore Knab wrote:
> I was wondering if anyone is running a heavy worked server with memory above 
> 4GB on a 
> SMP 32 bit i386 machine.
> 
> I think that my mail server at work is getting bounce buffers, but I am not 
> sure 
> how to detect them. Does anybody no how ?
> 
> I compiled my kernel for High Memory support, but I am not sure this is
> all I need to do. Is there another patch I need to worry about or should
> a stock Debian kernel provide me with all the needs for High memory.
> 
> There is a person on http://kernel.org named  Matthias Andree that wrote a
> highmem patch and was wondering if that was in the Debian Kernels ?
> 
> The reason I ask is that occasionally, the server performance spirals down
> exponentially when both the IO and users logged in gets to a certain
> level. This seems too look like the buffers are bouncing on the memory
> channel as documented here:
> 
> http://lkml.org/lkml/2003/9/17/81
> 
> 
--
Ted Knab
Chester, MD 21619

--
940216d6021602a41607166696c656c202778696368602d65616e637
02940226c696e646c69702c6f667560256675627478696e67602a416
0716e6563756e2a0