evoila / collectsphere

Collectd Plugin for VMware vSphere
MIT License
55 stars 9 forks source link

Issue with collectsphere #29

Closed phanohanover closed 6 years ago

phanohanover commented 6 years ago

Oct 18 11:16:27 prlesljmp001 collectd[8907]: configure_callback: Loaded config: name=######, host=######, port=443, verbose=True, username=######, password=**, host_metrics=3, vm_metrics=2, inventory_refresh_interval=600 Oct 18 11:16:28 prlesljmp001 collectd[8907]: create_environment: vCenter ###### does not contain any hosts. Cannot continue Oct 18 11:16:28 prlesljmp001 collectd[8907]: Initialization complete, entering read-loop. Oct 18 11:16:28 prlesljmp001 collectd[8907]: tcpconns plugin: Reading from netlink succeeded. Will use the netlink method from now on. Oct 18 11:16:28 prlesljmp001 collectd[8907]: read_callback: entering environment: ###### Oct 18 11:16:28 prlesljmp001 collectd[8907]: Unhandled python exception in read callback: TypeError: 'NoneType' object has no attribute 'getitem'

conf: TypesDB "/usr/share/collectd/vmware-types.db"

<LoadPlugin "python"> Globals true

<Plugin "python"> Import "collectsphere" <Module "collectsphere"> Name "######" Host "#######" Port "443" Verbose true VerifyCertificate false UseFriendlyName false Username "####" Password "####" Host_Counters "cpu.usage,mem.usage,disk.usage" VM_Counters "cpu.usage,mem.usage"

samceb commented 6 years ago

Check the user has priviligies. Try first with an admin user.

phanohanover commented 6 years ago

I figured out. Was trying with cluster but it wouldn't work. It works with host direct.

Thanks for this nice work!

SP

Le 25 oct. 2017 05 h 55, "samceb" notifications@github.com a écrit :

Check the user has priviligies. Try first with an admin user.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/evoila/collectsphere/issues/29#issuecomment-339278186, or mute the thread https://github.com/notifications/unsubscribe-auth/AHG4uX0q-IGfPLU10PBmii7i0V4uk_4Kks5svwWfgaJpZM4P95Vu .