* Tool for checking remote connection
@ 2000-08-16 4:00 Djones
2000-08-16 4:00 ` Jochen Lübbers
2000-08-16 4:00 ` Ken Farmer
0 siblings, 2 replies; 3+ messages in thread
From: Djones @ 2000-08-16 4:00 UTC (permalink / raw)
I'm trying to find a way to monitor my network and watch for lost IP
connections.
Basically I want to ping some IP addresses every 15 minutes, if I don't get
a response, I want to send an email to myself. I was going to use cron and
ping but can't see a way to make this work.
If I ping a 'dead' connection, ping hangs waiting for a response, which
doesn't help me.
Anyone know of other tools or ways to do this?
Thanks,
Dale
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tool for checking remote connection
2000-08-16 4:00 Tool for checking remote connection Djones
@ 2000-08-16 4:00 ` Jochen Lübbers
2000-08-16 4:00 ` Ken Farmer
1 sibling, 0 replies; 3+ messages in thread
From: Jochen Lübbers @ 2000-08-16 4:00 UTC (permalink / raw)
Have you tried ping -c <n>, where n is a number like 1 or 2 ?
ping than tries 1 or 2 times to ping the machine and ends with a
zero return code on success and a nonzero, if it failed (ask your shell for $? :)
man ping will show you more of the power of ping.
--
Jochen L�bbers luebbers@tele-data-electronic.de
Software Development Group I luebbers@tde-online.de
TDE - Tele Data Electronic GmbH sw1@tde-online.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tool for checking remote connection
2000-08-16 4:00 Tool for checking remote connection Djones
2000-08-16 4:00 ` Jochen Lübbers
@ 2000-08-16 4:00 ` Ken Farmer
1 sibling, 0 replies; 3+ messages in thread
From: Ken Farmer @ 2000-08-16 4:00 UTC (permalink / raw)
Take a look at Big Brother.
http://bb4.com/features.html
Ken
www.tru64.org
Djones wrote:
>
> I'm trying to find a way to monitor my network and watch for lost IP
> connections.
>
> Basically I want to ping some IP addresses every 15 minutes, if I don't get
> a response, I want to send an email to myself. I was going to use cron and
> ping but can't see a way to make this work.
>
> If I ping a 'dead' connection, ping hangs waiting for a response, which
> doesn't help me.
>
> Anyone know of other tools or ways to do this?
>
> Thanks,
> Dale
--
__/ W W W . T R U 6 4 . O R G
Ken Farmer, kfarmer@tru64.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-08-16 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 4:00 Tool for checking remote connection Djones
2000-08-16 4:00 ` Jochen Lübbers
2000-08-16 4:00 ` Ken Farmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox