ovftool Failed to open file: nagiosxi.vmx

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
johnemac
Posts: 4
Joined: Wed Jun 20, 2012 9:02 pm

ovftool Failed to open file: nagiosxi.vmx

Post by johnemac »

Hi, First post, new to Nagios. I've got nagiosxi running fine in VMware Fusion. I'm trying to convert it and load it on ESXi. Whenever I run the ovftool

./ovftool /nagiosxi.vmwarevm/nagiosxi.vmx nagios/nagiosxi-2011r2.1.ovf

I get an the error:
Error: Failed to open file: nagiosxi.vmx
Completed with errors

When I try the vCenter Converter Standalone Client I get an the error:
Unable to obtain hardware information for the selected machine

Anybody have luck converting nagiosxi for ESXi?

Thanks!
-- jmca
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ovftool Failed to open file: nagiosxi.vmx

Post by lmiltchev »

./ovftool /nagiosxi.vmwarevm/nagiosxi.vmx nagios/nagiosxi-2011r2.1.ovf

I get an the error:
Error: Failed to open file: nagiosxi.vmx
Completed with errors
Are you sure this is the correct path?
When I try the vCenter Converter Standalone Client I get an the error:
Unable to obtain hardware information for the selected machine
There are some reports about issues with the newest Standalone Converter. Try using version 4.3 instead of 5.0.

I am not sure if you've come across this link:

http://library.nagios.com/library/produ ... vmware-esx

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
johnemac
Posts: 4
Joined: Wed Jun 20, 2012 9:02 pm

Re: ovftool Failed to open file: nagiosxi.vmx

Post by johnemac »

Thanks for the reply. The paths were a little off, but that's my typo. I was trying to edit them to make them easier to read. The command works on other .vmx files without a problem. It's only the nagiosxi vm that it fails on.

I downloaded and tried the 4.3 standalone converter. I watched the tutorial. They upload directly to the ESXi server, I am trying to save to a file. I get the same error about unable to identify the hardware with 4.3 as with 5.0.

As a workaround I've downloaded Ubuntu server and built nagios core. That converts into ovf without any errors. I'm not at the office but I'll try to load it on ESXi tomorrow. I will also try to run the converter and send to the server.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ovftool Failed to open file: nagiosxi.vmx

Post by lmiltchev »

Thanks for the feedback! Let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked