Is there a way to remove the local datastores that are on a host from the widgets? since our local datastores only have the ESXi installation I just care about our SAN datastores. Wondering if there was a way to remove them from the widgets.
Thanks.
You should be able to use search (which backs most of the widgets) to remove local datastores. For example, in the query builder, there is a property that will tell you if a datastore is local or not. Let me know what widget you are trying to create.
This is the widget:
I would like to remove the local datastores if I can.
*edit* not sure why it doesn't get shown when I post?
what is the title of the widget you're trying to restrict?
Jon
The title is "Datastore Low Free Space" I might have renamed it but it was the original Widget I believe. I really only care about the SAN volumes and would love to exlude the local volumes.
The method I found was to name each datastore something like 'hostname'-local and then use the query "-datastore.name:local".
The logic to detect local datastores has been improved in the latest service release
I would welcome feedback on whether the datastore.local attribute is now correctly identifying your local datastores.
Hi, Jon,
It appears that the the datastore.local:true argument does work in the most recent version.
Thanks!
Tom
Excellent! thanks for the feedback
I found this post again, and in my datastore widgets I want to just show SAN datastores and do not want to show any local datastores. What is the best way to do this today in 6.2?
Thanks
The datastore.local attribute is still the correct way to do this :-)