Skip to content

Releases: equelin/vsanmetrics

0.6.0

05 Mar 14:19
Compare
Choose a tag to compare

Improvements

  • Add support to Python 3
  • Add tag hostname to serie disk-group

Issues

  • Correct issue for iSCSI LUN and targets mesurements

0.5.0

15 Oct 13:08
9a20df2
Compare
Choose a tag to compare

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

07 Sep 09:41
bdf7d16
Compare
Choose a tag to compare

Improvement

  • Refactored code to add multithreading for performance enhancement. Particularly useful for big vSAN clusters.

0.3.0

09 Aug 13:13
601a65a
Compare
Choose a tag to compare

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

image

Bug Fixes

  • Cleaned up code to be more PEP8 compliant...

0.2.2

30 Jul 14:21
9008d00
Compare
Choose a tag to compare
  • Fixed issue when a vCenter is managing multiple clusters / hosts that are not part of the vSAN cluster

0.2.1

27 Jul 15:22
1d4f22e
Compare
Choose a tag to compare
  • Fixed issue with stretched clusters

0.2.0

01 Jun 21:56
af84534
Compare
Choose a tag to compare
  • Added hostname tag for disk-capacity and disk-cache entities
  • Added ratio field in the capacity_efficientcapacity measurement

0.1.1

07 May 11:45
3e9a25b
Compare
Choose a tag to compare
Corrected issue when dealing with a witness host

0.1.0

06 May 13:25
1e030c2
Compare
Choose a tag to compare

First Release!