Python Module for VMware Cloud Foundation Health Monitoring in vRealize Operations
Project description
Python Module for VMware Cloud Foundation Health Monitoring in vRealize Operations
Table of Contents
Introduction
This content supports the Health Reporting and Monitoring for VMware Cloud Foundation validated solution which enables the user to monitor the operational state of your VMware Cloud Foundation environment through custom dashboards, alerts, and notifications. These custom dashboards are intended to serve as an extension to native vRealize Operations dashboards and dashboards that are enabled using the respective management packs.
Requirements
Platforms
- VMware Cloud Foundation 5.0
- VMware Cloud Foundation 4.5
- VMware Cloud Foundation 4.4
Operating Systems
- Microsoft Windows Server 2019 and 2022
- VMware Photon OS 3.0 and 4.0
Python Version
Follow the Python Beginners Guide to download and install Python.
Python Libraries
Install requried Python libraries by running the following commands on the host virtual machine:
pip install requests
pip install setuptools
pip install paramiko
pip install maskpass==0.3.1
PowerShell Editions and Versions
- Microsoft Windows PowerShell 5.1
- PowerShell Core 7.2.0 or later
PowerShell Modules
- PowerShell Module for VMware Cloud Foundation Reporting - latest version
Implementation
Follow the Implementation of Health Reporting and Monitoring for VMware Cloud Foundation from Health Reporting and Monitoring for VMware Cloud Foundation
vRealize Operations Dashboards Preview
-
VCF Health Rollup
-
VCF Backup Health
-
VCF Certificate Health
-
VCF Compute Health
-
VCF Connectivity Health
-
VCF DNS Health
-
VCF Hardware Compatibility
-
VCF Networking Health
-
VCF NTP Health
-
VCF Password Health
-
VCF SDDC Manager and vCenter Services Health
-
VCF Snapshot Health
-
VCF Storage Health
-
VCF vSAN Health
Known Issues
-
Please make sure that your NSX-T account name is configured as mentioned in this issue.
-
The vCenter Server name needs to be updated in VMware Cloud Foundation 4.4.x. The filters on the vRealize Operations dashboards depend on the name.
To set the Product Name for the vCenter Server, follow the below steps:
- Log in to the management domain vCenter Server at
https://<management_vcenter_server_fqdn>/ui
asadministrator@vsphere.local
. - In the
VMs and templates
inventory, expand themanagement domain vCenter Server
tree and expand the management domain data center. - Select the first
management domain vCenter Server virtual machine
and selectConfigure
tab. - In the
Settings
pane selectvApp Options
. - Click the
Edit
button. TheEdit vApp Options
dialog box opens. - If vApp options are disabled, select the
Enable vApp options
check box and clickOK
. - Click the
Details
tab and enterVMware vCenter Server Appliance
as product name in theName
field.
- Log in to the management domain vCenter Server at
-
Shades of red, green, and yellow may vary on vRealize Operations widgets
Shades of red, green, and yellow may be different in different widgets but they represent the same thing. Ignore the shades as this is a vRealize Operations product limitation.
Support
This Python module is not supported by VMware Support Services.
We welcome you to use the GitHub Issues to report bugs or suggest enhancements.
In order to have a good experience with our community, we recommend that you read the contributing guidelines.
When filing an issue, please check existing open, or recently closed, issues to make sure someone else hasn't already reported the issue.
Please try to include as much information as you can. Details like these are incredibly useful:
- A reproducible test case or series of steps.
- Any modifications you've made relevant to the bug.
- Anything unusual about your environment or deployment.
License
Copyright 2023 VMware, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vmware-cloud-foundation-health-monitoring-1.2.0.1002.tar.gz
.
File metadata
- Download URL: vmware-cloud-foundation-health-monitoring-1.2.0.1002.tar.gz
- Upload date:
- Size: 92.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c3c385a7070efff9c699d66923d64ef989b92e32da47ca15cfad0c25375f58 |
|
MD5 | c42e134b5d3b2556e2707d4aed76b00b |
|
BLAKE2b-256 | 1423658608eede6a8eb3f67503230a5bae43687df1dfa086aac12486ed987790 |
File details
Details for the file vmware_cloud_foundation_health_monitoring-1.2.0.1002-py3-none-any.whl
.
File metadata
- Download URL: vmware_cloud_foundation_health_monitoring-1.2.0.1002-py3-none-any.whl
- Upload date:
- Size: 92.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e49bb0503f91c2f61855378562b0260e8d83da663502e14b26ccd8843dccd8 |
|
MD5 | ce272928d8f5d0d8fab67af10b56441c |
|
BLAKE2b-256 | c660baa1b4256eafa39f52edb681baf2b99273b7f4bbbbd39c102b0393883d44 |