Hi Bro,
I'm using vpoller 0.6.3 to monitor my vmware environment.
Recently I found a issue.
One of my virtual machine named in Chinese.
And it can't be discovered by vpoller.
I use vpoller-client to check it manually,the following error message are displayed.
It seems the ascii code can't be supported.
Could I do something to make Chinese characters available?
Thanks
Host:~# vpoller-client --method vm.discover --vsphere-host 192.168.1.2
Traceback (most recent call last):
File "/usr/local/bin/vpoller-client", line 4, in <module>
__import__('pkg_resources').run_script('vpoller==0.6.3', 'vpoller-client')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/vpoller-0.6.3-py2.7.egg/EGG-INFO/scripts/vpoller-client", line 115, in <module>
File "/usr/local/lib/python2.7/dist-packages/vpoller-0.6.3-py2.7.egg/EGG-INFO/scripts/vpoller-client", line 112, in main
UnicodeEncodeError: 'ascii' codec can't encode characters in position 395-401: ordinal not in range(128)
Hi Bro, I'm using vpoller 0.6.3 to monitor my vmware environment. Recently I found a issue. One of my virtual machine named in Chinese. And it can't be discovered by vpoller.
I use vpoller-client to check it manually,the following error message are displayed. It seems the ascii code can't be supported. Could I do something to make Chinese characters available? Thanks