as nagios user from master server run 
/usr/local/nagios/bin/send2slaves -t

if it is ok run

/usr/local/nagios/bin/send2slaves 

Alexander C. Fossa - Xifos Limited píše v Čt 18. 02. 2010 v 15:09 +0000:
> Hi,
> 
> 
> I seem to be getting a bit further with my slave install.
> 
> 
> However it copies the files to the slave server over SCP fine and then
> I run the install_slave on the slave as root and get the error below:
> 
> 
> 
> 
> [r...@mon1 ~]# cd /usr/local/nagios/tmp && ./install_slave
> Can't access neither configuration
> file /usr/local/nagios/nmis/bin/../conf/nmis.conf,
> nor /etc/nmis/nmis.conf 
> 
> 
> I'm not using NMIS and I believe it isn't enabled on my master.
> 
> 
> Regards,
> 
> 
> Alex
> 
> 
> 
> 
> 
> 
> On 18 Feb 2010, at 14:01, James Whittington wrote:
> 
> > First of all normally Opsview will be running as a user other than
> > root, most likely user “nagios”.
> > So you should be trying to do something like this:
> > r...@opsview-demo:~# ssh [email protected] uname –a
> >  
> > You will need to know the nagios user password to copy.
> > User nagios will also need a ssh key generated
> > Here is a good link describing setup of certificated based ssh:
> > http://www.debian-administration.org/articles/152
> >  
> > Basically you
> > Create the key
> > nag...@opsview-demo:~# ssh-keygen -t rsa
> > Copy the key
> > nag...@opsview-demo:~# ssh-copy-id -i
> > ~/.ssh/id_rsa.pub [email protected]
> >  
> > Then you should be able to run commands without a password as user
> > nagios:
> > nag...@opsview-demo:~# ssh 131.125.78.45 ls -la
> >  
> > Hope this helps.
> >  
> > James Whittington
> > VC3, Inc.
> >  
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of Jibran
> > Sent: Thursday, February 18, 2010 7:54 AM
> > To: [email protected]
> > Subject: [opsview-users] Slave setup errors.
> >  
> > Hi every one.
> >  
> > I been trying from long to make slave work.I installed Ubunto hardy
> > as a master and ubunto hardy as slave opsview on remote.I installed
> > opsview repository and every thing went fine.But I am having
> > permission errors doing ssh from master to slave.
> >  
> > When I ssh fro master using
> > r...@opsview-demo:~# ssh 131.125.78.45 ls
> > -l [email protected]'s password:when I put the password which is
> > for opsview.i get error.
> > Permission denied, please try again.
> >  
> > I cant copy keys and files from master to slave either.
> >  
> > scp /usr/local/nagios/installer/check_reqs
> > > /usr/local/nagios/bin/profile 131.125.78.45:
> > > 
> > > scp: ./check_reqs: Permission denied
> > > 
> > > scp: ./profile: Permission denied
> >  
> >  
> >  
> > I presume permission problem is related to ssh config or
> > something.Actually I am not expert with linux if some one could help
> > me out fixing this problem I bumped my head too much fixing this
> > problem but all vain..
> >  
> > Thanks for any reponses.
> >  
> > 
> > -- 
> > This message has been scanned for viruses and dangerous content by
> > the Xifos Limited e-mail system. 
> > Further information can be found at www.xifos.net <ATT00001..txt>
> 
> 
> 
> 
> 
> 
> 
> -- 
> This message has been scanned for viruses and dangerous content by the
> Xifos Limited e-mail system. 
> Further information can be found at www.xifos.net 
> _______________________________________________
> Opsview-users mailing list
> [email protected]
> http://lists.opsview.org/lists/listinfo/opsview-users

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

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

Reply via email to