Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

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

Open
AlainB612 opened this issue Jun 7, 2022 · 1 comment
Open

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

AlainB612 opened this issue Jun 7, 2022 · 1 comment

Comments

@AlainB612
Copy link

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 AlainB612 changed the title How to select only powerd on VM with --mode=datastore-vm How to select only powered on VM with --mode=datastore-vm Jun 7, 2022
@Sims24
Copy link
Contributor

Sims24 commented Jul 28, 2022

Hi @AlainB612

Could you open this here please?

We will add it as we don't implement such filter at the moment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants