box293 check vmware
Posted: Sat Jul 30, 2016 10:07 am
ESXI 6.0 Host
Nagios Core 4.1.1 on Ubuntu Server 16.04.1
vMA-6.0.0.0-2503728 Host
Following these instructions https://exchange.nagios.org/components/ ... 0&cf_id=29
I have one problem and one issue
first when I got to the section for generating the ssh key that all worked except I was still unable to ssh to the vMA host without a password until I ran this command ssh-copy-id [email protected]
Now I can ssh from the Nagios account on the Nagios host without a password
I was then able to create the readonly account on the ESXi host
Next step is where I am stuck now
vi-admin@localhost:~> ~/box293_check_vmware.pl --server 10.2.8.10 --check vCenter_Name_Version
-bash: /home/vi-admin/box293_check_vmware.pl: cannot execute binary file
here is ls -la from the folder
vi-admin@localhost:~> ls -la
total 636
drwxr-xr-x 7 vi-admin root 4096 Jul 30 10:34 .
drwxr-xr-x 4 root root 4096 Feb 9 2015 ..
-rw------- 1 vi-admin root 471 Jul 30 10:21 .bash_history
-rw-r----- 1 vi-admin root 1211 Feb 9 2015 .bashrc
-rw-r----- 1 vi-admin root 1637 Feb 9 2015 .emacs
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 .fonts
-rw-r----- 1 vi-admin root 861 Feb 9 2015 .inputrc
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 .mozilla
-rw-r----- 1 vi-admin root 1028 Feb 9 2015 .profile
drwx------ 2 vi-admin root 4096 Jul 30 10:20 .ssh
-rw-r----- 1 vi-admin root 849 Feb 9 2015 .vimrc
drwxr-xr-x 3 vi-admin root 4096 Jul 30 10:34 .vmware
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 bin
-rwxr-xr-x 1 vi-admin root 592908 Jul 29 21:14 box293_check_vmware.pl
vi-admin@localhost:~>
Nagios Core 4.1.1 on Ubuntu Server 16.04.1
vMA-6.0.0.0-2503728 Host
Following these instructions https://exchange.nagios.org/components/ ... 0&cf_id=29
I have one problem and one issue
first when I got to the section for generating the ssh key that all worked except I was still unable to ssh to the vMA host without a password until I ran this command ssh-copy-id [email protected]
Now I can ssh from the Nagios account on the Nagios host without a password
I was then able to create the readonly account on the ESXi host
Next step is where I am stuck now
vi-admin@localhost:~> ~/box293_check_vmware.pl --server 10.2.8.10 --check vCenter_Name_Version
-bash: /home/vi-admin/box293_check_vmware.pl: cannot execute binary file
here is ls -la from the folder
vi-admin@localhost:~> ls -la
total 636
drwxr-xr-x 7 vi-admin root 4096 Jul 30 10:34 .
drwxr-xr-x 4 root root 4096 Feb 9 2015 ..
-rw------- 1 vi-admin root 471 Jul 30 10:21 .bash_history
-rw-r----- 1 vi-admin root 1211 Feb 9 2015 .bashrc
-rw-r----- 1 vi-admin root 1637 Feb 9 2015 .emacs
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 .fonts
-rw-r----- 1 vi-admin root 861 Feb 9 2015 .inputrc
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 .mozilla
-rw-r----- 1 vi-admin root 1028 Feb 9 2015 .profile
drwx------ 2 vi-admin root 4096 Jul 30 10:20 .ssh
-rw-r----- 1 vi-admin root 849 Feb 9 2015 .vimrc
drwxr-xr-x 3 vi-admin root 4096 Jul 30 10:34 .vmware
drwxr-xr-x 2 vi-admin root 4096 Feb 9 2015 bin
-rwxr-xr-x 1 vi-admin root 592908 Jul 29 21:14 box293_check_vmware.pl
vi-admin@localhost:~>