Okay reading through you post I am assuming you are trying to do the direct ssh 
master slave model where the master will initiate ssh to the slave server.
The other method if the reverse ssh method, where slave initiates ssh session 
with the master and leaves a reverse ssh channel open to itself.

Anyway if you are doing the direct ssh method
Have you created the nagios user on the slave server and granted it specific 
sudo rights?
Can you ssh as user nagios from the master server to the slave?
What linux distro is being used?
Did you create the public/private key pair and send the key to the slave server 
as user Nagios? The step where you do "ssh-copy-id -i .ssh/id_dsa.pub slave 
hostname" .

Just trying to determine where you might be stuck in the process.. It sounds 
like the ssh certificate isn't in place if you can't do ssh command from master 
to slave without being prompted for credentials.

James Whittington
VC3, Inc.

From: [email protected] 
[mailto:[email protected]] On Behalf Of jibran
Sent: Friday, January 29, 2010 7:47 AM
To: [email protected]
Subject: [opsview-users] Opsview slave configuration errors

Hi I installed vm ops view on one network and also the same vm ops view 
downloaded from opsview on other network.I tried to setup master/slave using 
opsview vms on different networks.I have forwarded ports 22 on both networks 
routers and ssh connection is working on both sides.I putty from slave and on 
step 6 where we have to copy files from server Copy the check_reqs and profile 
scripts from the master onto the slave as the nagios user. This should work 
without prompting for authentication:
Copy the check_reqs and profile scripts from the master onto the slave as the 
nagios user. This should work without prompting for authentication:

nag...@master$ scp /usr/local/nagios/installer/check_reqs 
/usr/local/nagios/bin/profile {slave}:

I am getting this error  I used ip of the slave network like {58.27.23.215} :

The error I am getting is.

nag...@opsview-demo:~$ scp /usr/local/nagios/installer/check_reqs 
/usr/local/nagios/bin/profile 58.27.245...@opsview-demo:
58.27.245...@opsview-demo's password:Password iam giving is default (conf) 
which is set by vm  and also gave the default nagios password
Permission denied, please try again.

I am stuck here kindly help me here to keep the slave network running.I really 
need to make this working.Will really appreciate some ones positive response.

Thanks alot
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to