dav3860 / vmbix

Fork of vmbix, a TCP proxy for querying a VMWare infrastucture with Zabbix
53 stars 19 forks source link

Counter Metricname instead of MetricInstance? #16

Open IsamuD opened 9 years ago

IsamuD commented 9 years ago

Hi David,

Would it be possible to have an option to query for a counter by METRICNAME instead of METRICINSTANCE? For example, it's a bit difficult to remember that datastore uuid "52439c56-1b8dfea7-d162-002590980c38" is "datastore-08" when viewing it in Zabbix/VCenter.

Thanks! Isamu

dav3860 commented 9 years ago

Hi, This is not trivial as the VMWare SDK only exposes instance IDs when querying a counter. Most of the time, they are human readable (vmnic1, cpu0, etc) but for datastores it shows the datastore uuid. I'll think about it when I have time. David

IsamuD commented 9 years ago

Hello David,

Thank you for looking into this.

Isamu