Solved

How to Query/List Unprotected VMs?

  • 29 June 2022
  • 2 replies
  • 75 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?

icon

Best answer by JeroenTielen 4 July 2022, 11:36

View original

This topic has been closed for comments

2 replies

Userlevel 3
Badge +5

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

Userlevel 4
Badge +5

Run this command on a CVM:

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

More information can be found here: virtualmachine: Virtual Machine