Issue when trying to install vmware.install.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Mark Hoogenkamp
Posts: 11
Joined: Thu Dec 29, 2011 3:04 am

Issue when trying to install vmware.install.pl

Post by Mark Hoogenkamp »

Hello,

I'm advancing a bit with installing and deploying Nagios in my new environment. But i want to monitor my ESX hosts, i've read about installing a file vmware.install.pl.

So i used winscp to get the file on my Nagios server, done. Placed it in the /tmp/ dir. Then logged in the shell with root + my password, cd /tmp/. Then i was heading for the vmware-vpshere-cli-ditrib folder. The i just did what's mentioned, ./vmware.install.pl.

I got the message bash"....." Access Denied..... Quite nice when i was logged on as root....

The instructions that i've been following are mentioned in this topic. The same as mentioned in the nagios exchange topic.

http://blog.vmpros.nl/2010/10/03/vmware ... mware-sdk/

later on i was reading about the fact that i needed to use "su" before installing anything. So i closed the shell, reopened it again, logged on with root + my password. Used "su"but nothing seemed to happen, just another line appeared....

How to proceed with this... Can anybody help me out?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue when trying to install vmware.install.pl

Post by scottwilkerson »

try changing the permissions to allow execute

Code: Select all

cd /tmp
chmod +x ./vmware.install.pl
./vmware.install.pl
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Mark Hoogenkamp
Posts: 11
Joined: Thu Dec 29, 2011 3:04 am

Re: Issue when trying to install vmware.install.pl

Post by Mark Hoogenkamp »

It's still not working for me when trying the solution mentioned above.

See info below.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue when trying to install vmware.install.pl

Post by scottwilkerson »

Hmmm, we need to find the vmware.install.pl file
Try this

Code: Select all

locate vmware.install.pl
Then cd to that directory and then run

Code: Select all

chmod +x ./vmware.install.pl
./vmware.install.pl
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Mark Hoogenkamp
Posts: 11
Joined: Thu Dec 29, 2011 3:04 am

Re: Issue when trying to install vmware.install.pl

Post by Mark Hoogenkamp »

The vmware.install.pl is located in cd /tmp/vmware-vsphere.cli-ditrib/vmware-install.pl

But all of the commands won't worked, i get bashed all of the time.

Don't know why i installed all of the stuff myself without any issues... The command "su" is also mentioned "-bash: su: command not found"
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue when trying to install vmware.install.pl

Post by scottwilkerson »

Can you give me a screenshot of what you get when you type

Code: Select all

ls /tmp
and then

Code: Select all

ls /tmp/vmware-vsphere-cli-distrib
Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Mark Hoogenkamp
Posts: 11
Joined: Thu Dec 29, 2011 3:04 am

Re: Issue when trying to install vmware.install.pl

Post by Mark Hoogenkamp »

Okay, will do that.
Locked