Hi all I managed to by pass keys issue from master to slave thanks to James
Whittingon.I am still getting errors here are these.
Step where we have to :
On the slave as the nagios user, source the profile then run check_reqs:
nag...@slave$ . ./profile
nag...@slave$ ./check_reqs slave
Error I am getting as a user nagios on slave: nag...@mark-desktop:~$
./check_reqs slave
libexpat not installed
I skipped that and managed to From the master server, send the necessary
configuration files to the slave host
su - nagios
/usr/local/nagios/bin/send2slaves -t {slave_hostname} # Test connection
(v2.7.7 and newer)
/usr/local/nagios/bin/send2slaves {slave_hostname}
Allt the configs were sent from master to slave as user nagios succesffuly
without any errors.
But when I try to su - root
cd /usr/local/nagios/tmp && ./install_slave
on slave I get error with su - root it asks for password and when I give it
nagios password it says authentication failure.
When I go back to root using sudo su -
And try to cd /usr/local/nagios/tmp && ./install_slave {on slave}
Error: r...@mark-desktop:~# cd /usr/local/nagios/tmp && ./install_slave
-su: ./install_slave: No such file or directory
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users