Skip to main content

How to collect VM MAC address and vLAN details for multiple VMs


Forum|alt.badge.img

Is there anyway to collect multiple VM’s mac address and vLAN & IP details through prism central.

This topic has been closed for replies.

7 replies

I’m having the same question. Any replys yet?


  • Voyager
  • February 8, 2024

Same…. this information should be on the VM view list in both element and central


Moustafa Hindawi
Forum|alt.badge.img+6

Hello @rajkamal792 

From PC reporting, create an custom report (data table), entity VM, and select all the info that you need to be appeared. 


WallRock
Forum|alt.badge.img
  • Adventurer
  • September 25, 2024

same question.


JeroenTielen
Forum|alt.badge.img+8

You can do this with ssh into a cvm and run some commands. Hereby a link to a guide showing howto create  rhat kind of scripts: https://www.jeroentielen.nl/nutanix-ssh-scripts/


WallRock
Forum|alt.badge.img
  • Adventurer
  • September 27, 2024

You can do this with ssh into a cvm and run some commands. Hereby a link to a guide showing howto create  rhat kind of scripts: https://www.jeroentielen.nl/nutanix-ssh-scripts/

Thank you very much, sir.

 

JeroenTielen
Forum|alt.badge.img+8

Here is the oneliner: for vm_name in `acli vm.list | awk '{print $1}'`; do acli vm.nic_list $vm_name; done

 

But if you have spaces in the vm names then the script will give strange outputs ;)