Releases: equelin/vsanmetrics
Releases · equelin/vsanmetrics
0.6.0
0.5.0
Improvements
Cache
The script will try to maintain an inventory of the vSAN infrastructure in a cache. There are two major benefits:
- Reducing the global execution time of the script for larger environment
- Avoid errors when a host is disconnected while the script is executing
By default cache validity duration is 60 minutes. You can choose your own duration with the parameter --cacheTTL
. Cache files are stored where the script is executed, you can modify this behavior with parameter --cachefolder
.
% ./vsanmetrics.py -s vcenter.example.com -u administrator@vsphere.local -p MyAwesomePassword -c VSAN-CLUSTER --performance --cacheTTL 300 --cachefolder /tmp
Miscellaneous
- Refactor function gathering hosts and disks informations
0.4.0
0.3.0
New Features
- Added
--health
parameter to output the vSAN's cluster health status
Output example
health_cluster,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=2 1533804205673686016
health_hcl,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=1 1533804205673686016
health_cloudhealth,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=1 1533804205673686016
health_network,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_physicaldisks,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_data,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_stretchedcluster,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_limits,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_perfsvc,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
health_vum,cluster=vSAN-2-nodes,vcenter=eqn-vcenter65-1.lab.nantes health=0 1533804205673686016
Grafana dashboard example
Bug Fixes
- Cleaned up code to be more PEP8 compliant...