Re: Lightweight network monitoring program

2011-02-28 Thread Ian Stokes-Rees


On 2/28/11 10:18 AM, Jerry Feldman wrote:
 One of my systems at work tends to drop its network connection. What I
 need is a network monitoring tool. Certainly nagios will do the job, but
 I'm looking for something more light weight that will simply check a
 list of hosts periodically. I would like to run the monitoring software
 from either my Windows laptop of one of the network servers.

In my (admittedly very limited) experience, you think you just want
something simple and lightweight and then quickly discover you actually
need more and more features.  Nagios was designed for exactly this sort
of thing.  While it isn't a 15 minute solution, the ~half a day you'd
spend getting a basic Nagios setup in place is probably worth it.

Ian
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: Lightweight network monitoring program

2011-02-28 Thread Matt Shields
On Mon, Feb 28, 2011 at 10:18 AM, Jerry Feldman g...@blu.org wrote:

 One of my systems at work tends to drop its network connection. What I
 need is a network monitoring tool. Certainly nagios will do the job, but
 I'm looking for something more light weight that will simply check a
 list of hosts periodically. I would like to run the monitoring software
 from either my Windows laptop of one of the network servers.

 --
 Jerry Feldman g...@blu.org
 Boston Linux and Unix
 PGP key id: 537C5846
 PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846



 ___
 Discuss mailing list
 Discuss@blu.org
 http://lists.blu.org/mailman/listinfo/discuss


How about smokeping?  It's perfect for this and it creates nice graphs too

-matt
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: Lightweight network monitoring program

2011-02-28 Thread Jerry Feldman
On 02/28/2011 10:23 AM, Ian Stokes-Rees wrote:

 On 2/28/11 10:18 AM, Jerry Feldman wrote:
 One of my systems at work tends to drop its network connection. What I
 need is a network monitoring tool. Certainly nagios will do the job, but
 I'm looking for something more light weight that will simply check a
 list of hosts periodically. I would like to run the monitoring software
 from either my Windows laptop of one of the network servers.
 In my (admittedly very limited) experience, you think you just want
 something simple and lightweight and then quickly discover you actually
 need more and more features.  Nagios was designed for exactly this sort
 of thing.  While it isn't a 15 minute solution, the ~half a day you'd
 spend getting a basic Nagios setup in place is probably worth it.

You're probably right. The issue with the single system is that the NIC
seems to die, but none of the logs indicate the failure except that if
cannot connect with the NFS server. I've activated the second NIC on the
MB, but I'm pretty sure that it will die too. In any case, I've just
been putting off the nagios installation, but it is time to bite the bullet.

-- 
Jerry Feldman g...@blu.org
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: Lightweight network monitoring program

2011-02-28 Thread Jerry Feldman
That was certainly an approach. I actually wrote a script that does a
ping test. This was done for a different purpose such as uploading stuff
to systems when I make changes to things like automount. The only reason
not to do this is that it just adds one more homegrown script to the
mix. But also I don't monitor my work email all that much since a lot of
times I'm on my Linux workstation, although if I send it to my gmail
account, my smartphone will beep at me.

 result=$(ping -c $COUNT $HOST)
 if [ $? -ne 0 ]; then
  ## log something or send mail
 fi



On 02/28/2011 10:34 AM, Chris O'Connell wrote:
 Jerry,

 Here are some step-by-step instructions on installing nagios:
 http://outlookoutbox.blogspot.com/2010/11/nagios-installation-step-by-step_15.html

 On another note, it sounds like you just want a ping check to see if
 these hosts are up?  Couldn't you dump ping results to a file, have
 the file searched for UNREACHABLES and then use sendmail to email you
 if one of the hosts doesn't show up?  Seems like maybe 20 lines of
 code or less (far less I would think) would take care of this.



-- 
Jerry Feldman g...@blu.org
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss