centreon-vmware icon indicating copy to clipboard operation
centreon-vmware copied to clipboard

How to select only powered on VM with --mode=datastore-vm

Open AlainB612 opened this issue 2 years ago • 1 comments

Hello, I guess this is not a bug but I don't know how to select only VMs with 'poweredOn' state using datastore-vm mode. I tried to use the different filters (e.g. --filter-perfdata-adv="%(power_state) == 'poweredOn'") but it doesn't have any effect. I always get the status of all VMs. Is there a solution? Thanks for your help. Alain

AlainB612 avatar Jun 07 '22 05:06 AlainB612