Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while creating VM with characters"(" #266

Open
respection opened this issue May 27, 2019 · 2 comments
Open

Problem while creating VM with characters"(" #266

respection opened this issue May 27, 2019 · 2 comments

Comments

@respection
Copy link

Hello,

I have installed vconnector and vpoller.

This are versions of programs:
vconnector-cli --version : 0.5.3
vpoller-worker --version: 0.7.3
python --version : Python 3.4.3

all works, but LLD can't create zabbix VMs, when the VM's name contains the characters "(" or ")".

the issue is in that vpoller operates by the names of the VMs not their UUID.
Could somebody help to change it?

The names of my VMs contains such characters because we use vCloud Director.

The other way to solve the problem is to teach Zabbix to cut the UUID from the name,
but I didn't find the way how to do it.

@jungkung6
Copy link

I have so many VMs contain space and they have this issue too.

@k05054
Copy link

k05054 commented May 6, 2022

I managed to resolve this by work with templates in zabbix5
Changed a virtual machine discovery proptotype:
1 In Host i'm providing instanceUUID
2 In HOST.NAME i'm providing desired name for the host.
3 In macroses i added a macro {$VMNAME} = {#VSPHERE.VM.NAME}
Then i changed template for VM's
In every key i changed {HOST.HOST}/{HOST.NAME} to {$VMNAME}
Hope it works for someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants