BackupPC-users

Re: [BackupPC-users] Alternative way to check if Host is alive -- can't use Ping

2010-03-30 12:30:46
Subject: Re: [BackupPC-users] Alternative way to check if Host is alive -- can't use Ping
From: Tino Schwarze <backuppc.lists AT tisc DOT de>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 30 Mar 2010 18:27:14 +0200
On Tue, Mar 30, 2010 at 06:22:39PM +0200, Mirco Piccin wrote:
> Hi,
> 
> >> In my setup ICMP packets are dropped by the firewall in front of the
> >> machine I need to backup. I have been searching for alternatives but
> >> haven't found anything yet. Any pointers to a fix? Any other way to let
> >> BackupPC know he machine is alive?
> >
> >What ports are available?
> >could something like httping be used as a substitute for /bin/ping?
> 
> i remember i use - not with BackupPC - a perl script that allow to probe any
> host port (both TCP anf UDP ) - and also ping.
> It use both Net::Ping and Socket.
> 
> The solution could be something like that, or simply a telnet to a specific
> port and work with output.
> Just run nmap to that host to see available port.

I've been using netcat -z $host $port for easy "is that port open?" tests.
You'll need rsyncd or ssh access anyway, so just check these ports.

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.tisc.de

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/