[Nagiosplug-help] deploy plugins to remote server(farm)

Marc Powell marc at ena.com
Thu Apr 17 16:23:47 CEST 2008



> -----Original Message-----
> From: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-
> bounces at lists.sourceforge.net] On Behalf Of Duncan Berriman
> Sent: Thursday, April 17, 2008 9:01 AM
> To: 'Heiko'; nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] deploy plugins to remote server(farm)
> 
> If you create an ssh key on your main server and add this to your
remote
> hosts authorized_keys file you will not need any password.


> I've not used this with scp only sftp but I'm pretty sure it will work
just
> the same.

Rsync works great here --

#!/bin/tcsh
echo "Corp -> DC1:"
/usr/bin/rsync -avz --delete -e /usr/bin/ssh /usr/local/nagios/libexec
distributedCollector1:"/usr/local/nagios/"

--
Marc




More information about the Help mailing list