dnaeon / py-vpoller

Distributed vSphere API Proxy
Other
84 stars 31 forks source link

zabbix-vsphere-import.yaml script stop on error ERROR - vPoller task failed: {u'msg': u'Cannot collect properties: ', u'success': 1} #195

Closed netscaper71 closed 8 years ago

netscaper71 commented 8 years ago

Hi, zabbix-vsphere-import.yaml script stop on error ERROR - vPoller task failed: {u'msg': u'Cannot collect properties: ', u'success': 1} when importing VM's. We have 3 scripts two is working and third not. Third script is for largest vcenter about 1300 vm's. I think that is because he can't collect properties of VM but I can't understand what properties and what VM this is. Are some logs of this process? Where can I look what vm or what properties script cannot read?

Thank You!

dnaeon commented 8 years ago

Check the vPoller logs and increase the log level.

netscaper71 commented 8 years ago

Thank You for the response, but can you exact say what log file we need investigate? /var/log/vpoller.vpoller-worker.log ? What we get of increasing log size?

dnaeon commented 8 years ago

@netscaper71, yes the vpoller-worker.log should give you more information about the requests which are failing.

If you increase the log level (not the size) to debug, you should get a better idea of what's actually failing.

netscaper71 commented 8 years ago

hi, we found a problem, our vm's has custom symbols for example ąčęėįšųūž possible without changing names import them?

dnaeon commented 8 years ago

Not really sure. I think you should fix the VM names first, because even if vPoller manages to collect their properties, you will have issues later on with Zabbix, which will not allow you to set these symbols as part of the machine name in Zabbix.

netscaper71 commented 8 years ago

thank You