Page 1 of 1
Box293: The vMA host NOT in the known_hosts file.
Posted: Tue Jun 12, 2018 12:09 pm
by dlukinski
Hello Nagios Support
Still having troubles with every new installation of Box293 VMWARE plugin (documentation not updated by the author)
Tried following
https://support.nagios.com/forum/viewto ... 16&t=30914
to fix this one:
New vMA addition by following box293 manual:
The vMA host 10.x.x.x is NOT in the known_hosts file.
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
But no luck.
Apache user keeps asking about unknown host when ssh.
We run 3 more vMA servers (works for now) / have to reinstall 1 of them too later on: expect same never-ending troubles with box293 ssh connectivity
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Tue Jun 12, 2018 4:01 pm
by tgriep
Every time you add a new vMA server that you are running the plugin on, you need to add that entry to the following file
/var/www/.ssh/known_hosts
Have you done that?
When you are logged in to the Nagios server using the nagios user account, can you connect to all of the vMA servers using ssh without using a password?
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 10:01 am
by dlukinski
tgriep wrote:Every time you add a new vMA server that you are running the plugin on, you need to add that entry to the following file
/var/www/.ssh/known_hosts
Have you done that?
When you are logged in to the Nagios server using the nagios user account, can you connect to all of the vMA servers using ssh without using a password?
All including new vMA server.
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 11:02 am
by tgriep
Can you provide more details on what you mean by "All including new vMA server."?
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 11:20 am
by dlukinski
tgriep wrote:Can you provide more details on what you mean by "All including new vMA server."?
I could SSH to all vMA hosts from su nagios.
This includes new vMA I am having problems with (Nagios Apache cannot SSH to?)
The vMA host 10.102.76.52 is NOT in the known_hosts file.
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 1:53 pm
by scottwilkerson
I think you need to follow the Transfer certificates to the vMA on page 10 of:
https://exchange.nagios.org/components/ ... 0&cf_id=29
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 2:14 pm
by dlukinski
I've transferred certificates before creating this post. No luck
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 2:28 pm
by tgriep
Copy the entry for the new vMA server from this file
and put it in this file
Does that fix the issue?
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 2:50 pm
by dlukinski
tgriep wrote:Copy the entry for the new vMA server from this file
and put it in this file
Does that fix the issue?
Worked! Keep forgetting (And outdated manual adds to the confusion)
THANK YOU
Re: Box293: The vMA host NOT in the known_hosts file.
Posted: Wed Jun 13, 2018 3:07 pm
by tgriep
Your welcome! That is good to hear that it is working for you. I'll close this post as well as the ticket for you.