Skip to content
Zoos GlobalZoos GlobalZoos EngineeringHub

vsphere_config_generator

README documentation for vsphere_config_generator

stableRepositoryPythonprivate
2 min readUpdated Jul 24, 2026@platform-teamPlatform Engineering
Edit source

Source: ZoosGlobal/vsphere_config_generator Visibility: Private This page is automatically synchronized from the repository README. Do not edit this generated file directly.


VMware Logo     Datadog Logo

Automated YAML Generation for VMware vSphere Monitoring

Excel Inventory β†’ Python Automation β†’ Datadog YAML β†’ Multi-Region Observability

Powered by Zoos Global | Datadog Integration Framework


The vSphere Config Generator automates the creation of Datadog vSphere YAML configurations from a structured Excel inventory.

Designed for enterprise-scale VMware environments, it enables:

  • Consistent configuration across regions
  • Automated credential mapping
  • Scalable Datadog integrations

  • βœ… One YAML per Collector Region
  • βœ… Realtime + Historical metric separation
  • βœ… 30+ vSphere events pre-configured
  • βœ… Case-insensitive credential mapping
  • βœ… Automatic tag normalization (lowercase)
  • βœ… Readonly fallback for missing credentials
  • βœ… Custom tags from Excel
  • βœ… Production-ready defaults

Excel Inventory
↓
Python Script
↓
Region-wise Processing
↓
YAML Config Generation
↓
Datadog Agent Deployment
↓
Metrics β€’ Events β€’ Dashboards

vsphere_config_generator/
β”‚
β”œβ”€β”€ vsphere_config_generator.py
β”œβ”€β”€ vsphere_inventory_template.xlsx
β”‚
β”œβ”€β”€ vsphere_configs/
β”‚ β”œβ”€β”€ aws_mumbai_vsphere.yaml
β”‚ β”œβ”€β”€ aws_singapore_vsphere.yaml
β”‚ β”œβ”€β”€ aws_us_east_vsphere.yaml
β”‚ └── aws_eu_west_vsphere.yaml
β”‚
└── README.md

Column Required Description
Collector Region βœ… YAML grouping
Device βœ… vCenter FQDN
IP / FQDN βœ… vCenter IP
Requested For βœ… Credential mapping
Operating Region βœ… Tag value
Tags (key=val,…) βž– Extra tags

CREDS_BY_REQUESTED_FOR = {
"business": ("[email protected]", "******"),
"enterprise": ("[email protected]", "******"),
"operations": ("[email protected]", "******"),
}

Fallback:


Terminal window
pip install openpyxl
python3 vsphere_config_generator.py

Output:

./vsphere_configs/

  • vcenter_ip
  • vcenter_name
  • operating_region
  • requested_for
  • Custom tags from Excel

Terminal window
cp vsphere_configs/<region>.yaml /etc/datadog-agent/conf.d/vsphere.d/conf.yaml
sudo systemctl restart datadog-agent

No credential match β€” using fallback

βœ” Fix: Ensure Requested For column is filled.


  • Python β‰₯ 3.8
  • openpyxl β‰₯ 3.0

  • Use a secrets manager
  • Avoid committing credentials
  • Validate Excel before execution

βœ… ENTERPRISE READY β€” MULTI-REGION AUTOMATION
VMware β†’ YAML β†’ Datadog β†’ Observability πŸš€

Engineering Scalable Observability Solutions


Version: 1.0.0 Last Updated: 2026