Skip to main content

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

  • May 21, 2022
  • 7 replies
  • 1529 views

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

  • Voyager
  • 1 reply
  • October 17, 2023

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


  • Voyager
  • 1 reply
  • 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
  • 4 replies
  • September 25, 2024

same question.


JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1770 replies
  • September 25, 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/


WallRock
Forum|alt.badge.img
  • Adventurer
  • 4 replies
  • 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
  • Vanguard
  • 1770 replies
  • September 27, 2024

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 ;)