Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lightweight network monitoring program



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=3D$(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-s=
tep_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.
>


--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.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-mNDKBlG2WHs at public.gmane.org
http://lists.blu.org/mailman/listinfo/discuss






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org