[Nagiosplug-help] deploy plugins to remote server(farm)
Jeff C. Benger
jbenger at ztechnet.com
Thu Apr 17 16:45:07 CEST 2008
Sorry, hari was correct, ya can't add the pwd as an arg... I was still on my first cup of coffee and not thinking. I'd just copy the keys over.
--------------------------
Sent from my BlackBerry Wireless Device
-----Original Message-----
From: nagiosplug-help-bounces at lists.sourceforge.net <nagiosplug-help-bounces at lists.sourceforge.net>
To: Marc Powell <marc at ena.com>
CC: nagiosplug-help at lists.sourceforge.net <nagiosplug-help at lists.sourceforge.net>
Sent: Thu Apr 17 10:37:14 2008
Subject: Re: [Nagiosplug-help] deploy plugins to remote server(farm)
On Thu, Apr 17, 2008 at 4:23 PM, Marc Powell <marc at ena.com> wrote:
>
>
> > -----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/"
>
> --
Hello Marc, can you
explain that a bit more , where do i neter the password and where the hostlist?
@Jeff
I couldnt find any argument for inserting password into scp,
can you also give an example?
thx a lot
> Marc
>
> -------------------------------------------------------------------------
>
>
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list