LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2005, 12:01 PM   #1
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
rely between machines


hi guys,

I have three linux machines clustered in a load balancer set up.
I need to check from one machine whether every other machine is up and services like mysql,apache running and notify during system crash/hang.

Is there any helpful linux command to check the health of another linux machine? Can we check through relying/broadcasting?


Thanks in advance,
Bij
 
Old 11-30-2005, 12:42 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Probably the easiest way to implement this is to use Nagios. It is a system to monitor servers and services in near real time, and can easily handle to small amount that you need. I used it several years ago when working for a large corporation to monitor 150 linux systems across 3 labs, and the IT department was implementing it to monitor 4000 systems in a distributed computing environment, so it can definitely handle the load. I also found it to be fairly easy to implement, and once I had the service configured for individual systems, I added it to the imaging process to mass deploy it with little effort.
 
Old 12-01-2005, 01:25 AM   #3
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
hi,

Thanks for the reply.

Nagios seems to have lot of functions which i hardly need.
I am not sure about the effect of Nagios(performance wise) on other programs in my system. I am concerned about the CPU/Memory usage of Nagios. It will be helpful to me if you can share your experience regarding performance issues of Nagios.


Is there any lighter versions similar to Nagios?

Thanks in advance,
Biju
 
Old 12-01-2005, 02:56 AM   #4
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
The nagios system is modular, and based on cron jobs, and a few daemon processes (from what I remember). Since it is modular, you only need to activate the monitors for the services you wish to maintain. Load is very minimal. Most of the systems I ran it on were PC on a card type systems using a Cyrix Geode 300mhz CPU (Spec benchmark equivilant to a Pentium 75), with 64M memory. The application we were running used 50M, and sometimes an engineer would remote in with vnc (using KDE or Gnome as their windows manager). Those were the times when I got alerted to excessive cpu load & swap load. At one point it was so bad (one brain dead engineer in particular), that I had to rebuild the system image with only mwm as the windows manager (talk about pain and suffering). Most of Nagios runs from a single monitoring system anyways. There were some plugins that I wrote in perl to monitor system throughput of our test automation system, but they became redundant as we integrated that capability into our test software.

Other than that, I had ~140 systems running automated testing & data upload, 2 servers running Apache & MySQL (mirroring each other), and a handful of xwindows servers for remote login & development (not to mention a few "ghosts" on the network, like an MP3 streaming server).

Nagios actually performed well back then, but it had fewer components than it has now. It looks like they have made some major enhancements since then (2001 was when I last implemented it, before my job became redundant).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what services rely on hostname? sdave1284 Linux - Networking 1 02-12-2004 07:25 AM
can't see other machines but they can see each other Silly22 Linux - Networking 1 11-20-2002 04:28 AM
Can't see other machines AtomicToad Linux - Networking 7 11-19-2002 09:00 PM
does it rely on the kernel or the distro?! l_9_l Linux - Distributions 1 12-21-2001 01:05 PM
Does it rely on the kernel or the distro?! l_9_l Linux - General 3 12-21-2001 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration