Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIMbix can't work #27

Open
tnndlbmu opened this issue Sep 19, 2014 · 2 comments
Open

VIMbix can't work #27

tnndlbmu opened this issue Sep 19, 2014 · 2 comments

Comments

@tnndlbmu
Copy link

Hello,
i have issue about VIMbix, here is output errors,
btw, vcenter and esxi version is 5.5.
log shows,
I, [2014-09-19T17:59:51.871276 #9299] INFO -- : 192.168.192.3: connected
I, [2014-09-19T17:59:51.871535 #9299] INFO -- : 192.168.192.3: data collection started
E, [2014-09-19T17:59:51.924211 #9299] ERROR -- : 192.168.192.3: Execution timed out (0 seconds)

put irb under VIMbix directory, and type below command,
require 'rubygems'
require 'rbvmomi'
require 'logger'
require 'lib/vimbix/connector'

@logger = Logger.new(STDOUT)

@host = 'aaa.bbb.ccc.ddd'
@user = 'username'
@pass = 'password'

viserver = Connector.new(@host, @user, @pass, @logger)
data = viserver.collect

output erros shows,

NoMethodError: undefined method `host' for

RbVmomi::VIM::Folder:0x7f6bcf76cdd8

    from ./lib/vimbix/connector.rb:88:in `collect'
    from ./lib/vimbix/connector.rb:73:in `each'
    from ./lib/vimbix/connector.rb:73:in `collect'
    from (irb):11
    from :0

Kindly, please help. thanks.

@tnndlbmu
Copy link
Author

nobody ?

@dikaye
Copy link

dikaye commented Dec 5, 2014

have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants