box293_check_vmware configuration problem
Posted: Thu Jan 15, 2015 1:32 pm
Been following the instructions on standing up a VMA server that Troy Lea (aka box293) wrote. The documentation is pretty well written, but I've run into an issue that I can't resolve.
I've been able to get the password-less SSH configured (it all works from the command line without issues), but the issue is when I try to configure the wizard;
On the Admin --> Manage Components --> Edit Setting for VMware vMA Settings Manager
I've configured the VMA server, but when I select TEST for the SSH Configuration I get the following:
There was an issue establishing an SSH session with the vMA host 10.XXX.XXX.XXX!
The output is as follows:
Welcome to vSphere Management Assistant
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
When I look at /var/log/messages I see this:
When I try to do a TEST from the vmWare Settings tab, I pick the VMA server and one of my vCenter servers, I see this:
What am I missing?
I've been able to get the password-less SSH configured (it all works from the command line without issues), but the issue is when I try to configure the wizard;
On the Admin --> Manage Components --> Edit Setting for VMware vMA Settings Manager
I've configured the VMA server, but when I select TEST for the SSH Configuration I get the following:
There was an issue establishing an SSH session with the vMA host 10.XXX.XXX.XXX!
The output is as follows:
Welcome to vSphere Management Assistant
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
When I look at /var/log/messages I see this:
Code: Select all
Jan 15 10:25:40 vma01 sshd[23637]: Failed password for vi-admin from 10.YYY.YYY.YYY port 49873 ssh2
Jan 15 10:25:40 vma01 sshd[23637]: Failed password for vi-admin from 10.YYY.YYY.YYY port 49873 ssh2
Jan 15 10:25:40 vma01 sshd[23637]: Connection closed by 10.YYY.YYY.YYY [preauth]
When I try to do a TEST from the vmWare Settings tab, I pick the VMA server and one of my vCenter servers, I see this:
Code: Select all
Credentials test did not perform as expected on the vMA host 10.XXX.XXX.XXX connecting to the VMware server 10.ZZZ.ZZZ.ZZZ!
Please refer to the box293_check_vmware manual on how to configure the credentials on the vMA host.
Output from command:
UNKNOWN - check_by_ssh: Remote command '~/box293_check_vmware.pl --server 10.ZZZ.ZZZ.ZZZ --version' returned status 255What am I missing?