Unique VM identifier - UUID in NetBox

231 views
Skip to first unread message

Vyacheslav Zaletny

unread,
Aug 22, 2018, 1:56:50 AM8/22/18
to NetBox
Hello guys!

We have a lot of VM are running on VMware vSphere Platform.
There are huge CRUD operations on a daily basis.
How can I synchronize all changes made on vSphere to NetBox?
I know about custom fields for storing VMware VM UUID, but that is not convenient to operate.
Is there any way to store VM UUID in NetBox database? 

Any suggestions are appreciated.

Thakns.  

Brian Candler

unread,
Aug 22, 2018, 3:59:07 AM8/22/18
to NetBox
I think you answered your own question: Netbox doesn't have a UUID field for VMs, so you need to use a custom field.  Or I suppose you could store the UUID as the VM name.

If you want to make a feature request for storing the VM UUID as a core field, you can do so on github.

Vyacheslav Zaletny

unread,
Aug 22, 2018, 8:54:13 AM8/22/18
to NetBox
OK, thank you so much.

Joseph Wegner

unread,
Aug 22, 2018, 5:32:44 PM8/22/18
to NetBox
If you are referring to the VMware synchronization script that I made, you have to make a custom field on the Netbox VM object (I called it vcenter_persistent_id). This is custom and has nothing to do with Netbox's native data model (aside from using the ability to make custom fields).

Vyacheslav Zaletny

unread,
Aug 23, 2018, 10:39:44 PM8/23/18
to NetBox
Thanks for comment and script, that looks as good solution!
Reply all
Reply to author
Forward
0 new messages