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

Update check_vmware_hs2ds2vms plugin to support excluding VMware Mobility Platform host & associated datastore #1270

Open
atc0005 opened this issue Oct 17, 2024 · 2 comments
Assignees
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Oct 17, 2024

Overview

Whenever our VMware admins perform work to update the associated VMware Hybrid Cloud Extensions (HCX) resources service checks using the check_vmware_hs2ds2vms plugin are triggered.

This is because the service account we're using to run the plugin sees the associated datastore (ma-ds-* where * is a 36 character alphanumeric string with dashes) for the mobility agents (shown as VMware Mobility Platform model hosts) and object to the lack of a Location attribute.

I don't know if they're able to assign a Location attribute, but the workaround thus far has been for our VMware admins to remove access to the mobility agent host entries and the associated datastore.

Ideally (from the perspective of this plugin), we could provide a flag to ignore specific model hosts (or find a better attribute to key off of) along with datastores which consider the host its parent. Then whenever VMware Hybrid Cloud Extensions (HCX) resources are updated in the future those host/datastore objects will be ignored and the service check(s) will continue to function as before, evaluating based solely on Location attribute values.

References

@atc0005 atc0005 added this to the Future milestone Oct 17, 2024
@atc0005 atc0005 self-assigned this Oct 17, 2024
@atc0005
Copy link
Owner Author

atc0005 commented Oct 17, 2024

Snippet of what the vSphere web UI shows for the mobility agent host entry:

image

@atc0005
Copy link
Owner Author

atc0005 commented Oct 17, 2024

Looking at the Managed Object Browser UI:

  • Data Object Type: HostHardwareSummary
  • Parent Managed Object ID: host-XYZ (host MoRef)
  • Property Path: summary.hardware

Properties:

  • cpuModel
    • "VMware Virtual Processor"
  • model
    • `VMware Mobility Platform"
  • vendor
    • "VMware"

Any of those values may be enough to use for exclusion purposes.

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

No branches or pull requests

1 participant