Skip to main content
Answer

How to Query/List Unprotected VMs?

  • June 29, 2022
  • 2 replies
  • 584 views

I need to monitor Nutanix replication and one of the metrics is not having unprotected vms.
Is there any way to list these VMs with nCLI or another command?

Best answer by JeroenTielen

Run this command on a CVM:

ncli virtualmachine list get-unprotected-cbr-vms-only=true

More information can be found here: virtualmachine: Virtual Machine

This topic has been closed for replies.

2 replies

Moustafa Hindawi
Forum|alt.badge.img+6

Hello,

ncli> virtualmachine {} [="name" ] [="id" ] [="host_id" ] [="get_unprotected_cbr_vms_only" ] [="count" ] [="pageNumnber" ] 

Required arguments

None

Optional arguments

name

Name of the Virtual Machine

id

ID of the Virtual Machine

host-id

ID of the Physical Host running Virtual Machines

get-unprotected-cbr-vms-only

Get only unprotected Virtual Machines that can participate in Nutanix Converged Backup and Recovery?

Default: false

count

Count of the Virtual Machine

pageNumnber

PageNumber of the Virtual Machine

Default: false


JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • Answer
  • July 4, 2022

Run this command on a CVM:

ncli virtualmachine list get-unprotected-cbr-vms-only=true

More information can be found here: virtualmachine: Virtual Machine