Failing SSH Configuration Test from Nagios XI to VMA host
Posted: Wed Sep 04, 2019 12:15 pm
Hi Team,
While validating communication between Nagios & VMA host from VMWare VMA setting manager GUI, we are able to ping the VMA host but ssh configuration test fails.
Also, We are able to establish passwordless ssh from NagiosXI (Nagios user) to VMA host (vi-admin).
Please find below for your reference,
• nagios@nagiosxi:[/var/www]: ls -la
total 24
drwxr-xr-x 6 root root 4096 Mar 15 07:19 .
drwxr-xr-x. 26 root root 4096 Aug 19 2018 ..
drwxr-xr-x 2 root root 4096 Mar 15 07:19 cgi-bin
drwxr-xr-x 3 root root 4096 Mar 15 07:19 html
drwxr-xr-x 2 root root 4096 Sep 27 2016 mrtg
drwxr-xr-x+ 2 root root 4096 Sep 4 12:35 .ssh
• nagios@nagiosxi:[/var/www]: ls -la .ssh/
total 20
drwxr-xr-x+ 2 root root 4096 Sep 4 12:35 .
drwxr-xr-x 6 root root 4096 Mar 15 07:19 ..
-rw-r-x---+ 1 root root 672 Sep 4 12:30 id_dsa
-rw-r--r-- 1 root root 620 Sep 4 12:35 id_dsa.pub
-rw-r-xr--+ 1 root root 2317 Sep 4 12:25 known_hosts
• Test Result for SSH Configuration
Test Results
There was an issue establishing an SSH session with the vMA host 101.120.124.127!
The output is as follows:
Host key verification failed.
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
NOTE - Setup is done as per box293 manual and contents copied from /home/Nagios.ssh/ to /var/www/.ssh.
Best Regards,
BSanjay
While validating communication between Nagios & VMA host from VMWare VMA setting manager GUI, we are able to ping the VMA host but ssh configuration test fails.
Also, We are able to establish passwordless ssh from NagiosXI (Nagios user) to VMA host (vi-admin).
Please find below for your reference,
• nagios@nagiosxi:[/var/www]: ls -la
total 24
drwxr-xr-x 6 root root 4096 Mar 15 07:19 .
drwxr-xr-x. 26 root root 4096 Aug 19 2018 ..
drwxr-xr-x 2 root root 4096 Mar 15 07:19 cgi-bin
drwxr-xr-x 3 root root 4096 Mar 15 07:19 html
drwxr-xr-x 2 root root 4096 Sep 27 2016 mrtg
drwxr-xr-x+ 2 root root 4096 Sep 4 12:35 .ssh
• nagios@nagiosxi:[/var/www]: ls -la .ssh/
total 20
drwxr-xr-x+ 2 root root 4096 Sep 4 12:35 .
drwxr-xr-x 6 root root 4096 Mar 15 07:19 ..
-rw-r-x---+ 1 root root 672 Sep 4 12:30 id_dsa
-rw-r--r-- 1 root root 620 Sep 4 12:35 id_dsa.pub
-rw-r-xr--+ 1 root root 2317 Sep 4 12:25 known_hosts
• Test Result for SSH Configuration
Test Results
There was an issue establishing an SSH session with the vMA host 101.120.124.127!
The output is as follows:
Host key verification failed.
Please refer to the box293_check_vmware manual on how to configure this Nagios host to communicate with the vMA host.
NOTE - Setup is done as per box293 manual and contents copied from /home/Nagios.ssh/ to /var/www/.ssh.
Best Regards,
BSanjay