BackupPC-users

Re: [BackupPC-users] Check-if-alive-pings alternatives

2010-02-11 17:37:00
Subject: Re: [BackupPC-users] Check-if-alive-pings alternatives
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 11 Feb 2010 23:34:48 +0100
Sorin Srbu wrote:

> Hi all,
> 
> I have a server that sits behind a router (server is NAT:ed) and allows
> ssh connections in. That is to say, the *only* thing it allows in is ssh
> connections.
> 
> Now, BackupPC uses pings to check if the machine to be backed up is alive.
> Since the router in question doesn?t respond to any pings, it's in a
> pseudo-stealth mode, then BackupPC thinks the machine is down and doesn't
> initiate any backups even though the machine is actually alive and
> responding otherwise.
> 
> Short of making the router visible on the network for pings, is there any
> other way to circumvent this problem? Maybe connecting to the ssh-port or
> something? Ideas and pointers are greatly appreciated!

It isn't necessary that BackupPC use ping.
It is configurable via $Conf{PingCmd}.
My clients start a ssh-tunnel to my server and my PingCmd check the
established connection with netstat.

br
Matthias
-- 
Don't Panic


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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/