Page 1 of 1

ovftool Failed to open file: nagiosxi.vmx

Posted: Wed Jun 20, 2012 9:22 pm
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

Re: ovftool Failed to open file: nagiosxi.vmx

Posted: Thu Jun 21, 2012 10:41 am
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.

Re: ovftool Failed to open file: nagiosxi.vmx

Posted: Thu Jun 21, 2012 8:16 pm
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.

Re: ovftool Failed to open file: nagiosxi.vmx

Posted: Fri Jun 22, 2012 1:30 pm
by lmiltchev
Thanks for the feedback! Let us know how it went.