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

Integrated vm check doesn't work #109

Closed
mwaldmueller opened this issue Jul 23, 2019 · 2 comments
Closed

Integrated vm check doesn't work #109

mwaldmueller opened this issue Jul 23, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@mwaldmueller
Copy link
Contributor

Expected Behavior

# icingacli vspheredb check vm --name XYZ should work

Current Behavior

# icingacli vspheredb check vm --name XYZ
[UNKNOWN] No object found for given filter

But vm "XYZ" exists. Proove:

# icingacli vspheredb check vms
[WARNING] Overall status is "yellow" for XYZ, ... and ...

Possible Solution

Steps to Reproduce (for bugs)

Your Environment

  • VMware vCenter®/ESXi™-Version: independent
  • Version/GIT-Hash of this module: v1.0.3
  • Icinga Web 2 version: 2.6.3
  • Operating System and version: CentOS 7.6
  • Webserver, PHP versions: Apache, PHP 7.1.8
@mrgohin
Copy link

mrgohin commented Jul 23, 2019

Hellow,

What kind of name did you use for this command call?
There two diffrent kind of names, the one which is give for the vm itself in VMware and the reported name by vmware-tools.

I'm not quite sure but module is using the VMware given name which is mostly different to shown name.

Sinecerly

@Thomas-Gelf
Copy link
Contributor

It currently works with guest host names, it doesn't with VM/object-names. Both should work, so this is to be considered a bug

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

No branches or pull requests

3 participants