Box293: The vMA host NOT in the known_hosts file.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Box293: The vMA host NOT in the known_hosts file.

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post by tgriep »

Can you provide more details on what you mean by "All including new vMA server."?
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Box293: The vMA host NOT in the known_hosts file.

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post by dlukinski »

scottwilkerson wrote: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

I've transferred certificates before creating this post. No luck
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post by tgriep »

Copy the entry for the new vMA server from this file

Code: Select all

/home/nagios/.ssh/known_hosts
and put it in this file

Code: Select all

/var/www/.ssh/known_hosts
Does that fix the issue?
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post by dlukinski »

tgriep wrote:Copy the entry for the new vMA server from this file

Code: Select all

/home/nagios/.ssh/known_hosts
and put it in this file

Code: Select all

/var/www/.ssh/known_hosts
Does that fix the issue?
Worked! Keep forgetting (And outdated manual adds to the confusion)

THANK YOU
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Box293: The vMA host NOT in the known_hosts file.

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked