Closed Nornode closed 6 years ago
Hello, do you have a vCenter? The plugin works only with vSphere vCenter SDK, not with ESXi, so you need vCenter. Thank you for trying it !
I am building one using SNMP, which works with all versions, but not yet quite ready.
Hi, no, unfortunately, I don't! - I only have the free version running at home?! Do you know if it's possible to add in the SDK without a vCentre licence? If not, I'll eagerly await your SNMP solution! - Let me know if you want a beta tester! Thanks!
Hi, I just tested the same setup with my home server. (ESXi 6.5 single host ESXi without vCenter) I can poll almost all of the metrics but have the same issue like described from the initial post "A specified parameter was not correct: entity". Which spams the telegraf service log.
Since it would be hard to reinvent the wheel using snmp as well as to keep the compatibility to the existing predefined grafana dashboards it would be much better to have an option to choose single host esxi or vcenter setup. I'm not familiar with programming 'go' or plugins for telegraf but wouldn't it be an easy extension of the code to add this ability?
@robot22: can you please share your config as I wasn't able to poll mine... (esxi 6.7)
I have the same issue as OP; Oddly enough it appeared to collect metrics for about 30 minutes then it broke. Any ideas?
anyone managed to collect data form single esxi instead of vcenter? i dont have vcenter either and keep getting the error Error: ServerFaultCode: A specified parameter was not correct: entity
Hello Yuri, This specific telegraf plugin requires vcenter SDK for now, I am working on an standalone version using SNMP, but it will take me some time.
Best regards
I would love to see a plugin for a single ESXi instance :-)
@jorgedlcruz, Could you please let us know if you completed the standalone version using SNMP with out having vCenter to monitor getting esxi matrices.
Any progress on this work?
@robot22: can you please share your config as I wasn't able to poll mine... (esxi 6.7)
Hi Nornode, sorry I have not seen your message till now :-/ . In my current confiugration I put in the credentials of my esxi single host like this:
vcenters = [ "https://server-address/sdk" ] username = "readonly" password = "xxx"
Then I've excluded the VM metrics (because I'll poll them just from the VM directly) vm_metric_exclude = [ "*" ]
For monitoring the host itself I configured the few values I'm intrested in. host_metric_include = [ "cpu.usage.average","mem.usage.average","sys.uptime.latest" ]
Since it's long time ago I confiugred it i'm not sure anymore what other values I've tested. Since I'm doing passthough of my onboard sata controller which was not working for me on 6.7 I do not have experience with other versions.
I would guess that you found another solution in the meantime but maybe this helps others. :)
Best regards
Hi, Tried to implement the template telegraf.conf (Added InfluxDB as output) unfortunately my telegraf gives me following errors:
The database has information about VM names e.al. but no performance metrics. Could you support with an idea of where things are going wrong?
Environment: HPE Proliant Microserver Gen8, Vmware ESXi 6.7.0 (Build 8169922) Custom HPE build (free version) Telegraf & InfluxDB running in a docker on the ESXi host.
telegraf.conf: