BOX293 Plugin ssh error
Posted: Wed Mar 16, 2016 9:42 am
Hi,
I am trying to use the Box293 plugin for vcenter Monitoring.
When I add VMA server in portal, during the Perform VMA Host Test--->
Getting the test results as "The vMA host xxxxx 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. "
I am also posting some of the commands executed easy for troubleshooting. I followed the instruction as per the manual. Please let me know is there anything missing.
--------------------As a root user,
[root@xxxxx var]# ssh vi-admin@xxxxx
Welcome to vSphere Management Assistant
vi-admin@xxxxx's password:
You have new mail in /var/spool/mail/root
-----------------------As a nagios user,
[root@xxxxx var]# su nagios
[nagios@xxxxx var]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxxxx -C '~/box293_check_vmware.pl --server xxxxx --check vCenter_Name_Version'
CRITICAL - Plugin timed out after 10 seconds
--------------------Entering vma server
[nagios@xxxxx var]$ ssh [email protected]
Welcome to vSphere Management Assistant
Last login: Wed Mar 16 15:20:56 CET 2016 from xxxxx.com on ssh
Last failed login: Wed Mar 16 15:27:11 CET 2016 from xxxxx.com on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Wed Mar 16 15:28:17 2016 from xxxxx.rwe.com
vi-admin@xxxxx:~> ./box293_check_vmware.pl --server xxxxx --check vCenter_Name_Version
Enter username: readonly
OK: VMware vCenter Server 5.5.0 build-2001466
[nagios@xxxxx .ssh]$ ls -ltr
total 8
-rw-r-xr--+ 1 root root 442 Mar 16 11:59 known_hosts
-rw-r-x---+ 1 root root 668 Mar 16 11:59 id_dsa
Thanks
I am trying to use the Box293 plugin for vcenter Monitoring.
When I add VMA server in portal, during the Perform VMA Host Test--->
Getting the test results as "The vMA host xxxxx 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. "
I am also posting some of the commands executed easy for troubleshooting. I followed the instruction as per the manual. Please let me know is there anything missing.
--------------------As a root user,
[root@xxxxx var]# ssh vi-admin@xxxxx
Welcome to vSphere Management Assistant
vi-admin@xxxxx's password:
You have new mail in /var/spool/mail/root
-----------------------As a nagios user,
[root@xxxxx var]# su nagios
[nagios@xxxxx var]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxxxx -C '~/box293_check_vmware.pl --server xxxxx --check vCenter_Name_Version'
CRITICAL - Plugin timed out after 10 seconds
--------------------Entering vma server
[nagios@xxxxx var]$ ssh [email protected]
Welcome to vSphere Management Assistant
Last login: Wed Mar 16 15:20:56 CET 2016 from xxxxx.com on ssh
Last failed login: Wed Mar 16 15:27:11 CET 2016 from xxxxx.com on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Wed Mar 16 15:28:17 2016 from xxxxx.rwe.com
vi-admin@xxxxx:~> ./box293_check_vmware.pl --server xxxxx --check vCenter_Name_Version
Enter username: readonly
OK: VMware vCenter Server 5.5.0 build-2001466
[nagios@xxxxx .ssh]$ ls -ltr
total 8
-rw-r-xr--+ 1 root root 442 Mar 16 11:59 known_hosts
-rw-r-x---+ 1 root root 668 Mar 16 11:59 id_dsa
Thanks